how to show a specific listing in any wordpress page in list view?

This topic contains 3 replies, has 2 voices, and was last updated by  Marc 6 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #460303

    Marc
    Expired Member
    Post count: 274

    How can I insert in any wordpress page a specific listing with image slider and post title and with a link to the detail view?

    I like to show here in woocommerce product the listing that is related to this product.
    https://www.offerten24.ch/produkt/wpl-25-a/

    should be linked to listing with ID 37014:
    https://www.offerten24.ch/projekte/basel-landschaft/pfeffingen/heizungssanierung/einfamilienhaus-in-pfeffingen-wpl-25a/

    Therefore I inserted this shortcodes, but it’s not really working. No images are shown. Just the title, but without link.

    [gd_post_meta id=”37014″ key=”post_images” show=”value”]
    [gd_post_meta id=”37014″ key=”post_title” show=”value”]
    [gd_post_images id=”37014″ type=”slider” ajax_load=”1″ animation=”slide” controlnav=”0″ link_to=”post”]

    My prefered solution would be:

    Have an option in gd_listings shortcode to select specific ID of a listing (or ID’s for more than one)
    something like this:
    [gd_listings id=”37014,37016″]

    Can you do this?
    Thanks Marc

    #460364

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc,

    I like the idea, i’m just finishing for the night, i’m flaggig this for myself to look at closer tomorrow.

    Thanks,

    Stiofan

    #460474

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have implemented this now in a field called “Post IDs” which will allow you to restrict the output to specific IDs (1,2,3) or exclude specific IDs (-1,-2,-3). (you can’t use both at the same time ie (1,-2,3))

    This will be in the next release.

    Thanks,

    Stiofan

    #460476

    Marc
    Expired Member
    Post count: 274

    Great, thank you Stiofan. Nice solution!

    Can you have a look at this issue as well, please?
    https://wpgeodirectory.com/support/topic/show-gd_listings-from-specific-tags-not-only-categories/

    Thanks a lot,
    Marc

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