WordPress tip: Insert custom content after each post




You just have to paste the following code into your functions.php and save the file. Once done, custom content will be inserted below each of your posts. function add_post_content($content) { if(!is_feed() && !is_home()) { $content .= '<p>This article is copyright &copy; '.date('Y').'&nbsp;'.bloginfo('name').'</p>'; } return $content; } add_filter('the_content', 'add_post_content'); Thanks to Jeff Starr for the great snippet! By the way, if you need any kind of WordPress help I’m happy to inform you that I’m starting to work freelance.

Direct Link


Buy & Sell Flash Files – Flash Marketplace

Your Ad Here

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>