Featured listings

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

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

Open Support Ticket
  • Author
    Posts
  • #459551

    majaxlt
    Expired Member
    Post count: 125

    Hi. Sorry for a dumb question but I spent over a hour trying to find it out and i failed. How do I make listings FEATURED? So they would have a FEATURED badge like in the pic I attached and be sorted first over the regular listings.

    #459580

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    In GDv2 everything is “standardised” so you can use much more than just featured, but i’ll write some docimentation now and post it below, for now u can have a look at https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_badge

    Thanks,

    Stiofan

    #459587

    majaxlt
    Expired Member
    Post count: 125

    Hi Stiofan,

    I’ll take a look, thanks.

    #459594

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have added a doc specifically to help with this, if you have any questions after reading it then please let me know and i will try to improve the doc:
    https://wpgeodirectory.com/docs-v2/geodirectory/featured-listings/

    Thanks,

    Stiofan

    #459598

    majaxlt
    Expired Member
    Post count: 125

    Awesome article! Just few questions

    1. How do I set a badge for all NON-FEATURED listings?
    I tried this shortcode – [gd_post_badge key=”featured” condition=”is_empty” badge=”Nepatikrinta” bg_color=”#ff0000″ txt_color=”#ffffff”]

    but badge appears just on featured listings.

    2. Part with classes is not clear for me. After I add a badge to a listing, it gets a LI class. Where can I find that class so I can modify it with css?

    For example I want all non featured listings to get a badge “Nepatikrinta” and make listing’s image blurred or put a grey overlay over it so users would want to claim listings and them featured asap.

    Thank you.

    #459628

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the reply.

    1. There was a small bug with is_empty, i have fixed it and i will release it within the hour.

    2. GREAT IDEA 🙂 I’m going to add that as an example 🙂

    Thanks,

    Stiofan

    #459633

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    #459635

    majaxlt
    Expired Member
    Post count: 125

    Wow! Thank you very much Stiofan!

    #459636

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome! 🙂

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