I am trying to: Display the grandparents of my post in a sidebar. I have agencies, which are the parents of agents, and agents are parents of properties. I want to be able to display the parent agent information along with the grandparent agency logo and other agency details.
I expected to see: Only the parent agent in a content layout, where i can add the id attribute to the shortcodes in order to show grandparent values
Instead, I got: Every agency is displayed including those that are not parents the specific post being shown.
To start I followed the instructions on this page but they are not working for me currently
Yes, I think i should provide a better explanation of what Id like to be able to do. On my properties pages, I have a side bar that so far displays the agent information, like you can see on this post:
hidden link
What I would like to do is figure out how to display the agency my agent belongs too. So to be clear, right now my hierarchy is Properties belong to an agent, and each agent belongs to an agency.
So essentially Im looking to add in the "Grandparent" to my properties pages layout.
I was able to get a grandchild to work here: hidden link
but the grandparent is giving me a bit of trouble. Thanks Shane!