WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. senyoraangelica
    Member
    Posted 10 months 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 10 months ago #

    Currently, it's something like this:

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

  3. senyoraangelica
    Member
    Posted 10 months ago #

    Thank you!!!

Reply

You must log in to post.

About this Plugin

About this Topic