How to add text after the content on every page

I you want to add after the_content any text, you need add code in your functions.php:

function arkadiuszbartnik_com_add_after_content($content) {
    return $content."After_content_text";
}
add_filter("the_content","arkadiuszbartnik_com_add_after_content",10,1);

Leave a Reply

Your email address will not be published. Required fields are marked *