Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  v.1.5.5
  • Loading branch information
Vanesa Reinerth committed Dec 17, 2020
2 parents c61194a + 2532a77 commit 7a80aa3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
7 changes: 5 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Contributors: getbowtied, vanesareinerth, adrianlbs
Tags: gutenberg, blocks
Requires at least: 5.0
Tested up to: 5.6
Stable tag: 1.5.4
Stable tag: 1.5.5
Requires PHP: 5.5.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
~Current Version:1.5.4~
~Current Version:1.5.5~

Extends the functionality of the The Retailer theme by adding theme specific features.

Expand Down Expand Up @@ -39,6 +39,9 @@ Companion plugin for the **The Retailer** theme. Extends the functionality by ad

== Changelog ==

= 1.5.5 =
- Small maintenance updates

= 1.5.4 =
- Maintenance: Fixed a few jQuery deprecated features warnings

Expand Down
6 changes: 3 additions & 3 deletions core/updater/assets/plugin.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "The Retailer Extender",
"version": "1.5.4",
"version": "1.5.5",
"download_url": "https://github.com/getbowtied/the-retailer-extender/zipball/master",

"homepage": "https://themeforest.net/item/the-retailer-responsive-wordpress-theme/4287447",
"requires": "5.0",
"tested": "5.6",
"last_updated": "2020-12-15 11:00:00",
"last_updated": "2020-12-17 11:00:00",

"author": "GetBowtied",
"author_homepage": "https://getbowtied.com/",

"sections": {
"description": "<p>Companion plugin for the <b>The Retailer</b> theme. Extends the functionality by adding theme specific features.</p><h4>Features:</h4><ul><li>Adds 'Social Media' section in Customizer for easy management of links to social media profiles</li><li>Adds header image option for WooCommerce product categories</li><li>Adds 'Additional JS' section in Customizer allowing for site customization with custom JavaScript code</li><li>Adds social sharing buttons for WooCommerce products and blog posts</li></ul><h4>Gutenberg Blocks:</h4><ul><li>Banner</li><li>Image Slider</li><li>Posts Grid</li><li>Social Media Profiles</li></ul><h4>WPBakery Page Builder Elements:</h4><ul><li>Slider</li><li>Banner</li><li>Blog Posts</li><li>Title & Subtitle</li><li>Social Media Profiles</li><li>Team Members</li><li>Icon Box</li><li>Product Sliders</li></ul>",
"changelog": "<h4>1.5.4</h4><ul><li>Maintenance: Fixed a few jQuery deprecated features warnings</li></ul><h4>1.5.3</h4><ul><li>Maintenance: Updated Swiper library to its latest version</li></ul><h4>1.5.2</h4><ul><li>Small maintenance updates</li></ul><h4>1.5.1</h4><ul><li>WordPress 5.5 compatibility updates</li></ul><h4>1.5.0</h4><ul><li>New: Social Media Customizer Control that allows for custom Icons and Social Profile links</li></ul><h4>1.4.9</h4><ul><li>Small maintenance updates</li></ul><h4>1.4.8</h4><ul><li>Small maintenance updates</li></ul><h4>1.4.7</h4><ul><li>Fixed: Localization issues</li></ul><h4>1.4.6</h4><ul><li>Fixed: Slider arrows display</li></ul><h4>1.4.5</h4><ul><li>Updated the language template file</li></ul><h4>1.4.4</h4><ul><li>WordPress 5.3.1 compatibility updates</li></ul><h4>1.4.3</h4><ul><li>WordPress 5.3 compatibility updates</li></ul><h4>1.4.2</h4><ul><li>Upcoming WordPress 5.3 compatibility updates</li></ul><h4>1.4.1</h4><ul><li>Fixed: Header image add/remove option for WooCommerce product categories</li><li>The Retailer 3.1.0 compatibility updates</li></ul><h4>1.4</h4><ul><li>The Retailer 3 compatibility updates</li></ul><h4>1.3.2</h4><ul><li>Fixed: Featured products slider shortcode display issues</li></ul><h4>1.3.1</h4><ul><li>Added: Row and Inner Row Options for WPBakery's Page Builder</li></ul><h4>1.3</h4><ul><li>Adds: the 'Social Media' section in Customizer allowing for easy management of links to social media profiles. The icons are being displayed in the footer area and can be displayed in pages using the Gutenberg Block or the WPBakery Page Builder element (functionality transferred from the theme).</li><li>Adds: Theme-specific WPBakery Page Builder elements: Slider, Banner, Blog Posts, Title & Subtitle, Social Media Profiles, Team Members, Icon Box, Product Sliders (functionality transferred from the theme).</li><li>Adds: Upload header images for WooCommerce product categories (functionality transferred from the theme).</li><li>Adds: Theme-specific 'Additional JS' section in Customizer allowing for site customization with custom JavaScript code</li><li>Adds: Theme-specific social sharing buttons for WooCommerce products and blog posts</li></ul><h4>1.2.2</h4><ul><li>WordPress 5.1 compatibility improvements</li></ul><h4>1.2.1</h4><ul><li>Fixed: Columns Block displaying issue</li></ul><h4>1.2</h4><ul><li>WordPress 5+ compatibility improvements</li><li>Improved styles for theme neutrality</li> <li>Localization issues with the Posts Grid Block</li></ul><h4>1.1</h4><ul><li>WordPress 5+ compatibility improvements</li></ul><h4>1.0</h4><ul><li>Initial Version</li></ul>"
"changelog": "<h4>1.5.5</h4><ul><li>Small maintenance updates</li></ul><h4>1.5.4</h4><ul><li>Maintenance: Fixed a few jQuery deprecated features warnings</li></ul><h4>1.5.3</h4><ul><li>Maintenance: Updated Swiper library to its latest version</li></ul><h4>1.5.2</h4><ul><li>Small maintenance updates</li></ul><h4>1.5.1</h4><ul><li>WordPress 5.5 compatibility updates</li></ul><h4>1.5.0</h4><ul><li>New: Social Media Customizer Control that allows for custom Icons and Social Profile links</li></ul><h4>1.4.9</h4><ul><li>Small maintenance updates</li></ul><h4>1.4.8</h4><ul><li>Small maintenance updates</li></ul><h4>1.4.7</h4><ul><li>Fixed: Localization issues</li></ul><h4>1.4.6</h4><ul><li>Fixed: Slider arrows display</li></ul><h4>1.4.5</h4><ul><li>Updated the language template file</li></ul><h4>1.4.4</h4><ul><li>WordPress 5.3.1 compatibility updates</li></ul><h4>1.4.3</h4><ul><li>WordPress 5.3 compatibility updates</li></ul><h4>1.4.2</h4><ul><li>Upcoming WordPress 5.3 compatibility updates</li></ul><h4>1.4.1</h4><ul><li>Fixed: Header image add/remove option for WooCommerce product categories</li><li>The Retailer 3.1.0 compatibility updates</li></ul><h4>1.4</h4><ul><li>The Retailer 3 compatibility updates</li></ul><h4>1.3.2</h4><ul><li>Fixed: Featured products slider shortcode display issues</li></ul><h4>1.3.1</h4><ul><li>Added: Row and Inner Row Options for WPBakery's Page Builder</li></ul><h4>1.3</h4><ul><li>Adds: the 'Social Media' section in Customizer allowing for easy management of links to social media profiles. The icons are being displayed in the footer area and can be displayed in pages using the Gutenberg Block or the WPBakery Page Builder element (functionality transferred from the theme).</li><li>Adds: Theme-specific WPBakery Page Builder elements: Slider, Banner, Blog Posts, Title & Subtitle, Social Media Profiles, Team Members, Icon Box, Product Sliders (functionality transferred from the theme).</li><li>Adds: Upload header images for WooCommerce product categories (functionality transferred from the theme).</li><li>Adds: Theme-specific 'Additional JS' section in Customizer allowing for site customization with custom JavaScript code</li><li>Adds: Theme-specific social sharing buttons for WooCommerce products and blog posts</li></ul><h4>1.2.2</h4><ul><li>WordPress 5.1 compatibility improvements</li></ul><h4>1.2.1</h4><ul><li>Fixed: Columns Block displaying issue</li></ul><h4>1.2</h4><ul><li>WordPress 5+ compatibility improvements</li><li>Improved styles for theme neutrality</li> <li>Localization issues with the Posts Grid Block</li></ul><h4>1.1</h4><ul><li>WordPress 5+ compatibility improvements</li></ul><h4>1.0</h4><ul><li>Initial Version</li></ul>"
},

