Home › Forums › General Issues › Options page plugin › Reply To: Options page plugin
Hi @elliot,
Before I forget to tell you: I have found the solution for my problem, which was actually rather simple 🙂 Found it by looking closely at your documentation.
It is possible to update all fields on all pages using the options page! I simply had to add the attribute ‘option’ to the fields themselves! Like so:
<?php the_field('opslogan', 'option'); ?>
Works like a charm now 🙂
The only thing I couldn’t find in the docs is how to use this option attribute in a shortcodes field. I’ve tried it like this, but this is not working:
<img src="[acf field="usp1" "option" post_id="43"]" alt="usp" />
Also options without quotes, or after a comma doesn’t seem to work.
Do you have any tips on getting shortcode fields to work with the options pages?
Thx in advance!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.