how do I call a plugin when 'new posts' is clicked but not when a search is performed
When a user goes to 'new posts' I want a plugin to execute when the new posts results are displayed. (The plugin displays some php generated text.)
But I don't want it to execute when the user performs a search and gets the results.
I see that the template 'search_resultlist' is used for new posts and search results.
I can call the plugin on this template but I don't know how to display it for only 'new posts'.
Is this possible and how can I do it?
|