Documentation WordPress Action Reference Define an action Trigger running of an action
Category: Actions
Category/archive page actions
The archive page is shown when a category is selected and typically has excerpts of each post in that category Category page hook Doesn’t work? Maybe your theme has overridden the default WordPress category pages with its own custom category page? Theme hooks Look in your theme’s archive.php (or category.php) file – does it have […]
Page content actions
Single page hook
Post content actions
Single post hook
pre_get_posts
This hook fires for pretty much everything WordPress does, every time anythign is displayed there is a search of some sort going on. You can use it to alter the results the search returns. The $Query object class The $Query object that is passed to the hook shouldn’t be altered, but can be used to […]
Useful actions – In page
See the child themes section here.
Useful hooks – High level
Page load In Header area Just after body tag In Footer area