I was trying to customize the shop page (adding widget area to the page). Is there any way or plugin to help me do so? I created a page-shop.php...
I’m writing a custom post type plugin. Part of it I’m outputting to the template via shortcodes. But other parts need a custom post template, and I figured out...
From 4.3 we have a new template, singular.php. I tried to understand what is it, but I didn’t get it. 🙂 The page.php for pages. The single.php for every...
My favorite part of the WordPress template hierarchy is the ability to quickly create template files for pages by slug, without having to edit the page in WordPress to...
When a 404 error is encountered, a 404.php template file can be used to render a custom error message. This is documented in the Template Hierarchy article. My aim...
I’m really confused with index.php, home.php and front-page.php. In many cases even though I had an index.php, I overwrite it with front-page.php. But recently, I became aware about home.php....