WordPress.org

Forums

[resolved] weird? page templates not working? (3 posts)

  1. maestro42
    Member
    Posted 6 years ago #

    I have been using WordPress since pages were introduced. I just downloaded the new version for a fresh install on another web server. I have uploaded a few template files. I put in the required code:

    <?php
    /*
    Template Name: Services
    */
    ?>

    I don't get any options to select a template when writing a page. Any ideas to what could cause this?

    Thanks

  2. maestro42
    Member
    Posted 6 years ago #

    All I get is page-parent and page-order. No page-template.

    Very strange.

  3. maestro42
    Member
    Posted 6 years ago #

    solved. My style.css file did not have the correct header information for the theme, i.e.:

    /*
    Theme Name: WordPress Default
    Theme URI: http://wordpress.org/
    Description: The default WordPress theme based on the famous Kubrick.
    Version: 1.6
    Author: Michael Heilemann
    Author URI: http://binarybonsai.com/
    Tags: blue, custom header, fixed width, two columns, widgets
    */

    So, this information has to be in the style.css file for the Page Templates to work!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.