Sitemap - Version 3.7

Version Description

  • executing shortcodes in [pagelist_ext strip_shortcodes="0"] in content
Download this release

Release Info

Developer webvitaly
Plugin Icon wp plugin Sitemap
Version 3.7
Comparing to
See all releases

Code changes from version 3.6 to 3.7

Files changed (2) hide show
  1. readme.txt +4 -1
  2. sitemap.php +5 -4
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: page, page-list, pagelist, sitemap, subpages, siblings
5
  Author URI: http://web-profile.com.ua/wordpress/
6
  Requires at least: 3.0
7
  Tested up to: 3.3.1
8
- Stable tag: 3.6
9
 
10
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
11
 
@@ -118,6 +118,9 @@ But if you still need "more-link" feature and you will add it by yourself, than
118
 
119
  == Changelog ==
120
 
 
 
 
121
  = 3.6 =
122
  * fixing bug with shortcode in sidebar - shortcode in comment start to execute
123
 
5
  Author URI: http://web-profile.com.ua/wordpress/
6
  Requires at least: 3.0
7
  Tested up to: 3.3.1
8
+ Stable tag: 3.7
9
 
10
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
11
 
118
 
119
  == Changelog ==
120
 
121
+ = 3.7 =
122
+ * executing shortcodes in [pagelist_ext strip_shortcodes="0"] in content
123
+
124
  = 3.6 =
125
  * fixing bug with shortcode in sidebar - shortcode in comment start to execute
126
 
sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: [sitemap]
4
  Plugin URI: http://web-profile.com.ua/wordpress/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
- Version: 3.6
7
  Author: webvitaly
8
  Author Email: webvitaly(at)gmail.com
9
  Author URI: http://web-profile.com.ua/wordpress/
@@ -11,10 +11,10 @@ Author URI: http://web-profile.com.ua/wordpress/
11
 
12
  add_action('wp_print_styles', 'pagelist_add_stylesheet');
13
  function pagelist_add_stylesheet() {
14
- wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '3.6', 'all' );
15
  }
16
 
17
- $pagelist_powered_line = "\n".'<!-- Page-list plugin v.3.6 (wordpress.org/extend/plugins/page-list/) -->'."\n";
18
 
19
  if ( !function_exists('pagelist_shortcode') ) {
20
  function pagelist_shortcode( $atts ) {
@@ -330,7 +330,8 @@ if ( !function_exists('pagelist_ext_shortcode') ) {
330
  $content = '<!-- password protected -->';
331
  }else{
332
  $content = page_list_parse_content( $text_content, $limit_content, $strip_tags, $strip_shortcodes, $more_tag );
333
-
 
334
  if( $show_title == 0 ){ // make content as a link if there is no title
335
  $content = '<a href="'.$link.'">'.$content.'</a>';
336
  }
3
  Plugin Name: [sitemap]
4
  Plugin URI: http://web-profile.com.ua/wordpress/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
+ Version: 3.7
7
  Author: webvitaly
8
  Author Email: webvitaly(at)gmail.com
9
  Author URI: http://web-profile.com.ua/wordpress/
11
 
12
  add_action('wp_print_styles', 'pagelist_add_stylesheet');
13
  function pagelist_add_stylesheet() {
14
+ wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '3.7', 'all' );
15
  }
16
 
17
+ $pagelist_powered_line = "\n".'<!-- Page-list plugin v.3.7 (wordpress.org/extend/plugins/page-list/) -->'."\n";
18
 
19
  if ( !function_exists('pagelist_shortcode') ) {
20
  function pagelist_shortcode( $atts ) {
330
  $content = '<!-- password protected -->';
331
  }else{
332
  $content = page_list_parse_content( $text_content, $limit_content, $strip_tags, $strip_shortcodes, $more_tag );
333
+ $content = do_shortcode( $content );
334
+
335
  if( $show_title == 0 ){ // make content as a link if there is no title
336
  $content = '<a href="'.$link.'">'.$content.'</a>';
337
  }