Forums

Getting some Pages to behave differently (4 posts)

  1. computergenius
    Member
    Posted 3 years ago #

    If I want certain Pages to behave in certain ways, is there a simple method? Pehaps the Page about dogs has a certain kind of menu in it, which the Page about cats does not have.

    If I were programming this in PHP, I would create a switch() on the Page, and add changes there, probably depending on the ID number of the page, but wonder if there is something that I have missed, that is already available in WordPress. I am assuming that I can only have one Page Template.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    No - you can have as many custom page templates as you want.

    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

  3. computergenius
    Member
    Posted 3 years ago #

    Thanks for that, I was confused as to why I could not see any "template choice" on the Page page, and assumed that I had misunderstood the "extra templates" bit.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    You have to add at least 1 custom page template before you will get access to the Page Template dropdown.

Topic Closed

This topic has been closed to new replies.

About this Topic