[gd_listings] with multiple categories

This topic contains 10 replies, has 3 voices, and was last updated by  Kiran 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #457084

    Kyle Tipton
    Expired Member
    Post count: 9

    Hello,

    I’m trying to generate a listing of places from two categories.

    Here’s my shortcode:
    [gd_listings post_type=”gd_place” layout=”4″ category=”442, 484″ post_number=”12″]

    But my page only pulls from the first category or pulls from ALL categories (depending on whether I have a space after my comma or not — I can remember).

    How can I get one list to generate from multiple categories?

    #457091

    Kor
    Moderator
    Post count: 16516

    Hi Kyle,

    Thanks for your post. That’s the correct parameter https://wpgeodirectory.com/docs/core-shortcodes/#listings . Could you share Wp admin access in private reply so that we could check on it? In the meantime, could you try copying the code below and replace it on your end and see if it works?

    [gd_listings post_type="gd_place" layout="4" category="442, 484" post_number="12"]
    #457098

    Kyle Tipton
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #457193

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Try category values without space. ex:

    [gd_listings post_type="gd_place" layout="4" category="442,484" post_number="12"]

    How can I change “Enquiry” for the Email Field (I need it to spell as “Inquiry” or “Send Email”)?

    That text can be changed using translation. Please see:
    https://wpgeodirectory.com/docs/translating-addons/

    Thanks,
    Kiran

    #457200

    Kyle Tipton
    Expired Member
    Post count: 9

    Thanks for the tip on the Translation.

    Eliminating spaces between the categories does not work either.

    My plugin version is 1.6.29 … would an update to 1.6.36 address this?

    Thanks!

    #457202

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #457207

    Kyle Tipton
    Expired Member
    Post count: 9

    I will do so. Thank you.

    #457212

    Kyle Tipton
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #457229

    Kyle Tipton
    Expired Member
    Post count: 9

    Would the CPT shortcode be a viable alternative to showcase multiple category places?

    Thanks!

    #457247

    Kyle Tipton
    Expired Member
    Post count: 9
    This reply has been marked as private.
    #457279

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)

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

Open Support Ticket