WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Advanced Custom Fields] Two types of fields

[Plugin: Advanced Custom Fields] Two types of fields

  • Hi! I’ve got another problem. I’m using ACF plugin and also Single Post Template plugin, so I create single-film.php and single-game.php and inside of these files I put some code like that:

    <b>Duration:</b> <?php the_field('duration'); ?><br />

    And it show film duration when I use “Film” template

    Film contains only fields from “Films” category for ex. country, year, duration etc. and Game contains price,studio, etc. Everything works fine, I choose what template I want to use and it works.

    But what can I do to make archive page recognize what category of fields I want to show ?
    Please help me :<

  • The topic ‘[Plugin: Advanced Custom Fields] Two types of fields’ is closed to new replies.
Skip to toolbar