Skip Navigation

[Resolved] Display Page Grandparent

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 4.71 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by tacoF 1 year, 11 months ago.

Author
Posts
#2503351

Tell us what you are trying to do?
I'm trying to get information from a page that's related as a grandparent.

Last Page -> Parent Page -> Grandparent Page

And if I could go up even higher great, but this will do for now.

I know how to go down the tree while nesting views, and that works, but I need to go up the tree.

Thanks

#2503445

I got it sorted. I was nesting itself but apparently, when an empty id is passed it gets all records... hmm. So, I included a check around the nest.

To me, if the ids is empty, it should return nothing. On that note, if I tell it to use the param name "id" and definitely pass that, it doesn't work, looks like the name id for an attribute is reserved.
--------------
Post ID filter
Include only posts with IDs set by the View shortcode attribute "ids" eg. [wpv-view name="view-name" ids="1"]