We'll create fresh WordPress site with Embedded Posts installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Reuse any piece of your content anywhere on your site. Display related content via category, tags, author, post ID or title using either a block or a shortcode.
Choose from:
You can us the Embedded Posts block in your content directly on Posts, Pages, Custom Content in the WordPress Block Editor and in Templates using the WordPress Site Editor. If you are not using a Block Theme you can use shortcode both on Posts, Pages, Custom Content or directory into your php templates.
Perfect for Portfolio sites, Magazine sites, Portals, your Home page and News pages. Anywhere you need to showcase your existing content.
Increase your visitor engagement by automatically directing your visitors to other content they might enjoy.
The Embedded Posts block ensures content embedded in multiple places on your site remains up to date with the original, saving you from duplicating effort and eliminating errors.
Related Posts can show a mix of posts, pages, CPTs, or any specific selection, offering you the flexibility to curate your content as you like.
You have the option to sort the embedded content by date or name order, in both ascending and descending formats. Additionally, there is a feature for random sorting.
The Embedded Posts block seamlessly integrates with the WordPress Block Editor and the WordPress Site Editor or can be implemented through a WordPress shortcode. As Embedded Posts is a block variation of a Query Loop you have full control of the appearance of the Embedded Post within the WordPress Block Editor and WordPress Site Editor.
Another feature included in Embedded Posts is the ability to enable taxonomies on pages, a functionality not found in basic WordPress features.
You could use Embedded Posts to:
You can of course also sort those pieces of content, randomly, by date, or title, in ascending or descending order.
Please use either the support forum or the official GitLab repository for any questions or to log issues.
Once the plugin is installed you can add an Embedded Post block or shortcode to your templates, posts, pages or custom posts types.
Simply go to the place where you want to display the Embedded Posts and either paste in one of the shortcodes given below, or add a new block of type ‘Embedded Posts’ and configure it as you would any other block in the WordPress Block Editor.
NOTE: If you want to use Embedded Posts to show Related Content (for example by Category/Tag/Author) make sure the content you are creating also has that Category/Tag/Author otherwise there will be nothing to relate to.
At it’s heart the Embedded Posts is a block variation of the standard Query Loop block and therefore is fairly similar in some of the functionality, some of which you may already be familiar with and is in WordPress by default.
Embedded Posts settings can be found in the main WordPress dashboard.
Selecting the Enable taxonomies for pages box and clicking Save Page Taxonomies will enable Page Taxonomies.
In this section you can select which component you would like to be visible when using the shortcode. Included along side each of these components is the relevant CSS class which will allow custom formatting. Once your selection has been made click Save Template Settings will enable on the frontend.
The following section outlines descriptions for all available options, each providing instructions on enabling the setting in either the WordPress Block Editor or the Wordpree Site Editor, along with the corresponding shortcode for alternative usage.
The term ‘Editor’ will represent either the WordPress Block Editor or the WordPress Site Editor.
This is the default action for Embedded Posts and is enabled by the toggle in the Related By section of the settings panel in the Editor.
[embeddedposts]
or
[embeddedposts related_by_tag=1]
This can be enabled by the toggle in the Related By section of the settings panel in the Editor.
[embeddedposts related_by_tag=0 related_by_category=1]
By enabling both toggles for Related by Tags and Related by Category in the Related By section of the settings panel in the Editor and ensuring that the AND operator radio button is enabled.
[embeddedposts related_by_tag=1 related_by_category=1]
or
[embeddedposts related_by_tag=1 related_by_category=1 related_by_operator='AND']
By enabling both toggles for Related by Tags and Related by Category in the Related By section of the settings panel in the Editor and ensuring that the OR operator radio button is enabled.
[embeddedposts related_by_tag=1 related_by_category=1 related_by_operator='OR']
This can be enabled by the toggle in the Related By section of the settings panel in the Editor.
[embeddedposts related_by_tag=0 author=1]
Enter the title that is to be searched for in the Title box in the Single Post section of the settings panel in the Editor. The title needs to be an exact match although it is not case sensitive.
[embeddedposts title='string']
Enter the Post ID that is to be searched for in the Post ID box in the Single Post section of the settings panel in the Editor.
[embeddedposts post_id=(number)]
This can be set by using the slider in the settings panel in the Embedded Posts Settings in the Editor. The current range is from 1 * 10.
[embeddedposts posts_per_page=(number)[default: all]]
Post types can be entered into the Post Type box in the Embedded Posts Settings in the settings panel in the Editor. You have the flexibility to modify the post type for searching or add additional post types, enabling simultaneous searching across multiple post types.
[embeddedposts post_type='post']
This can take multiple values; these values should be comma-separated.
The order of the returned posts can be selected using the Order By drop-down in the Embedded Posts Settings in the settings panel in the Editor. Alternatively, the random toggle in the same area can be enabled for a random order of the returned posts.
[embeddedposts order_by=[AZ, ZA, 123, 321, random]]
Alphabetically, reverse alphabetically, date ascending, date descending, or random