• Resolved mpmullally

    (@mpmullally)


    I am using version 2.1.2 of your plugin.

    I have a custom post type that I added custom fields to the meta box is titled “Attributes”. for some of my posts they have multiple entries to their attributes. i.e. Types of flowers, petunias come in 4 colors each of these is its own attribute set.

    I am trying to return the title and their product number for each of the colors to the user.

    I want to repeat the crop, series, variety, and sku fields:
    <h3 class="seed"><?phpthe_cfc_field(‘attributes’, ‘crop’ ); ?> <?php the_cfc_field('attributes', 'series' ); ?> <?phpthe_cfc_field(‘attributes’, ‘variety’ ); ?> – <?php `the_cfc_field(‘attributes’, ‘sku’ ); ?></h3>

    `<p><?php the_content(); ?></p>

    Here is an image of the fields setup:https://www.grimes-hort.com/wp-content/uploads/2017/08/fields.jpg

    • This topic was modified 7 years, 7 months ago by mpmullally.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘display multiple entries to custom fields’ is closed to new replies.