BlogrCart Closet Blogger theme comes with 2 sets of responsive touch/mouse enabled image carousel powered by slick.js. The first set will be located on Product Pages, and the other on Gallery & Static Pages. This tutorial & code snippet explains the settings for the image carousel used in a blogger pages either than the Product Post pages. Both of the image carousel settings are using Google + Blogger API, a request callback to grab a blog content feed & display at a page. In order to minimize load & best optimisation practices, BlogrCart Closet theme only fetches the product image , price tag & product title .The image fetched are also scalable & very useful to set the width & height of displayed images within the carousel image container. Find below the location & settings built for the related image carousel in pages other than the Product Post pages below. |
$ 25.00 |
Add to Cart |
PRO Version In Blogger template editor, find <div id='footer-top'> which is located half way to the bottom of template codes.Above this code is the settings for the image carousel. This functions is requesting Google+Blogger API blog feed. <script> The snippet above are self explanatory. Edit to your requirement. In addition, the images (& products) is displayed according to the respective Labels set for easy categorisation. Edit the Label tag at the highlighted code snippet below:-<script expr:src='"/feeds/posts/default/-/Features?published&alt=json-in-script&callback=productDisplay"' type='text/javascript'/> The text is case sensitive & spaces are replaced with %20 . Edit to your preferred Label of choice. Example product post must be published with assigned Label in order to initiate the image carousel.Freemium Version Freemium theme has a much simplified code settings to see how this plug-in works & for test purposes. Below are the example settings codes:- <script> Edit to personal requirement. Editing the required product post to display by Labels is using the same features as above. |
Due to the touch/swipe enabled image carousel responsive behaviour, users can set the image transition duration, auto pagination timing & the amount of products to display & cycle through. At template editor, use Jump To Widget , select HTML99 & find this code <b:includable id='carousel-settings'> , expand the code to view the detail settings.An example would look like so:- <script> Comments & indicators included. Edit to your requirement. The settings above shares the same settings for the related product image carousel located in Product Post pages. |
Không có nhận xét nào
Đăng nhận xét