Using advanced custom field plugin for a template file.
-
[ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]
I’m using ACF for a WordPress site for the first time. I have a template file that I use across a number of pages –
topimage-agency.php
– and I need to make a paragraph within it dynamic.
I’ve created the custom field using wysiwyg editor and selected the main Agency Page.
Obviously I haven’t set the template up with its own page so I’ve had to select one (Agency). The code is dynamic on the Agency page and all works fine however it doesn’t show/work any differently on any of the Agency sub pages. Is there a way I can make elements of a template dynamic using ACF or any other way?
- The topic ‘Using advanced custom field plugin for a template file.’ is closed to new replies.