How to test for a Pods page?

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  Perry 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #166456

    Perry
    Participant
    Post count: 11

    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?

    #166457

    Perry
    Participant
    Post count: 11

    OK I found is_pod_page() presumably I can do something with this?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting