Viewing 4 replies - 1 through 4 (of 4 total)
  • Purab

    (@wordpressapi)

    you should use following code.

    function mytext($content)
    {
        return "The addtional content goes here: ".$content;
    }
     add_filter('the_content', 'mytext');

    If you still facing the issue then write to me at [email address removed]

    Thread Starter TechboyUK

    (@techboyuk)

    Thank you, I shall try that ??

    Thread Starter TechboyUK

    (@techboyuk)

    I have tried that code, but it doesn’t display anything when I create a new post.

    Do you know what might be wrong?

    I have also e-mailed you.

    Thanks.

    thank you guys.. nice info.. ??

    dont miss.. malaysia vs indonesia free live stream

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code to include default text inside every new blog post’ is closed to new replies.