Skip to content

Commit c465fe8

Browse files
authored
Merge pull request #64 from n49/slider_v1.0.91
fixed admin panel settings
2 parents efa7265 + 628dc4a commit c465fe8

8 files changed

Lines changed: 13 additions & 14 deletions

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ function isMobileDevice() {
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-->
@@ -591,3 +593,4 @@ function isMobileDevice() {
591593

592594
<?php } ?>
593595

596+
<?php } ?>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ function randomColor() {
457457
<?php } ?>
458458
</style>
459459

460+
<?php if(isset($filteredReviews) && count(array_slice($filteredReviews, 0, 8)) > 3) { ?>
461+
460462
<?php if(isset($feed_object->schema_enabled) && $feed_object->schema_enabled == 'yes') { ?>
461463

462464
<!-- JSON schema starts-->
@@ -572,3 +574,5 @@ function randomColor() {
572574
<!-- JSON schema ends-->
573575

574576
<?php } ?>
577+
578+
<?php } ?>

includes/admin-reviews-slider-vertical-template.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ function randomColor() {
325325
}
326326
</style>
327327

328+
<?php if(isset($filteredReviews) && count(array_slice($filteredReviews, 0, 7)) > 3) { ?>
329+
328330
<?php if(isset($feed_object->schema_enabled) && $feed_object->schema_enabled == 'yes') { ?>
329331

330332
<!-- JSON schema starts-->
@@ -441,4 +443,5 @@ function randomColor() {
441443

442444
<?php } ?>
443445

446+
<?php } ?>
444447

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

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

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

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

607605
<?php } ?>
608606

609-
<?php } ?>
610-
611607
</div>
612608

613609
<?php

includes/reviews-slider-horizontal-template.php

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

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

482480
<!-- JSON schema starts-->
@@ -593,7 +591,6 @@ function randomColor() {
593591

594592
<?php } ?>
595593

596-
<?php } ?>
597594
</div>
598595

599596
<?php

includes/reviews-slider-vertical-template.php

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

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

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

450448
<?php } ?>
451449

452-
<?php } ?>
453-
454450
</div>
455451

456452
<?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.90
6+
Version: 1.0.91
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.90');
25+
define('OPIO_PLUGIN_VERSION' , '1.0.91');
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.90
5+
Stable tag: 1.0.91
66
License: GPLv2 or later
77
License URI: http://www.gnu.org/licenses/gpl-2.0.html
88

0 commit comments

Comments
 (0)