Differentiate between posts and pages
-
I have created a plug-in that is activated in the loop using
add_action('loop_start', 'tj_site_news');
. This displays the plug-in on every page and post. Is there a way I can show just in the posts and not in the pages?
- The topic ‘Differentiate between posts and pages’ is closed to new replies.