WordPress.org

Ready to get started?Download WordPress

Forums

Pages in 1.5 Question?! (7 posts)

  1. FuntimeBen
    Member
    Posted 9 years ago #

    So, just upgraded to 1.5 and am totally stoked. I want to customize the appearance of my "Pages" menu, but the only tag is the "wp_list_pages" in the WordPress codex. Am I missing something? Shouldn't there also be a "list_pages" tag? Isn't that the WP standard? Just wondering if anybody has any insight?

  2. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Nope - not missing anything. There's no list_pages. How exactly are you trying to customize it?

  3. dflateau
    Member
    Posted 9 years ago #

    Speaking of pages - am I missing something, or is there no way to assign a categories to pages?

  4. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    Nope - not missing anything. You can't assign categories to Pages.

    http://codex.wordpress.org/Pages

    You might see http://wordpress.org/support/topic.php?id=22567#post-128275
    for a bit on Category Templates

  5. FuntimeBen
    Member
    Posted 9 years ago #

    Well primarily I would like to assign a "Page slug" class identifier to each "li" in the Pages list so that when a visitor visits a page I can have a customized "Hilighted" effect through CSS. As it stands at the moment all my "li" now have the default class of "page_item" which gives me no control over each page item.

  6. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    current pages pick up a current_page_item class

  7. FuntimeBen
    Member
    Posted 9 years ago #

    Thanks buddy!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.