How To Create Custom page.php For WordPress Theme Page Template

  

How to create a custom page for your WordPress Theme? Here is an example:

    page-{slug}.php – If the page slug is recent-news, WordPress will look to use page-recent-news.php

Confused? Follow these steps:

1. Download the your wordpress theme’s page.php
2. Make necessary changes to page.php
3. rename it according to your URL slug, screenshot below
4. Upload and you’re done.

For a complete detail on template hierarchy, visit WordPress Codex.

How To Create Custom page.php For WordPress Theme Page Template

How To Create Custom page.php For WordPress Theme Page Template

Next Part:  Create Your Own WordPress Theme Design With Artisteer





Author: . This entry is filed under Tutorials and was updated on .



 



Top 5 Similar Articles:

Wordpress Cloud Tags:

  • artisteer php
  • wordpress themes codex
  • php for wordpress

Leave a Comment