Version Description
Download this release
Release Info
| Developer | creativethemeshq |
| Plugin | |
| Version | 1.8.27 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.26 to 1.8.27
- blocksy-companion.php +1 -1
- framework/extensions/cookies-consent/static/bundle/main.min.css +1 -1
- framework/extensions/newsletter-subscribe/static/bundle/main.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main-admin.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main.min.css +1 -1
- framework/extensions/trending/static/bundle/main.min.css +1 -1
- framework/extensions/widgets/static/bundle/main.min.css +1 -1
- framework/features/conditions-manager.php +27 -29
- readme.txt +4 -1
- static/bundle/account-lazy.min.css +1 -1
- static/bundle/dashboard.min.css +1 -1
- static/bundle/main.min.css +1 -1
- static/bundle/options.min.css +1 -1
blocksy-companion.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
-
Version: 1.8.
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blocksy-companion
|
| 3 |
/*
|
| 4 |
Plugin Name: Blocksy Companion
|
| 5 |
Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
|
| 6 |
+
Version: 1.8.27
|
| 7 |
Author: CreativeThemes
|
| 8 |
Author URI: https://creativethemes.com
|
| 9 |
Text Domain: blocksy-companion
|
framework/extensions/cookies-consent/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/newsletter-subscribe/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main-admin.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/trending/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/extensions/widgets/static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
framework/features/conditions-manager.php
CHANGED
|
@@ -80,10 +80,12 @@ class ConditionsManager {
|
|
| 80 |
return true;
|
| 81 |
}
|
| 82 |
|
|
|
|
| 83 |
if ($rule['rule'] === 'singulars') {
|
| 84 |
return is_singular();
|
| 85 |
}
|
| 86 |
|
|
|
|
| 87 |
if ($rule['rule'] === 'archives') {
|
| 88 |
return is_archive();
|
| 89 |
}
|
|
@@ -452,10 +454,8 @@ class ConditionsManager {
|
|
| 452 |
|
| 453 |
$has_woo = class_exists('WooCommerce');
|
| 454 |
|
| 455 |
-
$common_rules = [
|
| 456 |
-
|
| 457 |
-
if ($args['filter'] === 'all') {
|
| 458 |
-
$common_rules[] = [
|
| 459 |
'title' => '',
|
| 460 |
'rules' => [
|
| 461 |
[
|
|
@@ -463,8 +463,10 @@ class ConditionsManager {
|
|
| 463 |
'title' => __('Entire Website', 'blocksy-companion')
|
| 464 |
]
|
| 465 |
]
|
| 466 |
-
]
|
|
|
|
| 467 |
|
|
|
|
| 468 |
$common_rules[] = [
|
| 469 |
'title' => __('Basic', 'blocksy-companion'),
|
| 470 |
'rules' => [
|
|
@@ -629,34 +631,30 @@ class ConditionsManager {
|
|
| 629 |
|
| 630 |
$specific_ids = [];
|
| 631 |
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
];
|
| 637 |
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
|
| 641 |
-
|
| 642 |
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
}
|
| 653 |
|
| 654 |
-
|
| 655 |
-
|
| 656 |
-
|
| 657 |
-
|
| 658 |
-
];
|
| 659 |
-
}
|
| 660 |
|
| 661 |
$specific_conditions[] = [
|
| 662 |
'title' => __('Specific', 'blocksy-companion'),
|
| 80 |
return true;
|
| 81 |
}
|
| 82 |
|
| 83 |
+
|
| 84 |
if ($rule['rule'] === 'singulars') {
|
| 85 |
return is_singular();
|
| 86 |
}
|
| 87 |
|
| 88 |
+
|
| 89 |
if ($rule['rule'] === 'archives') {
|
| 90 |
return is_archive();
|
| 91 |
}
|
| 454 |
|
| 455 |
$has_woo = class_exists('WooCommerce');
|
| 456 |
|
| 457 |
+
$common_rules = [
|
| 458 |
+
[
|
|
|
|
|
|
|
| 459 |
'title' => '',
|
| 460 |
'rules' => [
|
| 461 |
[
|
| 463 |
'title' => __('Entire Website', 'blocksy-companion')
|
| 464 |
]
|
| 465 |
]
|
| 466 |
+
]
|
| 467 |
+
];
|
| 468 |
|
| 469 |
+
if ($args['filter'] === 'all') {
|
| 470 |
$common_rules[] = [
|
| 471 |
'title' => __('Basic', 'blocksy-companion'),
|
| 472 |
'rules' => [
|
| 631 |
|
| 632 |
$specific_ids = [];
|
| 633 |
|
| 634 |
+
$specific_ids[] = [
|
| 635 |
+
'id' => 'post_ids',
|
| 636 |
+
'title' => __('Post ID', 'blocksy-companion')
|
| 637 |
+
];
|
|
|
|
| 638 |
|
| 639 |
+
$specific_ids[] = [
|
| 640 |
+
'id' => 'page_ids',
|
| 641 |
+
'title' => __('Page ID', 'blocksy-companion')
|
| 642 |
+
];
|
| 643 |
|
| 644 |
+
$specific_ids[] = [
|
| 645 |
+
'id' => 'custom_post_type_ids',
|
| 646 |
+
'title' => __('Custom Post Type ID', 'blocksy-companion')
|
| 647 |
+
];
|
| 648 |
|
| 649 |
+
$specific_ids[] = [
|
| 650 |
+
'id' => 'post_with_taxonomy_ids',
|
| 651 |
+
'title' => __('Post with Taxonomy ID', 'blocksy-companion')
|
| 652 |
+
];
|
|
|
|
| 653 |
|
| 654 |
+
$specific_ids[] = [
|
| 655 |
+
'id' => 'taxonomy_ids',
|
| 656 |
+
'title' => __('Taxonomy ID', 'blocksy-companion')
|
| 657 |
+
];
|
|
|
|
|
|
|
| 658 |
|
| 659 |
$specific_conditions[] = [
|
| 660 |
'title' => __('Specific', 'blocksy-companion'),
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Requires PHP: 7.0
|
|
| 5 |
Tested up to: 5.9
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
-
Stable tag: 1.8.
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
|
@@ -23,6 +23,9 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
|
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 26 |
1.8.26: 2022-04-21
|
| 27 |
- Improvement: General fixes and improvements
|
| 28 |
|
| 5 |
Tested up to: 5.9
|
| 6 |
License: GPLv2 or later
|
| 7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 8 |
+
Stable tag: 1.8.27
|
| 9 |
|
| 10 |
== Description ==
|
| 11 |
|
| 23 |
2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
|
| 24 |
|
| 25 |
== Changelog ==
|
| 26 |
+
1.8.27: 2022-04-22
|
| 27 |
+
- Improvement: General fixes and improvements
|
| 28 |
+
|
| 29 |
1.8.26: 2022-04-21
|
| 30 |
- Improvement: General fixes and improvements
|
| 31 |
|
static/bundle/account-lazy.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
static/bundle/dashboard.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
static/bundle/main.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
static/bundle/options.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/**
|
| 2 |
-
* - v1.8.
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
| 1 |
/**
|
| 2 |
+
* - v1.8.27
|
| 3 |
*
|
| 4 |
* Copyright (c) 2022
|
| 5 |
* Licensed GPLv2+
|
