WordPress.org

Support

Support » Plugins and Hacks » Custom Post Type UI » [Resolved] [Plugin: Custom Post Type UI] Custom Post Type Custom Field Code

[Resolved] [Plugin: Custom Post Type UI] Custom Post Type Custom Field Code

  • Hi does anyone know how to add taxonomies and their terms to the code below or do I need to try different code to do this.

    <?php
    $postslist = get_posts('numberposts=4&order=DESC&orderby=date&post_type=movies');
    foreach ($postslist as $post) :
    setup_postdata($post);
    ?>
    <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
    <h5>image</h5><a href="<?php the_permalink(); ?>"><img src="<?php the_field('image'); ?>" alt="text-here" /></a>
    <h5>Product Code</h5><?php echo get_post_meta($post->ID, 'product_code', true); ?>
    <?php the_field('copy_1'); ?>
    <?php endforeach; ?>s

    http://wordpress.org/extend/plugins/custom-post-type-ui/

  • The topic ‘[Resolved] [Plugin: Custom Post Type UI] Custom Post Type Custom Field Code’ is closed to new replies.
Skip to toolbar