[wp-hackers] filtering archive headings

J.D. Grimes jdg at codesymphony.co
Fri Sep 20 18:42:15 UTC 2013

> does a filter exist that I can hook into before the while loop is ran, so
> after the if found posts, i saw a post somewhere the filter, but i didnt
> bookmark it.
> curious if i can hook into a function to display it via functions.php
> instead of the category.php, archive.php etc

It sounds like you are trying to override the template being used. You might want to consider creating your own template and then hooking into 'template_include' to conditionally override the default templates. See http://stackoverflow.com/questions/13997743/make-plugin-override-template

More information about the wp-hackers mailing list