{"id":1742,"date":"2019-09-14T15:09:11","date_gmt":"2019-09-14T07:09:11","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=1742"},"modified":"2020-05-12T13:25:20","modified_gmt":"2020-05-12T05:25:20","slug":"how-to-create-a-carousel-in-wordpress-with-slide-anything","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/how-to-create-a-carousel-in-wordpress-with-slide-anything\/","title":{"rendered":"How to create a Carousel in WordPress with Slide Anything"},"content":{"rendered":"<p>When you have been adding content to your website for some time, you may notice two things:<\/p>\n<ol>\n<li>There are many pages that are never visited in months or even years.<\/li>\n<li>The home page will always have page views.<\/li>\n<\/ol>\n<p>Given these points, the home page is one place where you have the chance to promote pages that are rarely seen organically.<\/p>\n<p>If your website is realised by polyglot stack, then you will find the <a href=\"https:\/\/wordpress.org\/plugins\/slide-anything\/\" rel=\"noopener\" target=\"_blank\">Slide Anything plugin<\/a> useful for creating a Carousel for your WordPress instance.<\/p>\n<p>Given that, this post shows how you can create a Carousel in WordPress with Slide Anything.<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"275\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Sample-Slide-Anything-WordPress-Carousel-on-Techcoil-home-page.jpg\" class=\"alignnone size-full wp-image-1743\" alt=\"Sample Slide Anything WordPress Carousel on Techcoil home page\"><\/p>\n<h2>Installing Slide Anything in your WordPress instance<\/h2>\n<p>First, find Slide Anything plugin from your WordPress's Add Plugins page:<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"230\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Slide-Anything-plugin-appearing-in-search-results-of-WordPress-Add-Plugins-page.gif\" class=\"alignnone size-full wp-image-1745\" alt=\"Slide Anything plugin appearing in search results of WordPress Add Plugins page\"><\/p>\n<p>Once the plugin appears in the search results, click <strong>Install Now<\/strong>. After the installation is completed, click <strong>Activate<\/strong> to activate it.<\/p>\n<h2>Accessing the SA Sliders dashboard<\/h2>\n<p>After you had activated the plugin, you should be able to find <strong>SA Sliders<\/strong> link on the left.<\/p>\n<p>Click on the link to get into the dashboard:<\/p>\n<p><img decoding=\"async\" width=\"597\" height=\"404\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/WordPress-screenshot-of-SA-Sliders-link-being-active.gif\" alt=\"WordPress screenshot of SA Sliders link being active\" class=\"aligncenter size-full wp-image-1747\" \/><\/p>\n<p>When you get to the <strong>SA Sliders<\/strong> dashboard, you should see <strong>Sample Slider<\/strong> already created for you. This is a sample for you to get started with. Click on <strong>Sample Slider<\/strong> to see how you can add slides to your Slider:<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"537\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Edit-Sample-Slider-of-Slide-Anything-plugin-in-WordPress-dashboard.gif\" alt=\"Edit Sample Slider of Slide Anything plugin in WordPress dashboard\" class=\"aligncenter size-full wp-image-1748\" \/><\/p>\n<p>You can preview how the slider \/ carousel looks like by clicking on <strong>Preview Slider<\/strong> at the top right corner of the screen.<\/p>\n<p>In addition, you can decide how many slides to display at once for each device orientation under the <strong>Items Displayed<\/strong> section of the screen.<\/p>\n<p>In the <strong>Slides<\/strong> section of the slider instance that you are creating, you get to add \/ remove slides from your slider. <\/p>\n<p>For each slide, you are able to define the HTML content and some properties of the slide.<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"656\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Screenshot-of-Slide-1-of-Sample-Slider-in-Slide-Anything-plugin.gif\" alt=\"Screenshot of Slide 1 of Sample Slider in Slide Anything plugin\" class=\"aligncenter size-full wp-image-1750\" \/><\/p>\n<h3>Linking the slide to a web page<\/h3>\n<p>There are two ways to link the slide to a web page.<\/p>\n<p>You can either do so with the <strong>Slide Link<\/strong> controls <\/p>\n<p><img decoding=\"async\" width=\"938\" height=\"607\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Screenshoit-of-Slide-link-control-of-Slide-1-of-Sample-Slider-in-Slide-Anything-plugin.gif\" alt=\"Screenshoit of Slide link control of Slide 1 of Sample Slider in Slide Anything plugin\" class=\"aligncenter size-full wp-image-1751\" \/><\/p>\n<p>or include an anchor element within the HTML content.<\/p>\n<p>Personally, I prefer to include an anchor element within the HTML content as that will allow me to decide which element will navigate the user to the web page.<\/p>\n<h3>Saving changes to your slider \/ carousel instance<\/h3>\n<p>Once you are done with the changes, you can click on <strong>Update<\/strong> at the <strong>Publish<\/strong> section of the screen:<\/p>\n<p><img decoding=\"async\" width=\"306\" height=\"261\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Screenshot-of-the-Publish-section-of-Slide-Anything-plugin.gif\" alt=\"Screenshot of the Publish section of Slide Anything plugin\" class=\"aligncenter size-full wp-image-1752\" \/><\/p>\n<h2>Creating a new slider \/ carousel instance<\/h2>\n<p>If you choose to create a new slider instance, you can click on <strong>Add new Slider<\/strong> link under SA Sliders menu at the left or the <strong>Add new Slider<\/strong> link at the top of the slider listing page.<\/p>\n<p>Once you do so, you will be presented with a similar interface as the <strong>Edit Slider<\/strong> page.<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"537\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Add-New-Slider-screen-of-Slide-Anything-plugin-in-WordPress-dashboard.gif\" alt=\"Add New Slider screen of Slide Anything plugin in WordPress dashboard\" class=\"aligncenter size-full wp-image-1749\" \/><\/p>\n<p>After you are done with configuring your new slider, click on <strong>Publish<\/strong> under the Publish section.<\/p>\n<h2>Displaying your slider \/ carousel instance within your WordPress theme pages<\/h2>\n<p>When you have created a slider \/ carousel instance, the final step will be to display it in a page of your choice.<\/p>\n<p>For example, if I want the carousel instance to appear in the index page, I will edit <code>index.php<\/code> of my active theme.<\/p>\n<p>To display the carousel instance, first find the <strong>Shortcode<\/strong> at the top right corner of your slider configuration screen:<\/p>\n<p><img decoding=\"async\" width=\"309\" height=\"160\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Screenshot-of-the-ShortCode-Preview-section-of-Slide-Anything-plugin.gif\" alt=\"Screenshot of the ShortCode Preview section of Slide Anything plugin\" class=\"aligncenter size-full wp-image-1753\" \/><\/p>\n<p>Once you have the short code, you can use the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/do_shortcode\/\" rel=\"noopener\" target=\"_blank\">do_shortcode function<\/a> to display the carousel instance:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php \r\necho do_shortcode('&#x5B;slide-anything id=&quot;284&quot;]');\r\n?&gt;\r\n<\/pre>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-s6\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-s6&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-s6&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1742&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>When you have been adding content to your website for some time, you may notice two things:<\/p>\n<ol>\n<li>There are many pages that are never visited in months or even years.<\/li>\n<li>The home page will always have page views.<\/li>\n<\/ol>\n<p>Given these points, the home page is one place where you have the chance to promote pages that are rarely seen organically.<\/p>\n<p>If your website is realised by polyglot stack, then you will find the <a href=\"https:\/\/wordpress.org\/plugins\/slide-anything\/\" rel=\"noopener\" target=\"_blank\">Slide Anything plugin<\/a> useful for creating a Carousel for your WordPress instance.<\/p>\n<p>Given that, this post shows how you can create a Carousel in WordPress with Slide Anything.<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"275\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Sample-Slide-Anything-WordPress-Carousel-on-Techcoil-home-page.jpg\" class=\"alignnone size-full wp-image-1743\" alt=\"Sample Slide Anything WordPress Carousel on Techcoil home page\"><\/p>\n","protected":false},"author":1,"featured_media":1747,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[375,4],"tags":[475,17,16,680,5,681,664],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/WordPress-screenshot-of-SA-Sliders-link-being-active.gif","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-s6","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/1742"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=1742"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/1742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/1747"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=1742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=1742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=1742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}