Forums

[resolved] Order of pages links on the right tab (8 posts)

  1. 33lncr
    Member
    Posted 4 years ago #

    I've created some pages (that links, on the right tab, under Pages section).

    Now, I would like to organize these pages in another order. How can I do that?

  2. shadow
    Moderator
    Posted 4 years ago #

    That would depened on what you are trying to do with the order exactly.

    A bit of useful information is listed here:

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

    But if you want to do anything other than list the pages in ascending or descending order, you may need to do the process manually.

  3. 33lncr
    Member
    Posted 4 years ago #

    Thanks again for help. Actually, I hit that page after a some googling, but it seems not to work for me.

    What I did was:

    Found the sidebar.php code in administration and try to call the wp_list_pages() function with that:
    wp_list_pages('sort_column=menu_order&title_li=<h2>Pages</h2>' );
    After that I've set the one page's order to 9, and all other pages to 0.

    It doesn't changed anything in the Pages list. :(

    Am I doing something wrong?

  4. shadow
    Moderator
    Posted 4 years ago #

    I gather the two topics we have been discussing are related? If you would like to email me, I will give you a hand

    shadow12 gmail

  5. S.K
    Member
    Posted 4 years ago #

    I use "My Page order" plugin from Geekyweekly web site and it works like a charm with WP 2.3.

    With that plugin, you can organize the display of the list of your "Pages" in any order you choose. It modifies the "Page Order" (accessed with the "menu_order" attribute in the sidebar tag mentioned by you), according to your choice.

    HTH.

    S.K

  6. 33lncr
    Member
    Posted 4 years ago #

    Thanks kichu,

    I've used your plugin. Seems to be pretty nice tool. Unfortunatelly, it doesn't work for me too. :(

    Maybe it's because I'm using another language in WordPress?

  7. moshu
    Member
    Posted 4 years ago #

    Maybe it's because I'm using another language in WordPress?
    Are you kidding? Thousands of users are blogging in languages other than English and they all can use the plugins.

    Re: your Pages order - are you using widgets in your sidebar? If yes, whatever is in your sidebar's code it is ALWAYS over-written by the widgets!

  8. 33lncr
    Member
    Posted 4 years ago #

    Are you kidding? Thousands of users are blogging in languages other than English and they all can use the plugins.

    Yeah, I know. That was stupid... But I'm newbie in WordPress... Just didn't know about that widget over-writing.

    Shadow has set it up correctly at my site, so Thanks guys for help. Now it works.

    Bye.

Topic Closed

This topic has been closed to new replies.

About this Topic