Changeset 190684
- Timestamp:
- 05/02/2023 06:36:03 PM (3 years ago)
- Location:
- square/2.0.24
- Files:
-
- 4 added
- 8 edited
- 1 copied
-
. (copied) (copied from square/2.0.23)
-
functions.php (modified) (2 diffs)
-
inc/customizer/custom-controls/assets/css/customizer-controls.rtl.css (added)
-
inc/customizer/customizer-custom-controls.php (modified) (1 diff)
-
inc/customizer/customizer-panel/assets/customizer.css (modified) (1 diff)
-
inc/customizer/customizer-panel/assets/customizer.rtl.css (added)
-
inc/customizer/customizer-panel/register-customizer-controls.php (modified) (1 diff)
-
js/square-custom.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
style-rtl.css (added)
-
style.css (modified) (2 diffs)
-
welcome/css/welcome.rtl.css (added)
-
welcome/welcome.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
square/2.0.24/functions.php
r186193 r190684 276 276 277 277 wp_enqueue_script('square-custom', get_template_directory_uri() . '/js/square-custom.js', array('jquery'), SQUARE_VERSION, true); 278 wp_localize_script('square-custom', 'square_localize', array( 279 'is_rtl' => is_rtl() ? 'true' : 'false' 280 )); 278 281 279 282 wp_enqueue_style('animate', get_template_directory_uri() . '/css/animate.css', array(), SQUARE_VERSION); … … 282 285 wp_enqueue_style('owl-carousel', get_template_directory_uri() . '/css/owl.carousel.css', array(), SQUARE_VERSION); 283 286 wp_enqueue_style('square-style', get_stylesheet_uri(), array(), SQUARE_VERSION); 287 wp_style_add_data('square-style', 'rtl', 'replace'); 284 288 wp_add_inline_style('square-style', square_dymanic_styles()); 285 289 -
square/2.0.24/inc/customizer/customizer-custom-controls.php
r186193 r190684 81 81 wp_enqueue_style('selectize', SQUARE_CUSTOMIZER_URL . 'custom-controls/assets/css/selectize.css', array(), SQUARE_VERSION); 82 82 wp_enqueue_style('chosen', SQUARE_CUSTOMIZER_URL . 'custom-controls/assets/css/chosen.css', array(), SQUARE_VERSION); 83 wp_enqueue_style('square-customizer-control', SQUARE_CUSTOMIZER_URL . 'custom-controls/assets/css/customizer-controls.css', array('wp-color-picker'), SQUARE_VERSION); 83 if (is_rtl()) { 84 wp_enqueue_style('square-customizer-control', SQUARE_CUSTOMIZER_URL . 'custom-controls/assets/css/customizer-controls.rtl.css', array('wp-color-picker'), SQUARE_VERSION); 85 } else { 86 wp_enqueue_style('square-customizer-control', SQUARE_CUSTOMIZER_URL . 'custom-controls/assets/css/customizer-controls.css', array('wp-color-picker'), SQUARE_VERSION); 87 } 84 88 } 85 89 -
square/2.0.24/inc/customizer/customizer-panel/assets/customizer.css
r182155 r190684 39 39 font-family: dashicons; 40 40 content: "\f103"; 41 display: inline-block; 41 42 font-size: 20px; 42 43 margin-right: 5px; -
square/2.0.24/inc/customizer/customizer-panel/register-customizer-controls.php
r186193 r190684 21 21 public function enqueue_customizer_script() { 22 22 wp_enqueue_script('square-customizer', SQUARE_CUSTOMIZER_URL . 'customizer-panel/assets/customizer.js', array('jquery'), SQUARE_VERSION, true); 23 wp_enqueue_style('square-customizer', SQUARE_CUSTOMIZER_URL . 'customizer-panel/assets/customizer.css', array(), SQUARE_VERSION); 23 if (is_rtl()) { 24 wp_enqueue_style('square-customizer', SQUARE_CUSTOMIZER_URL . 'customizer-panel/assets/customizer.rtl.css', array(), SQUARE_VERSION); 25 } else { 26 wp_enqueue_style('square-customizer', SQUARE_CUSTOMIZER_URL . 'customizer-panel/assets/customizer.css', array(), SQUARE_VERSION); 27 } 24 28 wp_enqueue_style('fontawesome-v4-shims', get_template_directory_uri() . '/css/v4-shims.css', array(), SQUARE_VERSION); 25 29 } -
square/2.0.24/js/square-custom.js
r147754 r190684 10 10 11 11 $('#sq-bx-slider').owlCarousel({ 12 rtl: JSON.parse(square_localize.is_rtl), 12 13 autoplay: true, 13 14 items: 1, … … 21 22 22 23 $(".sq_client_logo_slider").owlCarousel({ 24 rtl: JSON.parse(square_localize.is_rtl), 23 25 autoplay: true, 24 26 items: 5, -
square/2.0.24/readme.txt
r188626 r190684 8 8 Requires at least: 5.6 9 9 Tested up to: 6.2 10 Stable tag: 2.0.2 310 Stable tag: 2.0.24 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 22 22 23 23 == Changelog == 24 = 2.0.24 - May 02, 2023 = 25 * RTL Compatibility - Added 26 24 27 = 2.0.23 - Apr 05, 2023 = 25 28 * Minor Navigation CSS issued fixed -
square/2.0.24/style.css
r188626 r190684 5 5 Author URI: https://hashthemes.com 6 6 Description: Square is a flexible responsive multipurpose theme compatible with all browsers and devices, fully mobile friendly, loaded with lots of features. It is a minimal theme based on WordPress Customizer that allows you to customize with live preview. The theme can be used for business, corporate, digital agency, personal, portfolio, photography, parallax, blogs and magazines. Square is eCommerce (WooCommerce) Compatible, Polylang Compatible, WPML, RTL, Retina Ready, SEO Friendly and Support bbPress and BuddyPress. More over it is a complete theme. For demo https://demo.hashthemes.com/square 7 Version: 2.0.2 37 Version: 2.0.24 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 2271 2271 } 2272 2272 .woocommerce ul.products li.product .onsale:after{ 2273 border-color: transparent transparent var(--square-template-dark-color, #4EA3AD) var(--square-template-dark-color, #4EA3AD) };2273 border-color: transparent transparent var(--square-template-dark-color, #4EA3AD) var(--square-template-dark-color, #4EA3AD); 2274 2274 } 2275 2275 -
square/2.0.24/welcome/welcome.php
r184648 r190684 174 174 'ajax_nonce' => wp_create_nonce('square_activate_hdi_plugin') 175 175 ); 176 wp_enqueue_style('square-welcome', get_template_directory_uri() . '/welcome/css/welcome.css', array(), SQUARE_VERSION); 176 if (is_rtl()) { 177 wp_enqueue_style('square-welcome', get_template_directory_uri() . '/welcome/css/welcome.rtl.css', array(), SQUARE_VERSION); 178 } else { 179 wp_enqueue_style('square-welcome', get_template_directory_uri() . '/welcome/css/welcome.css', array(), SQUARE_VERSION); 180 } 177 181 wp_enqueue_script('square-welcome', get_template_directory_uri() . '/welcome/js/welcome.js', array('plugin-install', 'updates'), SQUARE_VERSION, true); 178 182 wp_localize_script('square-welcome', 'importer_params', $importer_params);
Note: See TracChangeset
for help on using the changeset viewer.