Skip to content

Commit 5b58d2d

Browse files
committed
fixed admin panel customization dropdown disappearance bug
1 parent 357bd2b commit 5b58d2d

5 files changed

Lines changed: 15 additions & 3 deletions

includes/reviews-slider-horizontal-carousel-template.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ function isMobileDevice() {
488488
<?php } ?>
489489
</style>
490490

491+
<?php if(isset($filteredReviews) && count(array_slice($filteredReviews, 0, 8)) > 3) { ?>
492+
491493
<?php if(isset($feed_object->schema_enabled) && $feed_object->schema_enabled == 'yes') { ?>
492494

493495
<!-- JSON schema starts-->
@@ -604,6 +606,8 @@ function isMobileDevice() {
604606

605607
<?php } ?>
606608

609+
<?php } ?>
610+
607611
</div>
608612

609613
<?php

includes/reviews-slider-horizontal-template.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ function randomColor() {
475475
<?php } ?>
476476
</style>
477477

478+
<?php if(isset($filteredReviews) && count(array_slice($filteredReviews, 0, 8)) > 3) { ?>
479+
478480
<?php if(isset($feed_object->schema_enabled) && $feed_object->schema_enabled == 'yes') { ?>
479481

480482
<!-- JSON schema starts-->
@@ -589,6 +591,8 @@ function randomColor() {
589591

590592
<!-- JSON schema ends-->
591593

594+
<?php } ?>
595+
592596
<?php } ?>
593597
</div>
594598

includes/reviews-slider-vertical-template.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ function randomColor() {
331331
}
332332
</style>
333333

334+
<?php if(isset($filteredReviews) && count(array_slice($filteredReviews, 0, 7)) > 3) { ?>
335+
334336
<?php if(isset($feed_object->schema_enabled) && $feed_object->schema_enabled == 'yes') { ?>
335337

336338
<!-- JSON schema starts-->
@@ -447,6 +449,8 @@ function randomColor() {
447449

448450
<?php } ?>
449451

452+
<?php } ?>
453+
450454
</div>
451455

452456
<?php

opio.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Widget for OPIO Reviews
44
Plugin URI:
55
Description: Instantly add OPIO Reviews on your website to increase user confidence and SEO.
6-
Version: 1.0.89
6+
Version: 1.0.90
77
Author: Dhiraj Timalsina <dhiraj@n49.com>
88
Text Domain: widget-for-opio-reviews
99
Domain Path: /languages
@@ -22,7 +22,7 @@
2222

2323
require(ABSPATH . 'wp-includes/version.php');
2424

25-
define('OPIO_PLUGIN_VERSION' , '1.0.89');
25+
define('OPIO_PLUGIN_VERSION' , '1.0.90');
2626
define('OPIO_PLUGIN_FILE' , __FILE__);
2727
define('OPIO_PLUGIN_URL' , plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
2828
define('OPIO_ASSETS_URL' , OPIO_PLUGIN_URL . '/assets/');

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Author: Dhiraj Timalsina
33
Tags: Widget for OPIO Reviews, opio, reviews, rating, widget, google business, testimonials
44
Tested up to: 6.4
5-
Stable tag: 1.0.89
5+
Stable tag: 1.0.90
66
License: GPLv2 or later
77
License URI: http://www.gnu.org/licenses/gpl-2.0.html
88

0 commit comments

Comments
 (0)