Display CPT item and its fields in a widget
- 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.Visit the Appearance -> Widgets tab in WordPress backend.
- 4.Use the Available Widgets to add a Text widget to the relevant Widget area.
- 5.Paste the shortcode in the Widget Text Area.
- 6.Edit the shortcode replacing ‘ANOTHER_POST_ID’ with the post, page or CPT item ID you want to display.
- 7.Visit the page that contains your widget to see the result.