gd_listings and a region

This topic contains 6 replies, has 2 voices, and was last updated by  Barry Joshua 7 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #278347

    Barry Joshua
    Full Member
    Post count: 83

    Hello,

    I would like to add a block like “newest hotels in tokyo”.

    Right now my shortcode is:

    [gd_listings post_type="gd_place" post_number="10" character_count="150" post_region="Tokyo"]

    Is the post region incorrect?

    Thanks!
    Josh

    #278433

    Kor
    Moderator
    Post count: 16516

    Hi Josh,

    Could you please check if you’re using the correct post_type? If you’re not sure, do you think you can share WP temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    #278486

    Barry Joshua
    Full Member
    Post count: 83
    This reply has been marked as private.
    #278533

    Kor
    Moderator
    Post count: 16516

    Hi Josh,

    Thanks for sharing the credentials. I know what you needed there now. Unfortunately, I don’t think you can pass post_region parameter into the shortcode. Please refer to this section of the documentation as it shows you what parameters you can use https://wpgeodirectory.com/docs/core-shortcodes/#listings . I’ve just changed the post_type to “gd_hotel” and it should now display the hotel post types.

    Thanks!

    #278771

    Barry Joshua
    Full Member
    Post count: 83

    Thanks for your quick reply. So, I guess the only way to do it would be to add tags like “tokyo” or “kyoto” to each place and then use tags=”tokyo” or tag=”kyoto”?

    Thanks!

    #278808

    Kor
    Moderator
    Post count: 16516

    Hi josh,

    Yes, that’s right. Let us know if you need anything else.

    Thanks!

    #278818

    Barry Joshua
    Full Member
    Post count: 83

    thanks!

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

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

Open Support Ticket