Sort order

This topic contains 26 replies, has 3 voices, and was last updated by  Christina Morris 8 years, 2 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #281806

    Christina Morris
    Expired Member
    Post count: 53

    Hi,
    Another question!
    I have featured listings, but I would like the default sort after featured to be title.

    I looked at this
    https://wpgeodirectory.com/codex/codex/geodirectory_functions/geodir_posts_orderby/
    and I am unsure if I could use it to change the order and if it would change the sort.

    Thanks again!
    Christina

    #282041

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Christina,

    I belive if you go to GD>Place Settings>Sorting options and mke featured the defautl sort you can then use this code to make it featured and then a-z
    https://wpgeodirectory.com/support/topic/order-of-listings-by-those-with-a-logo/page/2/#post-20844

    Thanks,

    Stiofan

    #282092

    Christina Morris
    Expired Member
    Post count: 53

    But then my featured sort doesn’t work. I have tried that!
    Thanks!

    #282133

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It seem your DB queries are cached or something, or just not working right. can you provide Database access like phpMyAdmin?

    Stiofan

    #282136

    Christina Morris
    Expired Member
    Post count: 53
    This reply has been marked as private.
    #282195

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #282198

    Christina Morris
    Expired Member
    Post count: 53

    I am concerned they will ask me questions I don’t have the answer to. Can you stay close, IM while I speak with them?

    #282203

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I’m here but the questions should be self explanatory 🙂

    #282205

    Christina Morris
    Expired Member
    Post count: 53

    On hold for them now.
    Thanks again for your time and effort!

    #282223

    Christina Morris
    Expired Member
    Post count: 53

    Do you know of anyone else who is using Bluehost shared hosting?
    Also, It shows FEATURED when it first populates, but I want it ordered by title AFTER THAT.
    So maybe we have misunderstood each other?

    #282224

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the function provided by Stiofan should do exactly what you asked…

    Thanks

    #282254

    Christina Morris
    Expired Member
    Post count: 53

    Are we miscommunicating!? Sorry if so…

    The only way I am getting an AZ sort is to choose it in the drop down. It does work there…
    I don’t want to have to choose in the drop down. I want the AZ sort to default on load of the listings AFTER the featured property.

    How do I do that?

    Thanks!

    #282256

    Christina Morris
    Expired Member
    Post count: 53

    Also, when I change the sort with the dropdown, the content shows as “null”
    Need to change that! Do you want me to start a different ticket?

    #282261

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Nothing will work as it should until you get an answer to https://wpgeodirectory.com/support/topic/sort-order-3/#post-282195

    Stiofan

    #282262

    Christina Morris
    Expired Member
    Post count: 53

    They have no answer, there is no error. It’s the same way on my local server. So it’s not the server- or at least evidence points to it not being the server.

Viewing 15 posts - 1 through 15 (of 27 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