Home>Support>How to use Page Attributes > Templates..

How to use Page Attributes > Templates..

By breathee, 7 years ago. Last reply by breathee, 7 years ago.

How do I use the Page Attributes > Templates > Default Template | Grid Post?

More specifcially are these page templates that are picked up automatically in the north theme folder. For example I have custom post type name Portfolio and in the north theme folder portfolio-single.php, or simple about.php thinking this would show up in the drop down list. But it didn’t.

So how and when would I use ‘Grid Post’ template?

How can I add new templates to that drop down?

Or how can I edit the Default Template / Grid Post files to that drop down selection?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 4 months ago breathee

    I’m going to answer one of my question.. doh!

    How can I add new templates to that drop down?

    Add this to the top of template-name.php file located in the root of your theme.

    <?php
    /*
    Template Name: Test layout
    Template Post Type: post, page, product
    */
    
    // … your code here

    However I still don’t know the answer to the others.

    So how and when would I use ‘Grid Post’ template?

    Or how can I edit the Default Template / Grid Post files to that drop down selection?

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More