How would you dynamically display linked custom posts with your own template?

This topic contains 2 replies, has 2 voices, and was last updated by  Neighbourhood 4 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #539878

    Neighbourhood
    Expired Member
    Post count: 7

    So I’ve been able to dynamically display linked posts for the GeoDirectory custom post types (ie. places and employees) with Elementor pro by:

    – GD – Linked Posts
    – inputting things where necessary. But when you look at the layout options there aren’t any for custom templates.

    So then the alternative solution I thought was to use Elementor Pro’s Post widget.
    – And then choose the custom template from there. successful
    – the issue begins when I want to display the information dynamically because there isn’t a way to create a dynamic query.

    So now I’m thinking I’ll have to individual style each page but if I were to do that it would take up so much time so I was wondering if any of you guys had some ideas. I scoured the forums and the internet for some help but they all seem to have the same issue with no solution.

    #539898

    Alex Rollin
    Moderator
    Post count: 27815

    GD Linked posts uses the GD Archive item template. You can edit that template and it will be used with the changes you make.

    https://wpgeodirectory.com/docs-v2/templates/archive-item/

    If you place that on the GD Details template then it will automatically show linked posts on every listing.

    https://wpgeodirectory.com/docs-v2/templates/details/

    #540110

    Neighbourhood
    Expired Member
    Post count: 7

    Perfect! Thank you so much that helps a ton.

    😀 Appreciate it lots

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

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

Open Support Ticket