I'll explain what I need and perhaps there is an easier solution. I have several post hierarchies, i.e. trees with at the top a parent with no parent, it's the root.
Once in the tree/hierarchy, I need to know what the root post is.
Sure, I can climb up, and that's what I'm trying to do, but for that to work I need the following which is nesting 3 levels.
get-course-content : builds the tree based on the id its been passed
get-root-id-for-hierarchy : looks at the current post id, which is passed to it as the 3rd level nested shortcode [wpv-post-id] and it returns the root parent.
This last bit is where it crashes.
This works on its own and returns as expected [wpv-view name='get-root-id-for-hierarchy' ids='[wpv-post-id]']
Hello. Thank you for contacting the Toolset support.
I will have to look at the error. Can you please share problem URL and what is your expected results.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Can't nest shortcodes’ is closed to new replies.