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 © '.date('Y').' '.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. Don’t hesitate to contact me to get a quote for your new project!
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!