• Hello!
    I’d like to add my own text and image in all my published post,
    i want to change php – the_content( ) , but i dont know where i can find it.
    please help.

Viewing 1 replies (of 1 total)
  • Hi,

    you need to hook your own function to modify the output of the_content. see the code below for example.

    add_filter(  'the_content', 'your_the_content' );
    
    function your_the_content( $content ) {
     return $content . "<br/>" . "add your text here";
    }

    I hope this will help!!

Viewing 1 replies (of 1 total)
  • The topic ‘Where to change the_content( ) ?’ is closed to new replies.