badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Custom Page Template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12082
    Kelsey
    Member

    I have setup custom fields that are dependent upon the category of my pages. I would like to build a custom template to display these custom fields using: <?php the_meta(); ?>. Which page template is the “default” option to use as a start? Then, where should I put : <?php the_meta(); ?> in the template if I want the custom fields to show immediately after the page title? Then, what should I call the new template file so that wordpress recognizes it as a new template?

    I tried this a few times, and I can’t even get wordpress to recognize the new template file!

    #12086

    Hi kelsey,

    To create a template file you need to create a new php file. Just have a link throught it.
    All the template page and other pages are controlled from theme folder -> library -> structure -> content-extension.php
    http://codex.wordpress.org/Page_Templates

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.