• Resolved junkes

    (@junkes)


    Hey!

    I’m making a site about a course and I’m using a Modules pod. I want to display the module information on a popup, in the Home page of the site. So, I expanded the popup plugin with pods and created a bi-directional relationshop between the popup and the respective module, so I could get the right information about each module dinamically. The problem is, if I use [pods field=”relationship_field.post_title”] on the popup, for example, it displays a message that the pod wasn’t found or something. I checked and they are connected.

    Am I missing something or is it about being displayed on the home page?

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @junkes

    Since the popup isn’t the actual currently queries object of a page using the shortcode like that won’t work.
    You’ll have to give the shortcode some context about the object itself (pod name and object ID).
    If the content of this popup is run through a the_content filter you could use the Pods Auto Templates functionality.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Relationships on a Popup’ is closed to new replies.