template name - Display template name in WP admin bar

Display template name in WP admin bar

Figuring out templates that are being used while you are building and developing a custom WordPress website can be problematic. Using the following snippets you can quickly and easily display template name or full path to the file in your wp-admin bar. Display Template name To display just template name add the following to functions.php … Read more

How to create a Custom Single Post Template - 💡 How to create a Custom WordPress Single Post Template

💡 How to create a Custom WordPress Single Post Template

Before we get to the technical stuff, I highly recommend creating a Child theme first prior to any changes. Step 1. Open up your theme’s folder and copy single.php file to something different like awesome-custom-template.php That’s it! Congrats, you’ve just created your very first custom WordPress single post template, now it’s time to modify it as you … Read more