WordPress.org

Ready to get started?Download WordPress

Forums

Graphene Navigation Problem (4 posts)

  1. ozgeordie
    Member
    Posted 3 years ago #

    Hi,

    I have installed the Graphene theme which I nice, however the navigation sorts the pages alphabetically, I can't have the links sorted like this as I have days of the week in order, so Monday Tuesday Wednesday etc but displays as Friday Monday Sunday etc.

    How can I get this to not sort alphabetically please?

    Many thanks

  2. ThumNet
    Member
    Posted 3 years ago #

    This can be done by creating a custom menu.

  3. interfused
    Member
    Posted 2 years ago #

    here's what I did to fix the situation:

    In the "functions.php" file around line 740, you'll see the following:
    //////////////////

    $args = array( 'echo' => 1,
    							'sort_column' => 'menu_order, post_title',
    							'depth' => 5,
    							'title_li' => '',

    ///////////////
    What I noticed is that there was no comma between the "menu_order" and "post_title" column descriptions. Adding that comma made the sorting work for me.

    Hope This Helps,
    Interfused Inc
    Creative Design/Development

  4. Andrew Laws
    Member
    Posted 2 years ago #

    The comma worked for me too

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags