Advanced Custom Fields – Shortcodes

Here’s how it works:

[acf field=”{$field_name}”]

or:

[acf field=”{$field_name}” post_id=”{$post_id}”]

or to get a value from an ‘options’ page use this:

[acf field=”no_donations_notice” post_id=”option”]

Revisions

Tags: , ,

No comments yet.

Leave a Reply