Sort of categories in widget

This topic contains 8 replies, has 4 voices, and was last updated by  Stiofan O’Connor 8 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #287997

    Mitch Canton
    Expired Member
    Post count: 167

    Hey,

    How do I sort the Categories displayed in the tabs of the ‘Best of’ or the Popular Posts Categories widgets ?

    I couldn’t find an ‘order’ for the categories based on id#; they are not in alpha; nor are they based on number of places.

    Thanks.

    #288122

    Kor
    Moderator
    Post count: 16516

    Hi Mitch,

    Let me just briefly explain this to you. By default, the “Best Of Widget” is sorted by review count and the “Popular Posts Category” is sorted by the “highest number of listings”. I hope this clears it up

    Thanks!

    #288443

    Mitch Canton
    Expired Member
    Post count: 167

    Thank you. As I tested more, I see that changing place categories (for example quantity of places in the PPC) changes the order of the category names. I understand.

    However, what if I wanted to sort those in a specific order? Like with a WP post I can set an order attribute. How can I sort the category names different? Whether A-Z, or orderid, or whatever.

    Thanks.

    #288447

    Paolo
    Site Admin
    Post count: 31206

    Hi Mitch,

    that widget will not help. It has a defined sort order that cannot be changed without a customization.

    Thank you,

    #288452

    Mitch Canton
    Expired Member
    Post count: 167

    Got it.

    I was also trying to see if I could place that with parameters via a shortcode (and sort the cat titles) – but doesn’t look like it?

    Just a fwiw, when I was searching for core shortcodes, landed on this page: https://wpgeodirectory.com/docs/category/core/

    but then the ‘core shortcodes’ link 404’s – looks likes it’s missing the /docs/ part in the URL. I eventually found it, but just a heads up on the bad link. (Looks like the Custom Fields link does the same).

    Thanks for your help. Have a good day.

    #288459

    Paolo
    Site Admin
    Post count: 31206

    hi,

    thanks for that, but I just checked and the link is correct for me, you are probably seeing a cached page.

    Were you logged in when visiting the docs page?

    #288464

    Mitch Canton
    Expired Member
    Post count: 167

    Hmmm. Yeah, I was logged in. I was on this page:

    https://wpgeodirectory.com/docs/category/core/

    and when I clicked on the link (for Core Shortcodes), it sent me to a Not Found page. I just did it and it happened again.

    See the attached screencap for the link (lower left) that it directs to when I hover / click on ‘Core Shortcodes’ link.

    fwiw, I just loaded the initial page in firefox/not logged in, and it gives a good link. I’ll clear cache in chrome and start fresh. That was just weird and I thought I’d give a heads up.

    I’m only on Day Two of the plugin, so I’m still feeling my way around all the docs. 🙂

    Thanks again.

    #288533

    Paolo
    Site Admin
    Post count: 31206

    Ok thanks, it must be a cache problem on our server. I asked to Stiofan to check it asap.

    Thanks

    #289092

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I could not see a problem, was it on a mac with safari by any chance?

    Stiofan

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount