Just go to the page you want to show your carousel and add the [slidr] shortcode. This should create a carousel with the default settings, meaning that it will get all the recent posts and display them in descending order. You can customize the output by overriding the default settings with your own values like so: [slidr parameter="value"]. For a full list of the available parameters, see below. [slidr] shortcode options [slidr height="some_number"] : Set the height for the specific carousel, overriding the defaults like so: [slidr height="200"]. That way you can have carousels of different sizes in different pages of your website. [slidr loader="no"] : Shows a "loading" animation until all items are loaded. By default it is enabled. [slidr cycle="yes"] : If enabled, when the carousel reaches its first or last item, instead of stopping it loads the last or first item respectivelly, simulating a circular move. With [slidr cycle="auto"] you can enable autoscoll, which animates the carousel automatically every 4 seconds. [slidr speed="4000"] : Set the autoscroll speed in miliseconds. Default value is 4000ms (4 seconds). This option works only if "cycle" parameter, mentioned above, is set to "auto". [slidr nav="hide"] : Completely hides the navigation buttons. [slidr gallery="yes"] : Instead of posts, the Carousel can be used in "Gallery mode" displaying the images attached to the post in which you call it. By default it is disabled. You can use gallery mode with specific images, by providing the IDs of those images like so: [slidr gallery="1,2,3"]. If gallery mode is enabled, then other conflicting parameters such as post type or hide thumbnail will be ignored. [slidr gallery_link="attachment"] : Whether each item's link should lead to the attachment page or the actual media file if gallery mode is enabled. Default is the Media file. If gallery mode is set to "no" (disabled), then this setting is ignored. [slidr type="post_type"] : The post type whose items will be displayed in the carousel (e.g. [slidr type="post"] for posts, [slidr type="page"] for pages etc.). Default value is "post". [slidr number=some_number] : The number of items to be displayed. Pay attention to the lack of quotation marks (e.g. [slidr number=15]). Default value is 10. [slidr category="category_id"] : The category from which you want to get your items. You should use the categorie's ID like [slidr category="2"]. By default this option is disabled, to get all categories. [slidr parent="parent_page_id"] : Display the children of a page. You should use the page's ID like [slidr parent="2"]. By default this option is disabled. [slidr sticky="yes"] : By default the plugin doesn't care about whether a post is sticky. To only show sticky posts, though, use [slidr sticky="yes"]). [slidr orderby="date"] : The items' order. Default order is by date. [slidr order="ASC"] : Whether the order will be ascending (ASC) or descentind (DESC). Default is "DESC" (descending). If the gallery mode is enabled and is set to get specific images, then this order option gets ignored and the images are ordered based on how the user added the image IDs in his/her shortcode. [slidr size="thumbnail"] : The thumbnail size, based on the registered sizes of your theme. Default value is "thumbnail". Other options usually include "medium", "large" and "original". [slidr thumb="no"] : If you need the carousel to display posts without thumbnails, you can completely disable images. Default value is enabled, of course. [slidr info_box="no"] : By default each item shows a box with the title and excerpt on mouseover or tap. With this option you can disable it. [slidr excerpt="no"] : Hide the excerpt from the info box. [slidr img_link="no"] : Remove the link from each image. [slidr class="yourclass"] : If you have carousels in many different pages, there is a chance that you want to style them separately. With this option you can add a custom class at the carousel's outer container and customize it using CSS. [slidr link="none"] : Removes the link from the title (in case you want to show the details of an image but not link to its attachment page or media file). [slidr template="no"] : Removes the default template for the specific carousel. That way you can keep the default template for all other carousel instances but remove it for those you wish to style differently. Replace the default WordPress gallery By enabling "Use Slidr for Gallery" under the "WordPress Gallery" tab, you can replace the default WordPress gallery ([gallery] shortcode) with Slidr. Doing so you will be able to use the default gallery management mechanism of WordPress as usual and the output will be displayed in a Slidr carousel. In a typical use case, you wouldn't need to mess with shortcodes - just create a gallery via the WordPress editor as you would anyway and see the results. For example, you can order set the order via the Gallery Management screen, set the titles and captions of each image and define whether clicking on images should get to the media file, attachment page or do nothing. Keep in mind that in those cases the outputted shortcode is not [slidr] but [gallery] and that many of the aforementioned parameters for the [slidr] shortcode don't make sense in a gallery context and won't work there. Those which do work are the following: [gallery height="some_number"] : Set the height of the gallery. [gallery loader="no"] : Shows a "loading" animation until all items are loaded. [gallery cycle="yes"] : If enabled, when the carousel reaches its first or last item, instead of stopping it loads the last or first item respectivelly, simulating a circular move. With [gallery cycle="auto"] you can enable autoscoll, which animates the carousel automatically every 4 seconds. [gallery speed="4000"] : Set the autoscroll speed in miliseconds. Default value is 4000ms (4 seconds). This option works only if "cycle" parameter, mentioned above, is set to "auto". [gallery nav="hide"] : Completely hides the navigation buttons. [gallery orderby="menu_order ID"] : The items' order. Default order is by the order passed at the media manager. [gallery order="ASC"] : Whether the order will be ascending (ASC) or descentind (DESC). Default is "ASC" (ascending). [gallery size="thumbnail"] : The thumbnail size, based on the registered sizes of your theme. Default value is "thumbnail". Other options usually include "medium", "large" and "original". [gallery thumb="no"] : If you need the carousel to display posts without thumbnails, you can completely disable images. Default value is enabled, of course. [gallery info_box="no"] : By default each item shows a box with the title and excerpt on mouseover or tap. With this option you can disable it. [gallery excerpt="no"] : Hide the excerpt from the info box. [gallery img_link="no"] : Remove the link from each image. [gallery class="yourclass"] : If you have carousels in many different pages, there is a chance that you want to style them separately. With this option you can add a custom class at the carousel's outer container and customize it using CSS. [gallery link="none"] : Removes the link from the title (in case you want to show the details of an image but not link to its attachment page or media file). [gallery template="no"] : Removes the default template for the specific carousel. That way you can keep the default template for all other carousel instances but remove it for those you wish to style differently. Combinations and alternatives You can combine almost all of the above parameters to customize your query. For example, [slidr type="portfolio" height="200" number=5 category="5" size="medium" excerpt="no" class="myworks" cycle="auto" speed="2000"] should create a carousel of 200 pixels height which would display the five most recent items from your "portfolio" custom post type, AND under a specific category with the id of "5". Items' thumbnails should use the "medium" size and no excerpts should be displayed. Finally, this carousel should autoscroll its items every 2000ms (2 seconds) and it should have a custom class "myworks". If you want to add your carousel directly in your php code, you can use the <?php echo do_shortcode( '[slidr]' ); ?> function, setting parameters the same way as previously described. Overriding default values If you are a theme developer, you can pass your own default values for the [gallery] shortcode directly in your theme. That way you don't need to instruct your users to go and set the appropriate values at the Plugin's options or ask them to mess with the shortcode. You can use it like this: <?php include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); if ( is_plugin_active( 'slidr/slidr.php' ) ) { function slidr_gallery_defaults() { $default['enable'] = 'yes'; // Enable or disable Slidr for Gallery option by default $default['height'] = '500'; // The gallery height $default['size'] = 'medium'; // Thumbnail size $default['speed'] = '4000'; // Carousel speed if "cycle" mode is set to "auto" $default['info_box'] = 'yes'; // Show or hide infobox $default['excerpt'] = 'no'; // Show or hide excerpt $default['loader'] = 'yes'; // Use loading animation $default['nav'] = 'show'; // Show or hide navigation buttons $default['cycle'] = 'no'; // Enable or disable "cycle" mode (options are "yes", "no" and "auto") $default['template'] = 'no'; // Disable the default template $default['class'] = 'myclass' // Pass your class to the container $default['link_class'] = 'myclass' // Pass class to the link $default['img_link'] = 'no' // Enable or disable image link return $default; } } ?>