"icons" : {
Expand Down
15 changes: 11 additions & 4 deletions includes/gbt-blocks/slider/assets/js/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ jQuery(function($) {

"use strict";

function tr_generate_slider_unique_ID() {
return Math.round(new Date().getTime() + (Math.random() * 100));
}

$('.gbt_18_tr_slider_container').each(function() {

var mySwiper = new Swiper( '.gbt_18_tr_slider_container', {
var data_id = tr_generate_slider_unique_ID();
$(this).addClass( 'swiper-' + data_id );

var mySwiper = new Swiper( '.swiper-' + data_id, {

// Optional parameters
direction: 'horizontal',
Expand All @@ -20,13 +27,13 @@ jQuery(function($) {
parallax: true,
// Pagination
pagination: {
el: '.gbt_18_tr_slider_container .gbt_18_tr_slider_pagination',
el: '.swiper-' + data_id + ' .gbt_18_tr_slider_pagination',
dynamicBullets: true
},
// Navigation
navigation: {
nextEl: '.gbt_18_tr_slider_container .swiper-button-next',
prevEl: '.gbt_18_tr_slider_container .swiper-button-prev',
nextEl: '.swiper-' + data_id + ' .swiper-button-next',
prevEl: '.swiper-' + data_id + ' .swiper-button-prev',
},
});

Expand Down
2 changes: 1 addition & 1 deletion the-retailer-extender.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: The Retailer Extender
* Plugin URI: https://theretailer.wp-theme.design/
* Description: Extends the functionality of The Retailer with theme specific features.
* Version: 1.5.4
* Version: 1.5.5
* Author: GetBowtied
* Author URI: https://getbowtied.com
* Requires at least: 5.0
Expand Down

0 comments on commit 7a80aa3

Please sign in to comment.