Do I need to create a template file for this to work?
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.
- The topic ‘Do I need to create a template file for this to work?’ is closed to new replies.