Support » Plugin: Custom Fields Shortcodes » Options Page for ACF?

  • Resolved stevehvacgp


    I think this was brought up before, but it doesn’t appear that the shortcodes work with variables set in the options page, the add-on for Advanced Custom Fields. Is there a way I can do this or do you guys plan on adding support for this?

    According to the add-ons page all that would have to happen to call it is add the below code to the plugin: <?php the_field($field_name, ‘option’); ?>

    Options Page

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • sahimepani


    Yes, It doesn’t work. I’m looking for it too. Once it starts working, it opens lots of custom layout possibilities.


    If you can clearify you question I may be able to help. Currently my custom starter theme allows you to set options in option pages that then effect ACF fields used throughout the site.

    You must export the fields to PHP so they are initiated in the code not the database. Then from that point its all about where you hook. Since 4.3 you can use get_field() within your functions.php scope

    Core: get_field can now be used within the functions.php file

    I believe what you may be attempting is possible but I need better details to give you specifics. ACF is an awesome plugin and I’ve used it to great depths that I doubt there is anything it can’t do 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Options Page for ACF?’ is closed to new replies.