WordPress.org

Forums

Pods - Custom Content Types and Fields
[resolved] How to embed a pods page using php? (3 posts)

  1. senyoraangelica
    Member
    Posted 2 years ago #

    Hello, I'm using the following code to embed a pod page in php:
    echo do_shortcode('[pods pods_page="test-page"]');

    This works fine but I was wondering if there is a proper way to echo a pod page without using a shortcode?

    http://wordpress.org/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 2 years ago #

    Currently, it's something like this:

    echo pods_content( false, pod_page_exists( 'test-page' ) );

  3. senyoraangelica
    Member
    Posted 2 years ago #

    Thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic