• Resolved x1code

    (@secretja)


    Hello,

    I need quick help.

    I use this code,

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php echo get_post_meta($post->ID, 'banner', true); ?>
    <?php echo get_post_meta($post->ID, 'pays_per_ad', true); ?>
    <?php endwhile; endif; ?>

    [please mark your code using the code button]

    How can I get the same fields in another post?

    Thank you.

  • The topic ‘Meta data, custom fields help’ is closed to new replies.