Pods Framework for WordPress
Home » Topics » Pods 1.x » How to test for a Pods page?
This topic contains 1 reply, has 1 voice, and was last updated by Perry 1 year, 8 months ago.
I’m trying to get a plugin working that displays a custom menu (Pages at Depth).
It doesn’t appear on the Pods generated page (in my case my Pods page selects a custom WP template).
Looking at the plugin code it the plugin tests if is_page is true.
Is there any way to make WP think that the Pods page is a WP page (one that is nested within parent pages even) and perhaps make the plugin work?
Alternatively how could I test for a Pods page (pods_page()???) to modify the original plugin?
OK I found is_pod_page() presumably I can do something with this?
You must be logged in to reply to this topic.