BLOG

See what we're whipping up!

function wpdev_before_after($content) {
    $beforecontent = 'This goes before the content. Isn\'t that awesome!';
    $aftercontent = 'And this will come after, so that you can remind them of something, like following you on Facebook for instance.';
    $fullcontent = $beforecontent . $content . $aftercontent;
    
    return $fullcontent;
}
add_filter('the_content', 'wpdev_before_after');

No comments yet