What's the best way to customize a single page in Customizr?
-
One page I have, page-custom.php, will need a custom header and will run custom php in the content area based on query strings. I use a child theme to make sure updates are pretty seemless (currently on 3.0.5).
Is there a way to change what (add/do)actions occur for a single custom page? Would I have to create an entire custom loop for that? It looks like the
do_action( '__page' )
in class-content-page.php is what i’d like to override, but it’s buried under 2-3 other classes up the chain.As an alternative,I could also roll this into a shortcode, but I’m still curious if it can be done the first way.
Sorry if this turns out to be a general wordpress question.
- The topic ‘What's the best way to customize a single page in Customizr?’ is closed to new replies.