How content is displayed
Last updated
Last updated
Once you've added products, you have four main options for displaying them on your site:
Gutenberg Blocks
Automatic Embedding
Module Shortcodes
Global Shortcodes
For a complete guide on using Gutenberg Blocks, please refer to this guide:
🆕Gutenberg blocksAutomatic embedding lets you add module content to a predefined location in your posts without needing to insert it manually. You can enable this feature in the settings of each module:
Auto-embedding: Choose to embed module content automatically at either the beginning or end of your post.
Priority: Controls the display order. A lower number means the module appears higher in the post.
Template: Select the default template for the embedded content.
This method is the simplest for adding content, but it has certain limitations:
You cannot embed content in the middle of a post.
Shortcode parameters for customization cannot be applied.
Module shortcodes give you more flexibility to display module content exactly where you want it within your post.
Generating Shortcodes: Use the shortcode generator available on each module's tab to select the desired template.
Embedding: Copy the generated shortcode and paste it wherever you need in your article.
Tip: If you use a visual editor like Gutenberg, insert the shortcode using a special shortcode block (avoid adding them as plain text). Once saved, the products will appear at your specified location.
Global shortcodes are ideal for displaying a complete list of products across all modules or creating a price comparison list.
Generating Shortcodes: Use the shortcode generator at the top of the Content Egg block, select the template you need, and paste the shortcode anywhere in your post.
Shortcodes come with many parameters that allow you to customize their output:
Hide or View Fields: Choose to show or hide specific product fields.
Group Products: Split product lists into separate groups for more organized output.
Template Customization: Adjust the button text, color, borders, and more.
For detailed customization, we recommend reading the Shortcode Parameters Guide. This will help you get the most out of your shortcode capabilities.
Content Egg is compatible with most popular WordPress page builders, such as Gutenberg and Elementor. When working with these builders:
Use special shortcode blocks instead of inserting shortcodes as plain text.