• I am new to using acf. Just need some basic help. I have a custom post type called: toy_breed. In this group are custom posts on each toy breed such as Chihuahua, etc… I made several custom fields for the toy breeds. In rules I put: post type equal to toy_breed. Nothing shows in the front end ie metabox or the fields. What am i doing wrong? Specific instructions would be appreciated. Thanks and I am not a code genius.

    Mark

    https://www.ads-software.com/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
  • First step is getting your WP_Query to work.

    I usually start with the wordpress basics like
    <?php the_title(); ?>
    and
    <?php the_post_thumbnail(); ?>

    Once I get my loop working and have a title and image showing up, I add my custom fields.

    <?php the_field(‘your_custom_fieldname_here’); ?>

    Of course some custom fields are a little different, but instruction are pretty easy to find, just google Advanced Custom Fields and Click Documentation once your on the site. Then choose what field it is you are working with and there will be several examples of how to get what you want.

    First step though, always, is to get your loop working with the wordpress fields. You can always remove them after.

Viewing 1 replies (of 1 total)
  • The topic ‘New to Custom Fields-How to Show on Frontend?’ is closed to new replies.