{"id":55650,"date":"2015-10-13T03:07:30","date_gmt":"2015-10-13T07:07:30","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=55650"},"modified":"2017-08-24T05:35:00","modified_gmt":"2017-08-24T09:35:00","slug":"magento-how-to-add-more-slides-to-slider","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-how-to-add-more-slides-to-slider.html","title":{"rendered":"Magento. How to add more slides to slider"},"content":{"rendered":"<p>\r\n<p>This tutorial is going to show you how to add more slides to slider in Magento.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=woZSNy7Y5xY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to add more slides to slider<\/a><\/p>\r\n<p>In order to add more slides to slider, you should perform the following steps:<\/p>\r\n<ol>\r\n<li>\r\n<p>Open admin section, go to <strong>CMS->Static Blocks<\/strong>:  <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1-300x36.png\" alt=\"Magento_How_to_add_slide-1\" width=\"300\" height=\"36\" class=\"aligncenter size-medium wp-image-55651\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1-300x36.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1-150x18.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1-1024x123.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-1.png 1891w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Find <strong>Slideshow block<\/strong> and open it:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2-300x116.png\" alt=\"Magento_How_to_add_slide-2\" width=\"300\" height=\"116\" class=\"aligncenter size-medium wp-image-55652\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2-300x116.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2-150x58.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2-1024x395.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-2.png 1878w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Open <strong>Content field<\/strong>. There you will find code for slider: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3-300x76.png\" alt=\"Magento_How_to_add_slide-3\" width=\"300\" height=\"76\" class=\"aligncenter size-medium wp-image-55653\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3-300x76.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3-150x38.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3-1024x260.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-3.png 1889w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>In order to add new slide, you need to copy part of the code that is related to the slide. Copy the following code and locate it above or below of the existing code: <\/p>\r\n<\/li>\r\n<pre class=\"brush:html\">\r\n           &lt;div data-src=\"{{skin url='images\/camera\/slides\/slide3.jpg'}}\"&gt;\r\n               &lt;div class=\"camera_caption fadeIn\"&gt;\r\n                 &lt;a href=\"{{store url='headphones.html'}}\"&gt;\r\n                  &lt;div class=\"container\"&gt;\r\n                   &lt;div class=\"camera_caption_txt\"&gt;\r\n                     &lt;p&gt;The Best&lt;\/p&gt;\r\n                      &lt;h6&gt;Musical Instruments&lt;\/h6&gt;\r\n                       &lt;span&gt;Mes cuml dia sed inenias ingerto lot aliiqt dolore ipsumcommete.&lt;\/span&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;\/a&gt;\r\n                     &lt;\/div&gt;\r\n                   &lt;\/div&gt;\r\n\t          <\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4-300x81.png\" alt=\"Magento_How_to_add_slide-4\" width=\"300\" height=\"81\" class=\"aligncenter size-medium wp-image-55654\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4-300x81.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4-150x41.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4-1024x277.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-4.png 1885w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\t\t\t <\/p>\r\n<li>\r\n<p>In order to display new image in slider, start from the new line. Navigate to the <strong>Top menu<\/strong> and click on <strong>Insert Image<\/strong> button. Press <strong>Browse<\/strong> button and click on <strong>Upload<\/strong> button in order to download a new image from your computer:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5-300x163.png\" alt=\"Magento_How_to_add_slide-5\" width=\"300\" height=\"163\" class=\"aligncenter size-medium wp-image-55656\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5-300x163.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5-150x81.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5-1024x555.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-5.png 1277w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Select new image and press <strong>Insert File<\/strong> in the right corner of the form:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6-300x166.png\" alt=\"Magento_How_to_add_slide-6\" width=\"300\" height=\"166\" class=\"aligncenter size-medium wp-image-55655\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6-300x166.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6-1024x566.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-6.png 1270w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>After that steps you will get directory for new image: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7-300x137.png\" alt=\"Magento_How_to_add_slide-7\" width=\"300\" height=\"137\" class=\"aligncenter size-medium wp-image-55657\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7-300x137.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7-150x68.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7-1024x466.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-7.png 1285w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>In order to display the new image in slider, replace <strong>&#8220;{{skin url=&#8217;images\/camera\/slides\/slide3.jpg&#8217;}}&#8221;&gt; <\/strong> with newly created directory <strong>&#8220;{{media url=&#8221;wysiwyg\/new_image.jpg&#8221;}}&#8221; alt=&#8221;&#8221; \/&gt;<\/strong>. Keep original coding structure: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8-300x148.png\" alt=\"Magento_How_to_add_slide-8\" width=\"300\" height=\"148\" class=\"aligncenter size-medium wp-image-55658\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8-300x148.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8-150x74.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8-1024x506.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-8.png 1276w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9-300x153.png\" alt=\"Magento_How_to_add_slide-9\" width=\"300\" height=\"153\" class=\"aligncenter size-medium wp-image-55659\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9-300x153.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9-150x76.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9-1024x522.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-9.png 1268w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Remove all parts of code that we will not use: <strong>&lt;img src.<\/strong><\/p>\r\n<\/li>\r\n<li>\r\n<p>After all changes, code should look in such a way:<\/p>\r\n<pre class=\"brush:html\">\r\n           &lt;div data-src=\"{{media url=\"wysiwyg\/new_image.jpg\"}}\" alt=\"\" \/&gt;\r\n               &lt;div class=\"camera_caption fadeIn\"&gt;\r\n                 &lt;a href=\"{{store url='headphones.html'}}\"&gt;\r\n                  &lt;div class=\"container\"&gt;\r\n                   &lt;div class=\"camera_caption_txt\"&gt;\r\n                     &lt;p&gt;The Best&lt;\/p&gt;\r\n                      &lt;h6&gt;Musical Instruments&lt;\/h6&gt;\r\n                       &lt;span&gt;Mes cuml dia sed inenias ingerto lot aliiqt dolore ipsumcommete.&lt;\/span&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;\/div&gt;\r\n                       &lt;\/a&gt;\r\n                     &lt;\/div&gt;\r\n                   &lt;\/div&gt;\r\n\t          <\/pre>\r\n<\/li>\r\n<li>\r\n<p>Save changes and refresh your website. Now we can see that slide is added.\r\n  <\/li>\r\n<\/ol>\r\n<p>Also you can add a new slide in the following way:<\/p>\r\n<ol>\r\n<li>\r\n<p>Change name of image in skin url directory for example from slide3.jpg to slide4.jpg .<strong>&lt;div data-src=&#8221;{{skin url=&#8217;images\/camera\/slides\/slide4.jpg&#8217;}}&#8221;&gt;<\/strong>. Keep original coding structure: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10-300x154.png\" alt=\"Magento_How_to_add_slide-10\" width=\"300\" height=\"154\" class=\"aligncenter size-medium wp-image-55660\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10-300x154.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10-1024x527.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/Magento_How_to_add_slide-10.png 1260w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Upload new image with name <strong>slide4.jpg<\/strong> in the following directory: <strong>skin\/frontend\/themes\/themeXXX\/images\/camera\/slides\/<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Save changes. Now we can see that new slide is added. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-2-(835-x100).jpg\"\/>\r\n<\/a>\r\n<\/div>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=woZSNy7Y5xY?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to add more slides to slider<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to add more slides to slider in Magento.<\/p>\n","protected":false},"author":96,"featured_media":55661,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[2407,617,1726,816],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55650"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=55650"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55650\/revisions"}],"predecessor-version":[{"id":82952,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55650\/revisions\/82952"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/55661"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=55650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=55650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=55650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}