<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>SDAC Inc &#124; Chicagoland Web Development &#187; WordPress Logic</title> <atom:link href="http://www.sandboxdev.com/tag/wordpress-logic/feed/" rel="self" type="application/rss+xml" /><link>http://www.sandboxdev.com</link> <description>Just another Sandbox Development and Consulting Inc. Sites site</description> <lastBuildDate>Wed, 25 Jan 2012 07:57:33 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Show Only Category (Not Subcategory) Content</title><link>http://www.sandboxdev.com/2008/06/17/show-only-category-not-subcategory-content/</link> <comments>http://www.sandboxdev.com/2008/06/17/show-only-category-not-subcategory-content/#comments</comments> <pubDate>Tue, 17 Jun 2008 13:12:24 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress Logic]]></category> <category><![CDATA[category]]></category> <category><![CDATA[conditional]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/?p=210</guid> <description><![CDATA[If you ever wanted to only show the content of the category you were on in the category view of WordPress (instead of the category you are on plus all of it&#8217;s subcategories &#8211; you can easily do so by adding the code below to the template that is used to show your category content [...]]]></description> <content:encoded><![CDATA[<p>If you ever wanted to only show the content of the category you were on in the category view of WordPress (instead of the category you are on plus all  of it&#8217;s subcategories &#8211; you can easily do so by adding the code below to <a
href="http://codex.wordpress.org/Template_Hierarchy">the template that is used to show your category content</a></p><p>You would start your loop with this:</p><pre class="brush: php; title: Custom Code; notranslate"> </pre><p>Put your title, content functions here</p><p>and where you normally see the  call, put  to close the additional (in_category) if statement.</p><p>This code gets the current category and then only displays categories that are in that category (not sub category)</p> <script type="text/javascript">sdac_post_slideshows.push({fx: 'fade', timeout: 0, speed: 1000, pause: 0,})</script>]]></content:encoded> <wfw:commentRss>http://www.sandboxdev.com/2008/06/17/show-only-category-not-subcategory-content/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Remove &#8220;Private:&#8221; From WordPress Titles</title><link>http://www.sandboxdev.com/2008/01/14/remove-private-from-wordpress-titles/</link> <comments>http://www.sandboxdev.com/2008/01/14/remove-private-from-wordpress-titles/#comments</comments> <pubDate>Mon, 14 Jan 2008 18:09:00 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress Logic]]></category> <category><![CDATA[functions.php]]></category> <category><![CDATA[WordPress function]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/blog/wordpress/2008/01/14/remove-private-from-wordpress-titles.php</guid> <description><![CDATA[I needed to be able filter out the text &#8220;Private:&#8221; for posts and pages that were password protected but did not want to edit any core WordPress files. To filter out that text, I added the following code into my functions.php file (within my theme directory): (I also posted this filter in the WordPress Support [...]]]></description> <content:encoded><![CDATA[<p>I needed to be able filter out the text &#8220;Private:&#8221; for posts and pages that were password protected but did not want to edit any core WordPress files. To filter out that text, I added the following code into my functions.php file (within my theme directory):</p><pre class="brush: php; title: Custom Code; notranslate">
function remove_private_prefix($title) {
$title = str_replace(
'Private:',
'',
$title);
return $title;
}
add_filter('the_title','remove_private_prefix');
</pre><p>(I also posted <a
href="http://wordpress.org/support/topic/116985">this filter</a> in the WordPress Support Forum)</p> <script type="text/javascript">sdac_post_slideshows.push({fx: 'fade', timeout: 0, speed: 1000, pause: 0,})</script>]]></content:encoded> <wfw:commentRss>http://www.sandboxdev.com/2008/01/14/remove-private-from-wordpress-titles/feed/</wfw:commentRss> <slash:comments>41</slash:comments> </item> </channel> </rss>
