I have a need to be able to generate fake/virtual/dynamic pages based on a url […]
Tag: templates
single-{$post_type}-{slug}.php for custom post types
My favorite part of the WordPress template hierarchy is the ability to quickly create template […]
Is there a way I can put my post templates in a separate folder?
I have some custom post/page template files I would like to keep better organized by […]
Specialized template for subpages?
If I have a page named ‘events’ (of which the specialized template will be named […]
I need template for my custom taxonomy term
I created a custom taxonomy slug is ‘event_type’ and created terms like social, educational and […]
Getting pages filtered by template assigned
I want to retrieve pages with determinate template assigned. Function get_pages() hasn´t any parameter to […]
Sharing templates with the JSON API?
Is there any way to share ‘templates’ between JS and WordPress? For instance, this sort […]
Creating new templates in child themes breaks layout
I am learning how to create new templates in WP. I am using a child […]
WordPress ignoring specified template for front page. Why?
I’m using the Roots theme which with custom css. I’m using the page “Home” as […]
Get Template Name automatically like WordPress Does
I have used WordPress for sometime. One feature I really like is when you create […]
No More Posts Available.
No more pages to load.