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

  1. mpodolak
    Posted 9 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:

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

    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.


  2. mpodolak
    Posted 9 years ago #

    fixed with:

    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