dirtymint Posted November 26, 2014 Share Posted November 26, 2014 Hey guys, Wordpress has the ability to recognize a custom page and make it available to select it and use when you are logged in in the pages section of the admin ui. To make it work you add this: <?php /* * Template Name: My Custom Page * Description: A Page Template with a darker design. */ // Code to display Page goes here... My question is how does wordpress scan and find these files and then show them in a drop down menu on the pages tab of the admin? Is it done with regular expressions? Many thanks for any help! Quote Link to comment https://forums.phpfreaks.com/topic/292727-how-do-wordpress-custom-page-template-work/ Share on other sites More sharing options...
brook02 Posted December 1, 2014 Share Posted December 1, 2014 Last time, I got my website from arm InfoTech web Development Company. Until now, I don’t create website based on word press. But, you provide how can create custom page website using word press. I similar your nice work. But, some people said don’t create website based on word press. Because there is can’t looking security to our site. Is really or not? Quote Link to comment https://forums.phpfreaks.com/topic/292727-how-do-wordpress-custom-page-template-work/#findComment-1498177 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.