Curatorio Shortcode

Below, you’ll find a detailed guide on how to add the Curatorio Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Curatorio Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the Curatorio Plugin and the shortcodes it provides:

Plugin Icon Show all your social media posts in a beautiful feed.

" is a dynamic WordPress plugin that organizes and displays all your social media posts in a visually appealing feed, enhancing user engagement on your website."

★★★★✩ (4) Active Installs: 2000+ Tested with: 6.0.6 PHP Version: false
Included Shortcodes:
  • [curator]

Curatorio [curator] Shortcode

The Curator shortcode is a powerful tool in the Curatorio plugin. It generates a feed using the CuratorFeed class, rendering the feed based on the attributes passed.

Shortcode: [curator]

Examples and Usage

Basic example – Utilizes the curator shortcode to render a CuratorFeed widget without any additional parameters. This will display the default feed as specified in the widget’s settings.

[curator /]

Advanced examples

1. Using the shortcode with a specific feed ID. This will display the CuratorFeed widget associated with the specified ID.

[curator id=2 /]

2. Using the shortcode with multiple parameters. In this example, we’re specifying both the ID of the feed and a custom class that will be added to the widget. This allows for more specific styling and customization.

[curator id=3 class="custom-class" /]

3. Using the shortcode with a feed ID and a limit parameter. This will display the CuratorFeed widget associated with the specified ID, but limit the number of items displayed to the specified limit.

[curator id=4 limit=5 /]

Keep in mind that the exact parameters available may vary depending on the configuration of the CuratorFeed widget.

PHP Function Code

In case you have difficulties debugging what causing issues with [curator] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'curator', array( $this, 'curator_feed') );

Shortcode PHP function:

function curator_feed( $atts ) {
        $widget = new CuratorFeed();
        $html = $widget->render ($atts);

		return apply_filters( 'wp-shortcode-curator-feed', $this->sanitize_output( $html ) );

Code file location:



Now that you’ve learned how to embed the Curatorio Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.


Leave a Reply

Your email address will not be published. Required fields are marked *