• Resolved AardvarkGirl

    (@aardvarkgirl)


    I purchased a theme from Template Monster- which has been a pain since day 1.

    Problem – no ability to pick a custom template for a page. The drop down box to do so just does not exist (yes I created a file and uploaded it).

    And yes, I changed to the 2010 theme and back to this custom theme, and the ability still did not show up.

    I tried calling my file links.php, then saw that ‘once upon a time’ this was a template page name, so tried an alternative name (link-page.php). Nada.

    I’ve sent in a request from Template Monster, but figured I might get a faster reply here. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter AardvarkGirl

    (@aardvarkgirl)

    RESOLVED – ?? Issue solved!

    I had not put the name of the template into the opening PHP statement.

    <?php
    /*
    Template Name: LinksPage
    */
    get_header(); ?>

    EDIT: I saw your reply late as I was carefully crafting this response, but I’ll just keep it here.

    What’s does the code at the top of the page template say? It should looks something like this:

    <?php
    /*
    Template Name: Links
    */
    ...
    ?>

    otherwise WP won’t be able to detect it.

    You can also make page templates apply automatically by file name. So if your page is titled “Links”, it will use the template page-links.php or page-(ID of your page).php if the file exists. (More info)

    Lastly, I’m not sure if your theme has page templates in the first place so go check that too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom theme does not have ability for 'page templates' ?’ is closed to new replies.