Pods pages and WP plugins

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  sc0ttkclark 2 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #164783

    micmac1
    Member

    I noticed that many WordPress plugins is using is_singular(), is_page() and is_single() functions.
    These functions return false for Pods pages and plugins don’t work at all.
    Is any workaround to get working plugins in Pods pages.

    #164784

    hsatterwhite
    Member

    Sure there is. Try using the is_pod_page() global function.
    http://podscms.org/codex/is_pod_page

    I added the link above, but the editor seems to be adding characters in the actual URL. copy + paste + go, or click User Guide and look to the right under "Global Functions".

    #164785

    micmac1
    Member

    Yes, I know this function but I’d have to modify every plugin. I don’t want to do this. I’d rather want to change the Pods once that way, to every future installed plugin will work. I’m looking a way to Pods will ‘emulate’ WP pages in manner functions is_singular(), is_page() will return proper values.

    #164786

    sc0ttkclark
    Keymaster
    Post count: 809

    You can get around this by adding a function that runs at the beginning of your header (or in functions.php)

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

You must be logged in to reply to this topic.

Wordpress Cloud Hosting