Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #600344

    Hi, I want to change the order of left sidebar
    It is ordered by alphabetically, but I want to make it ordered like Menu
    How can I make it?

    #600450

    Hi arimang83!

    hm? not sure what you want to achieve. Can you provide us a link to your site showing the elements in question please? we need to be able to inspect the elements.

    Cheers!
    Andy

    #600601

    Hi Andy!!
    My site is http://Www.28run.com
    I want to make same like sub-menus order and left side bar pages order .
    For example, when i put my cursor on the menu button, i can see sub menus. These submenus’ sequence is not same as left sidebar submenu. submenu’s sequence in Main menu is manually correctable. So I put submenu’s sequence like what I want. But ,Submenus’ sequence in Left sidebar are ordered by alphabetically and automatically. I cant find any functions for this. Thank you!

    #603541

    Hi!

    Use “avia_sidebar_menu_args” filter in the functions.php file. Adjust the sort_column parameter:

    add_filter('avia_sidebar_menu_args', 'avf_sidebar_menu_args_mod');
    function avf_sidebar_menu_args_mod($args) {
    	$args['sort_column'] = 'menu_order'; // default value menu_order, post_title
    	return $args;
    }
    

    Sort the pages by adding a Page Attribute > Order value.

    Cheers!
    Ismael

    #606905

    Hello! I’m a bit confused with terminology here.

    Here is the order I want, displayed in the “menu”:

    Here is the order I have in my sidebar:

    How do I make it matching the menu order ? Can you please write it out for me?

    #606917

    Hey!


    @Ivne
    I think your issue is a different one you can change the menu order from Appearance > Menu > Select the menu you want to change and drag the menu items to the top or bottom of the list to change order.

    if this is not what you are looking for please open a new ticket and provide a link to the site where we can inspect the element in question.

    Cheers!
    Vinay

    #606925

    Hi, Vinnie!
    Thanks for your reply. I think my question is the same as the original post in this ticket.
    I would like the sidebar order to match my menu order (not the other way around). I have asked this question here: https://kriesi.at/support/topic/sidebar-footer-and-header-styling/#post-606383 and was redirected to this article.

    #607457

    Hey!

    After adding that code in the functions.php file, go to the Pages panel then hover over the pages that you want to modify. Click the Quick Edit button then look for the Order field. Add the value base on the order that you want. If you want page A to go first, add the value 1 to the field, add 2 for page B, 3 for page C and so on and so forth.

    Cheers!
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.