WordPress.org

Ready to get started?Download WordPress

Forums

Adding tags to WP pages (8 posts)

  1. Daisyhead
    Member
    Posted 8 years ago #

    Is there a way to add WP tags to a WP page? I want to move my my archives off my main index page and onto a separate page, but when I add the archive tags to a page that I created within WP, the tags don't work.

    Thanks!

  2. You will have to create a page template for it (with the content inside) and select it as the page template when creating your page. Use the Archives Template for the Default Theme (the archives.php file) as a guide.

  3. Daisyhead
    Member
    Posted 8 years ago #

    Okay, I have a template created, but I'm not sure how to "select it as the page template" when creating a new page. Help!?

  4. When creating a page at Write/Write Page, look to the right for the "Page Template" menu (or scroll down to it if you're using WP v1.5.x) and select your new page template.

  5. Daisyhead
    Member
    Posted 8 years ago #

    I'm using Wp 2.0 and I don't see a "Page Template" menue. Here's what I have on the right-hand side of my page:

    Discussion
    Passoword-Protect post
    Page parent
    Post slug
    Post author
    Page order

    Down below my "create page area" where you put the content for the page, there is an area that says "upload" and "browse."

    Sorry for being such a dunce. I haven't played with WP 2.0 enough yet I guess.

  6. Then your page template is not in the right place, or it doesn't have a proper header. The page template file needs to be in the directory of your active theme. Here is an example of a proper header:

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

    See: http://codex.wordpress.org/Pages#Page_Templates

  7. Daisyhead
    Member
    Posted 8 years ago #

    Got it! Thanks so much!!

  8. Daisyhead
    Member
    Posted 8 years ago #

    Err. Never mind.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags