This seems like a very simple question. I’m looking for something like sub-page.php or page-child.php where I can do some different things on the child pages of my theme....
I am trying to load content using PJAX (basically AJAX with history). So far I have managed to catch PJAX requests and load the correct content. My problem is...
I investigated WordPress hierarchy and have created a php file called category-image-gallery.php the link to this is http://www.phoneographer.org/category/image-gallery/ having uploaded it and added it to my custom menu. I...
After answering this question I wondered if it is possible to manipulate the dropdown list of possible page templates that’s available when you edit a page. WordPress derives this...
I have the CPT “event”. I have created single-event.php. I want one particular event to use a different template than single-event. I read elsewhere that this could be done...
I’m using the Default Post Type post for various purposes. To sort them I’m using different categories. And I’m designing different category layout using the slug preference, like: category-book.php,...
I am working on a site for a client who has a theme built for them by a different developer. They have asked me to make some changes to...
(By “Page Template,” I mean a theme file with the “Template Name” header that can be selected in the “Template” dropdown field on the page admin.) In multiple instances,...
I’m developing a Custom Post Type plugin, which works fine in dev. Now that I’ve moved it to production, I’m getting a 404 when I try to display the...
I just upgraded from 4.2 to 4.4 and now my taxonomy query returns empty. It has been working fine prior to the upgrade. I have registered a custom taxonomy...