Support » Themes and Templates » How Do I POINT to the Theme I want to use for a Page

  • I have done all of the following
    NOW! How Do I POINT to the Theme I want to use for a page

    If using WordPress as a CMS, you might want to present readers with a static front page, and then display your posts on another page called Blog. To accomplish that follow these instructions:

    ■Create a Page and use “My Front Page” for the Page Title. Of course, in the content for that Page, you can enter the information you want presented on your site’s front page (see example below if you want to display a post).
    ■Create a Page and call it Blog. Nothing needs to be entered in the content field of this Page.
    ■In Administration > Settings > Reading set the Front page displays to A static page, and select My Front Page for Front page:, and select Blog for the Posts page:.
    If you want to further customize your front page, you can create a Template, and fit it to meet your needs:

    ■With the help of the Template Hierarchy article, determine what Template is normally used to display your Pages (e.g. page.php or index.php).
    ■Copy that template to myfront.php. If you were using the WordPress Default theme you would copy wp-content/themes/default/page.php to wp-content/themes/default/myfront.php.
    ■In Administration > Appearance > Editor, edit the myfront.php and change the beginning of the file from:
    * @package WordPress
    * @subpackage Default_Theme

    Template Name: MyFront

    I am missing something here and I would appreciate any help


Viewing 2 replies - 1 through 2 (of 2 total)
  • To make sure I understand you correctly, do you want to know how to assign a certain template to a certain page? If that’s the case: in the admin, open up the page where you want the new template. In the lower right of the editing page there is a dropdown menu where you can choose a template.

    If I’m following you, you’d like to use a different theme for a particular page.

    To take an extreme example, maybe somebody would want to have Mystique theme on their homepage, and then Atahualpa as the theme on Posts. This is not really feasible in WP, AFAIK. Even if it can be done, you’re in for a ton of work to make it happen.

    You can use a different template on a page, by simply editing the Page and choose from available Templates in the dropdown. But there won’t be a template dropdown if the theme developer did not make extra templates, as per above. Even if there are, these are generally just variations on the main theme, not totally different themes.

    A small number of themes, such as Atahualpa, have a lot of theme options, but again, this is not a totally different theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How Do I POINT to the Theme I want to use for a Page’ is closed to new replies.