WordPress.org

Ready to get started?Download WordPress

Forums

[How To] Unalphabetize Pages list in Kubrick? (2 posts)

  1. mpodolak
    Member
    Posted 6 years ago #

    I am building a new template for myself by altering Kubrick. I've created new pages and ordered them in admin management, but they are still showing up in alphabetical order in my sidebar list. My research has pointed towards changing the wp_list_pages tag to this:

    <ul>
    <?php wp_list_pages('sort_column=menu_order'); ?>
    </ul>

    This works, however it eliminates the header for that list. My previous code is this:

    <?php wp_list_pages('title_li=<h4>Content</h4>' ); ?>

    - Before
    - After

    So, I want it to still say "Content" in the black box, but with the list below it to be ordered the way I chose in the admin management panel.

    THANKS!

  2. mpodolak
    Member
    Posted 6 years ago #

    fixed with:

    <?php
    wp_list_pages('sort_column=menu_order&title_li=<h4>Content</h4>' ); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic