Skip to content

Commit

Permalink
Merge pull request #30 from bootscore/Replace-PHP-echo's-with-shorthand
Browse files Browse the repository at this point in the history
Replace php echo's with shorthand
  • Loading branch information
crftwrk authored Apr 26, 2023
2 parents d5dc443 + 19f68a9 commit 2f2fcab
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion css/swiper-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.cards .swiper-pagination-bullet,
.cards-autoplay .swiper-pagination-bullet {
background: var(--bs-dark);
background: var(--bs-body-color);
}

.cards .swiper-pagination-bullet-active,
Expand Down
2 changes: 1 addition & 1 deletion main.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*Plugin Name: bS Swiper
Plugin URI: https://bootscore.me/plugins/bs-swiper/
Description: Plugin to show posts, pages, custom post types or WooCommerce products in a swiper.js carousel for bootScore theme. <a href="https://bootscore.me/documentation/bs-swiper/">Documentation</a> | <a href="https://bootscore.me/shop/products/free/bs5-swiper/">Changelog</a>
Version: 5.2.0
Version: 5.2.1
Author: bootScore
Author URI: https://bootscore.me
License: MIT License
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Contributors: Bastian Kreiter, torricelli, Sean Emerson

Requires at least: 4.5
Tested up to: 6.1.1
Tested up to: 6.2
Requires PHP: 5.6
Stable tag: 5.2.0
Stable tag: 5.2.1
License: MIT License
License URI: https://github.com/bootscore/bs-swiper/blob/main/LICENSE

Expand Down Expand Up @@ -117,6 +117,11 @@ Plugin to show posts, pages, custom post types or WooCommerce products in a swip

== Changelog ==

= 5.2.0 - April 26 2023 =

* [IMPROVEMENT] Replace PHP echo's with shorthand
* [IMPROVEMENT] Change bullet CSS variable to body color

= 5.2.0 - March 31 2023 =

* [IMPROVEMENT] Loop cards
Expand Down
4 changes: 2 additions & 2 deletions templates/sc-swiper-card-autoplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author bootScore
* @package bS Swiper
* @version 5.2.0
* @version 5.2.1
Posts:
Expand Down Expand Up @@ -118,7 +118,7 @@ function bootscore_swiper_autoplay($atts) {

<p class="card-text">
<a class="text-body text-decoration-none" href="<?php the_permalink(); ?>">
<?php echo strip_tags(get_the_excerpt()); ?>
<?= strip_tags(get_the_excerpt()); ?>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions templates/sc-swiper-card.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author bootScore
* @package bS Swiper
* @version 5.2.0
* @version 5.2.1
Posts:
Expand Down Expand Up @@ -118,7 +118,7 @@ function bootscore_swiper($atts) {

<p class="card-text">
<a class="text-body text-decoration-none" href="<?php the_permalink(); ?>">
<?php echo strip_tags(get_the_excerpt()); ?>
<?= strip_tags(get_the_excerpt()); ?>
</a>
</p>

Expand Down
6 changes: 3 additions & 3 deletions update/plugin.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name" : "bS Swiper",
"version" : "5.2.0",
"download_url" : "https://github.com/bootscore/bs-swiper/releases/download/v5.2.0/bs-swiper-main.zip",
"version" : "5.2.1",
"download_url" : "https://github.com/bootscore/bs-swiper/releases/download/v5.2.1/bs-swiper-main.zip",
"sections" : {
"description" : "Improved loop cards"
"description" : "Replace PHP echo's with shorthand"
}
}

0 comments on commit 2f2fcab

Please sign in to comment.