WordPress.org

Ready to get started?Download WordPress

Forums

Display post from ID in Custom Field Works But.. (1 post)

  1. blogthisnow
    Member
    Posted 2 years ago #

    <?php $guideId= get_post_meta($post->ID, 'guide_id', true); ?>
    <>php echo get_post_field('post_content', $guideId); ?>

    Works but displays a different post than the post ID enetered in the custom field.

    *confused face*

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.