• Evening chaps, I was wondering how I can organise the the order of the links in my “Navigation” category on my sidebar.

    My site is https://somesh1t.net and I have tried to goto Edit category and sort by ID/URL. But neither makes any difference on my webpage.

    This is the order I want:

    Premiership Table
    Championship Table
    League one Table
    League two Table

    Thanks alot!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Those are all Pages.
    See: Template_Tags/wp_list_pages to learn how to order the list of Pages.

    Thread Starter sgenta

    (@sgenta)

    Thanks, that worked but its showing ALL of the pages, is there any way to make it only show the pages in a certain category?

    Pages (despite what you see ?? do NOT have categories.
    However you can exclude certain Pages from being displayed. See the example at the link above for Exclude.

    Thread Starter sgenta

    (@sgenta)

    I’ve tried that example and it doesn’t work; obviously I’m doing something wrong. What I meant is, is there anyway to show all the LINKS from a certain category instead of every page. Sorry for being an idiot. I’m new to this ??

    Seemingly we are using the same words but thinking about something different.
    The Pages list and the Link Categories are 2 (two) different things.
    The request posted in your initial post has nothing to do with links or link categories… all those enlisted by you are Pages.
    Actually you are not using the Links or Links Categories feature in your blog.

    Thread Starter sgenta

    (@sgenta)

    Hmmm, I don’t know how to explain what I need to do.

    Thread Starter sgenta

    (@sgenta)

      <?php get_links(‘-1’, ”, ‘
      ‘, ‘
      ‘, 0, ‘name’, 0, 0, -1, 0); ?>

    Shows the links I want but not in a list and not in the order I want.

    Has that helped?

    Thread Starter sgenta

    (@sgenta)

    Please help if you can guys

    The code you posted is ordering them by “name”.
    Change that to something else. Here are the parameters you can use:
    Template_Tags/get_links#Parameters

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Category link listing’ is closed to new replies.