'the_content', only in the 'post' page
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.
- The topic ‘'the_content', only in the 'post' page’ is closed to new replies.