Where do I add my widget codes for the Shop the Post plugin?
Once installed, the Shop the Post plugin integrates directly onto your blog post editor page. The fields to enter the widget title and widget code can be found near the very bottom of the post editor.
WITH CLASSIC EDITOR
Here is what it looks like if you are using the Classic Editor mode when you write posts. You will see these fields beneath the post editor.
WITH GUTENBERG/BLOCK EDITOR
Here is what the fields look like if you are using the Gutenberg/Block Editor, available in WordPress 5.0 and up:
To use, simply type in a title you’d like to use for the widget (i.e., “Shop the Post” or “Get the Look” or “Shop my Picks”). Then, paste in your widget code. The widget code field can accept shortcodes or HTML code, though it performs best with rewardStyle and ShopStyle widgets.
SETTING A GLOBAL TITLE FOR THE SHOP THE POST WIDGET
You can set a default title for the widget so that you don’t have to type in a new one each time, and/or only create a custom title when the content/widget warrants. To do this:
- Be sure the Shop the Post plugin is installed.
- Go to Appearance > Customize > Shop the Post
- In the Shop the Post Box Title field, enter the standard title you’d like to use for each widget.
- That’s it! Now, this title will be used on all Shop the Post widgets, unless you override it by typing in a custom title, as described above.