WordPress.org

Support

Support » Plugins and Hacks » Hacks » 'the_content', only in the 'post' page

'the_content', only in the 'post' page

  • parsa28
    Member

    @parsa28

    Hi there, I intend my plugin to add a piece of code to the end a post only if it’s in the single-post page. Not in the home page where a list of posts appear. Using ‘the_content’ filter, adds the code to the end of the post wherever the post is shown. How do I achieve that ?

    Thanks a lot for your time.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘'the_content', only in the 'post' page’ is closed to new replies.