WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Call the_content Without Applied Filter/Plugins? (4 posts)

  1. chaseman
    Member
    Posted 3 years ago #

    How can I do a the_content call without the applied plugins and filter, e.g. social media buttons etc. ?

    I'd like to just have the plain text of the page and have the additional plugins applied to the content left out.

    How can I do that?

    Thanks.

  2. Mark / t31os
    Moderator
    Posted 3 years ago #

    Have you tried get_the_content ?

    http://codex.wordpress.org/Function_Reference/get_the_content
    Function in source
    http://core.trac.wordpress.org/browser/tags/3.1.1/wp-includes/post-template.php#L157

    Beyond that, if you want the content raw, then you might use $post->post_content...

  3. chaseman
    Member
    Posted 3 years ago #

    Thank you a lot, I tried get_the_content, but I got a blank space because I totally forgot to put the echo in front of it, I just did that and now it's working great. Thanks!

  4. Mark / t31os
    Moderator
    Posted 3 years ago #

    You're welcome.. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.