• Resolved OWMC

    (@olly-owmc)


    Hi!

    So I really like the idea of using WP page templates to call pod items onto a page.

    At the moment if I want to call a pod item’s Title and Content onto a wp page template i use this:

    <?php
    	$post_id = 118;
    	$queried_post = get_post($post_id);
    ?>
    <?php echo wpautop($queried_post->post_title); ?>
    <?php echo wpautop($queried_post->post_content); ?>

    How can I call the other CPT fields, including an image field i have?

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Call an CPT image field to a WP page template’ is closed to new replies.