Support » Plugin: Advanced Custom Fields » Do I need to create a template file for this to work?

  • Hi all.

    I’m having trouble following the installation of this plugin.

    I’ve managed to create some custom fields and they’re showing up at the pages where I want to use them.

    Now I understand that I need to add some lines of code to a file. I just don’t understand to which file I need to add it to. I suspect it’s the index.php, or do I need to make a separate template file? Because I’m already using the_content to load content into the index.php and I donĀ“t see where I should paste this field code: <p><?php the_field(‘field_name’); ?></p>.

    I tried replacing field_name with my own field name I set in the plugin, and added the field code below the_content but still nothing shows.

    Wonder how to make it work?

    This plugin is kinda only for advanced users I guess.

    Thanks for any help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Do I need to create a template file for this to work?’ is closed to new replies.