Links

Display field values from another source

Easily show field values from a another source using the object-id argument in your shortcode

Step by step

  1. 1.
    Create your View and assign fields as usual. (See Creating an ACF View)
  2. 2.
    In the right sidebar in the Shortcode Widget Click ‘Copy the clipboard’ on the second shortcode that contains object-id="ANOTHER_POST_ID" to copy the shortcode for your View.
  3. 3.
    Paste the shortcode in your page, post or theme section where you want to show your View.
  4. 4.
    Edit the shortcode replacing ‘ANOTHER_POST_ID’ with the post, page or CPT item ID you want to display.
  5. 5.
    Click “Update” to save your post.
  6. 6.
    Visit your page to see the result.
​
Note: To display fields from the options page insert 'options' in object-id in your View shortcode. E.g. [acf_views view-id="54" object-id="options" name="admin custom fields"]
Note: To display fields for the current user profile insert '$user$' in object-id in your View shortcode.
E.g. [acf_views view-id="82" object-id="$user$" name="account fields"]