Links

Display CPT item and its fields in a widget

  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 to clipboard’ on the second shortcode that contains object-id="ANOTHER_POST_ID" to copy the shortcode for your View.
  3. 3.
    Visit the Appearance -> Widgets tab in WordPress backend.
  4. 4.
    Use the Available Widgets to add a Text widget to the relevant Widget area.
  5. 5.
    Paste the shortcode in the Widget Text Area.
  6. 6.
    Edit the shortcode replacing ‘ANOTHER_POST_ID’ with the post, page or CPT item ID you want to display.
  7. 7.
    Visit the page that contains your widget to see the result.