<?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; functions.php</title> <atom:link href="http://www.sandboxdev.com/tag/functionsphp/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>Easily Add Page Excerpts in WordPress</title><link>http://www.sandboxdev.com/2011/08/09/easily-add-page-excerpts-in-wordpress/</link> <comments>http://www.sandboxdev.com/2011/08/09/easily-add-page-excerpts-in-wordpress/#comments</comments> <pubDate>Tue, 09 Aug 2011 14:40:53 +0000</pubDate> <dc:creator>Jennifer Zelazny</dc:creator> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[add_post_type_support]]></category> <category><![CDATA[functions.php]]></category> <category><![CDATA[the_excerpt]]></category> <guid
isPermaLink="false">http://www.sandboxdev.com/?p=1419</guid> <description><![CDATA[Ever need to add an excerpt field for WordPress when working with pages? There is an easy, one line way to do this (no plugin needed). Simply add this to your theme&#8217;s functions.php file: Once you have that in place &#8211; you can then use the WordPress the_excerpt() function to show the excerpt within the [...]]]></description> <content:encoded><![CDATA[<p>Ever need to add an excerpt field for WordPress when working with pages?  There is an easy, one line way to do this (no plugin needed).  Simply add this to your theme&#8217;s functions.php file:</p><pre class="brush: php; title: Custom Code; notranslate">
add_post_type_support( 'page', 'excerpt' );
</pre><p>Once you have that in place &#8211; you can then use the WordPress the_excerpt() function to show the excerpt within the theme.</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/2011/08/09/easily-add-page-excerpts-in-wordpress/feed/</wfw:commentRss> <slash:comments>1</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>
