1.

How do you create a page template?

Answer»

We can CREATE templates for various purpose like if we want to make a DIFFERENT layout rather than a home page or if we want to display custom posts types like news than we can create a TEMPLATE and merely display all news there.

Steps to create template in wordpress themes.
  • Create a news.php file on ROOT in theme folder.
  • Insert get_header(); and get_footer(); in news.php page
  • Add in top of this created page. Now this template NAME is "News Template".


Discussion

No Comment Found