Version Description
(1-3-2018) = * [+] Added the_permalink() for image under design-4 and taken care if image not added.
Download this release
Release Info
Developer | anoopranawat |
Plugin | WP Responsive Recent Post Slider |
Version | 1.3.5 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.5
- includes/shortcodes/wppsac-slider.php +4 -2
- readme.txt +28 -11
- templates/design-1.php +1 -1
- templates/design-2.php +1 -1
- templates/design-3.php +1 -1
- templates/design-4.php +8 -7
- wp-recent-post-slider.php +2 -2
includes/shortcodes/wppsac-slider.php
CHANGED
@@ -22,7 +22,8 @@ function get_wppsac_slider( $atts, $content = null ) {
|
|
22 |
"post_type" => 'post',
|
23 |
"taxonomy" => 'category',
|
24 |
"show_author" => 'true',
|
25 |
-
"show_read_more" => 'true',
|
|
|
26 |
"rtl" => 'false'
|
27 |
), $atts));
|
28 |
|
@@ -44,6 +45,7 @@ function get_wppsac_slider( $atts, $content = null ) {
|
|
44 |
$speed = (!empty($speed)) ? $speed : 500;
|
45 |
$post_type = !empty($post_type) ? $post_type : 'post';
|
46 |
$taxonomy = !empty($taxonomy) ? $taxonomy : 'category';
|
|
|
47 |
$exclude_post = !empty($hide_post) ? explode(',', $hide_post) : array();
|
48 |
|
49 |
// For RTL
|
@@ -103,7 +105,7 @@ function get_wppsac_slider( $atts, $content = null ) {
|
|
103 |
while ( $query->have_posts() ) : $query->the_post();
|
104 |
$post_id = isset($post->ID) ? $post->ID : '';
|
105 |
$cat_list = wppsac_get_category_list($post->ID, $taxonomy);
|
106 |
-
$feat_image = wppsac_get_post_featured_image( $post->ID,
|
107 |
if( $design_file ) {
|
108 |
include( $design_file );
|
109 |
}
|
22 |
"post_type" => 'post',
|
23 |
"taxonomy" => 'category',
|
24 |
"show_author" => 'true',
|
25 |
+
"show_read_more" => 'true',
|
26 |
+
"media_size" => 'full',
|
27 |
"rtl" => 'false'
|
28 |
), $atts));
|
29 |
|
45 |
$speed = (!empty($speed)) ? $speed : 500;
|
46 |
$post_type = !empty($post_type) ? $post_type : 'post';
|
47 |
$taxonomy = !empty($taxonomy) ? $taxonomy : 'category';
|
48 |
+
$media_size = !empty($media_size) ? $media_size : 'full'; // you can use thumbnail, medium, medium_large, large, full
|
49 |
$exclude_post = !empty($hide_post) ? explode(',', $hide_post) : array();
|
50 |
|
51 |
// For RTL
|
105 |
while ( $query->have_posts() ) : $query->the_post();
|
106 |
$post_id = isset($post->ID) ? $post->ID : '';
|
107 |
$cat_list = wppsac_get_category_list($post->ID, $taxonomy);
|
108 |
+
$feat_image = wppsac_get_post_featured_image( $post->ID, $media_size, true );
|
109 |
if( $design_file ) {
|
110 |
include( $design_file );
|
111 |
}
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: wponlinesupport, anoopranawat
|
3 |
Tags: wponlinesupport, post slider, posts slider, recent post slider, recent posts slider, slider, responsive post slider, responsive posts slider, responsive recent post slider, responsive recent posts slider, wordpress posts slider, post slideshow, posts slideshow, recent posts slideshow, shortcodes
|
4 |
Requires at least: 3.1
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -10,19 +10,13 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
10 |
A quick, easy way to add and display Responsive WordPresss Recent Post Slider on your website with 4 designs using a shortcode.
|
11 |
|
12 |
== Description ==
|
13 |
-
Responsive Recent WordPresss Post Slider is a WordPress posts content slider plugin with touch for mobile devices and responsive.
|
14 |
-
WordPresss Recent Post Slider displays your recent posts using 4 designs with beautiful slider.
|
15 |
|
16 |
-
View [DEMO](
|
17 |
|
18 |
-
|
19 |
|
20 |
-
|
21 |
-
|
22 |
-
Need Featured Post section in your website? Try our plugin [Featured Post Creative](https://wordpress.org/plugins/featured-post-creative/).
|
23 |
-
|
24 |
-
A multipurpose responsive WordPresss posts slider plugin powered with four built-in design template, lots of easy customizable options.
|
25 |
-
Display unlimited number of WordPresss posts slider in a single page or post with different sets of options like category, limit, navigation type.
|
26 |
|
27 |
= Here is the Recent Post Slider shortcode example =
|
28 |
|
@@ -59,6 +53,7 @@ You can see and select all the designs from Post -> Post Slider Designs. Here yo
|
|
59 |
* **show_category_name** : [recent_post_slider show_category_name="true" ] (Display category name OR not. By default value is "True". Options are "ture OR false").
|
60 |
* **show_date** : [recent_post_slider show_date="false"] (Display post date OR not. By default value is "True". Options are "ture OR false")
|
61 |
* **show_content** : [recent_post_slider show_content="true" ] (Display post Short content OR not. By default value is "True". Options are "ture OR false").
|
|
|
62 |
* **Pagination and arrows** : [recent_post_slider dots="false" arrows="false"]
|
63 |
* **Autoplay and Autoplay Interval**: [recent_post_slider autoplay="true" autoplay_interval="100"]
|
64 |
* **Slide Speed**: [recent_post_slider speed="3000"]
|
@@ -86,6 +81,7 @@ You can see and select all the designs from Post -> Post Slider Designs. Here yo
|
|
86 |
= Features include: =
|
87 |
* Easy to add.
|
88 |
* Given 4 designs.
|
|
|
89 |
* Responsive.
|
90 |
* Responsive touch slider.
|
91 |
* Mouse Draggable.
|
@@ -117,6 +113,17 @@ You can see and select all the designs from Post -> Post Slider Designs. Here yo
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
= 1.3.2 (04-10-2017) =
|
121 |
* [*] Updated slick.min.js latest version
|
122 |
* [*] Fixed Firefox Reader View
|
@@ -173,6 +180,16 @@ You can see and select all the designs from Post -> Post Slider Designs. Here yo
|
|
173 |
|
174 |
== Upgrade Notice ==
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
= 1.3.2 (04-10-2017) =
|
177 |
* [*] Updated slick.min.js latest version
|
178 |
* [*] Fixed Firefox Reader View
|
2 |
Contributors: wponlinesupport, anoopranawat
|
3 |
Tags: wponlinesupport, post slider, posts slider, recent post slider, recent posts slider, slider, responsive post slider, responsive posts slider, responsive recent post slider, responsive recent posts slider, wordpress posts slider, post slideshow, posts slideshow, recent posts slideshow, shortcodes
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 4.9.4
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
A quick, easy way to add and display Responsive WordPresss Recent Post Slider on your website with 4 designs using a shortcode.
|
11 |
|
12 |
== Description ==
|
13 |
+
Responsive Recent WordPresss Post Slider is a WordPress posts content slider plugin with touch for mobile devices and responsive. WordPresss Recent Post Slider displays your recent posts using 4 designs with beautiful slider.
|
|
|
14 |
|
15 |
+
View [DEMO](https://www.wponlinesupport.com/wp-plugin/wp-responsive-recent-post-slider/) | [PRO DEMO and Features](https://www.wponlinesupport.com/wp-plugin/wp-responsive-recent-post-slider/) for additional information.
|
16 |
|
17 |
+
Check our new [WordPress Blog Theme](https://themeforest.net/item/amyra-wordpress-blog-theme/20952977?ref=wponlinesupport)
|
18 |
|
19 |
+
A multipurpose responsive WordPresss posts slider plugin powered with four built-in design template, lots of easy customizable options. Display unlimited number of WordPresss posts slider in a single page or post with different sets of options like category, limit, navigation type.
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
= Here is the Recent Post Slider shortcode example =
|
22 |
|
53 |
* **show_category_name** : [recent_post_slider show_category_name="true" ] (Display category name OR not. By default value is "True". Options are "ture OR false").
|
54 |
* **show_date** : [recent_post_slider show_date="false"] (Display post date OR not. By default value is "True". Options are "ture OR false")
|
55 |
* **show_content** : [recent_post_slider show_content="true" ] (Display post Short content OR not. By default value is "True". Options are "ture OR false").
|
56 |
+
* **media_size** : [recent_post_slider media_size="full"] (where you can use values : thumbnail, medium, medium_large, large and full)
|
57 |
* **Pagination and arrows** : [recent_post_slider dots="false" arrows="false"]
|
58 |
* **Autoplay and Autoplay Interval**: [recent_post_slider autoplay="true" autoplay_interval="100"]
|
59 |
* **Slide Speed**: [recent_post_slider speed="3000"]
|
81 |
= Features include: =
|
82 |
* Easy to add.
|
83 |
* Given 4 designs.
|
84 |
+
* Media size ie thumbnail, medium, medium_large, large and full
|
85 |
* Responsive.
|
86 |
* Responsive touch slider.
|
87 |
* Mouse Draggable.
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 1.3.5 (1-3-2018) =
|
117 |
+
* [+] Added the_permalink() for image under design-4 and taken care if image not added.
|
118 |
+
|
119 |
+
= 1.3.4 (12-01-2018) =
|
120 |
+
* [+] Added new shortcode parameter ie media_size="full" where you can use values : thumbnail, medium, medium_large, large and full
|
121 |
+
|
122 |
+
|
123 |
+
= 1.3.3 (09-10-2017) =
|
124 |
+
* [+] Thanks to @ciroiodice for halping to imporove our plugin and we have added <code>strip_shortcodes()</code> function if user has not added content in Excerpt section and want to diaplay content form Editor section only.
|
125 |
+
* [+] <code>strip_shortcodes()</code> finction deletes all shortcode tags from the short content that are going to display in slider.
|
126 |
+
|
127 |
= 1.3.2 (04-10-2017) =
|
128 |
* [*] Updated slick.min.js latest version
|
129 |
* [*] Fixed Firefox Reader View
|
180 |
|
181 |
== Upgrade Notice ==
|
182 |
|
183 |
+
= 1.3.5 (1-3-2018) =
|
184 |
+
* [+] Added the_permalink() for image under design-4 and taken care if image not added.
|
185 |
+
|
186 |
+
= 1.3.4 (12-01-2018) =
|
187 |
+
* [+] Added new shortcode parameter ie media_size="full" where you can use values : thumbnail, medium, medium_large, large and full
|
188 |
+
|
189 |
+
= 1.3.3 (09-10-2017) =
|
190 |
+
* [+] Thanks to @ciroiodice for halping to imporove our plugin and we have added <code>strip_shortcodes()</code> function if user has not added content in Excerpt section and want to diaplay content form Editor section only.
|
191 |
+
* [+] <code>strip_shortcodes()</code> finction deletes all shortcode tags from the short content that are going to display in slider.
|
192 |
+
|
193 |
= 1.3.2 (04-10-2017) =
|
194 |
* [*] Updated slick.min.js latest version
|
195 |
* [*] Fixed Firefox Reader View
|
templates/design-1.php
CHANGED
@@ -29,7 +29,7 @@ if ( !defined( 'ABSPATH' ) ) exit; ?>
|
|
29 |
if (has_excerpt($post->ID)) { ?>
|
30 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
31 |
<?php } else {
|
32 |
-
$excerpt = strip_tags(get_the_content()); ?>
|
33 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
34 |
<?php } ?>
|
35 |
|
29 |
if (has_excerpt($post->ID)) { ?>
|
30 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
31 |
<?php } else {
|
32 |
+
$excerpt = strip_shortcodes(strip_tags(get_the_content())); ?>
|
33 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
34 |
<?php } ?>
|
35 |
|
templates/design-2.php
CHANGED
@@ -28,7 +28,7 @@ if ( !defined( 'ABSPATH' ) ) exit; ?>
|
|
28 |
if (has_excerpt($post->ID)) { ?>
|
29 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
30 |
<?php } else {
|
31 |
-
$excerpt = strip_tags(get_the_content()); ?>
|
32 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
33 |
<?php } ?>
|
34 |
|
28 |
if (has_excerpt($post->ID)) { ?>
|
29 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
30 |
<?php } else {
|
31 |
+
$excerpt = strip_shortcodes(strip_tags(get_the_content())); ?>
|
32 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
33 |
<?php } ?>
|
34 |
|
templates/design-3.php
CHANGED
@@ -32,7 +32,7 @@ if ( !defined( 'ABSPATH' ) ) exit; ?>
|
|
32 |
if (has_excerpt($post->ID)) { ?>
|
33 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
34 |
<?php } else {
|
35 |
-
$excerpt = strip_tags(get_the_content()); ?>
|
36 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
37 |
<?php } ?>
|
38 |
|
32 |
if (has_excerpt($post->ID)) { ?>
|
33 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
34 |
<?php } else {
|
35 |
+
$excerpt = strip_shortcodes(strip_tags(get_the_content())); ?>
|
36 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
37 |
<?php } ?>
|
38 |
|
templates/design-4.php
CHANGED
@@ -4,13 +4,14 @@ if ( !defined( 'ABSPATH' ) ) exit; ?>
|
|
4 |
<div class="post-slides">
|
5 |
<div class="post-list">
|
6 |
<div class="post-list-content">
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
10 |
</div>
|
11 |
-
|
12 |
-
|
13 |
-
<div class="wp-medium-7 wpcolumns">
|
14 |
<?php if($showCategory) { ?>
|
15 |
<div class="recentpost-categories">
|
16 |
<?php echo $cat_list; ?>
|
@@ -33,7 +34,7 @@ if ( !defined( 'ABSPATH' ) ) exit; ?>
|
|
33 |
if (has_excerpt($post->ID)) { ?>
|
34 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
35 |
<?php } else {
|
36 |
-
$excerpt = strip_tags(get_the_content()); ?>
|
37 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
38 |
<?php } ?>
|
39 |
|
4 |
<div class="post-slides">
|
5 |
<div class="post-list">
|
6 |
<div class="post-list-content">
|
7 |
+
<?php if (!empty($feat_image)) { ?>
|
8 |
+
<div class="wp-medium-5 wpcolumns">
|
9 |
+
<div class="post-image-bg">
|
10 |
+
<a href="<?php the_permalink(); ?>"><img src="<?php echo $feat_image; ?>" alt="<?php the_title(); ?>" /></a>
|
11 |
+
</div>
|
12 |
</div>
|
13 |
+
<?php } ?>
|
14 |
+
<div class="<?php if (!empty($feat_image)) { ?> wp-medium-7 <?php } else { ?> wp-medium-12 <?php } ?> wpcolumns">
|
|
|
15 |
<?php if($showCategory) { ?>
|
16 |
<div class="recentpost-categories">
|
17 |
<?php echo $cat_list; ?>
|
34 |
if (has_excerpt($post->ID)) { ?>
|
35 |
<div class="wp-sub-content"><?php echo $customExcerpt ; ?></div>
|
36 |
<?php } else {
|
37 |
+
$excerpt = strip_shortcodes(strip_tags(get_the_content())); ?>
|
38 |
<div class="wp-sub-content"><?php echo wprps_limit_words($excerpt,$words_limit); ?></div>
|
39 |
<?php } ?>
|
40 |
|
wp-recent-post-slider.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Domain Path: /languages/
|
7 |
* Description: Easy to add and display Recent Post Slider
|
8 |
* Author: WP Online Support
|
9 |
-
* Version: 1.3.
|
10 |
* Author URI: http://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
@@ -20,7 +20,7 @@
|
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
if( !defined( 'WPRPS_VERSION' ) ) {
|
23 |
-
define( 'WPRPS_VERSION', '1.3.
|
24 |
}
|
25 |
if( !defined( 'WPRPS_DIR' ) ) {
|
26 |
define( 'WPRPS_DIR', dirname( __FILE__ ) ); // Plugin dir
|
6 |
* Domain Path: /languages/
|
7 |
* Description: Easy to add and display Recent Post Slider
|
8 |
* Author: WP Online Support
|
9 |
+
* Version: 1.3.5
|
10 |
* Author URI: http://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
if( !defined( 'WPRPS_VERSION' ) ) {
|
23 |
+
define( 'WPRPS_VERSION', '1.3.5' ); // Version of plugin
|
24 |
}
|
25 |
if( !defined( 'WPRPS_DIR' ) ) {
|
26 |
define( 'WPRPS_DIR', dirname( __FILE__ ) ); // Plugin dir
|