Page-list - Version 4.2

Version Description

  • 2013.02.16 =
  • fix in css styles (clearfix added to .page-list-ext)
  • make default image size 150x150 like default thumbnail size
Download this release

Release Info

Developer webvitaly
Plugin Icon wp plugin Page-list
Version 4.2
Comparing to
See all releases

Code changes from version 4.1 to 4.2

Files changed (3) hide show
  1. css/page-list.css +15 -3
  2. page-list.php +92 -91
  3. readme.txt +20 -15
css/page-list.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  Page-list plugin
3
- http://wordpress.org/extend/plugins/page-list/
4
  */
5
 
6
  /* default styles for [pagelist], [subpages], [siblings] */
@@ -12,14 +12,26 @@ http://wordpress.org/extend/plugins/page-list/
12
  .page-list-ext {
13
  clear: both;
14
  }
 
 
 
 
 
 
 
 
 
 
 
 
15
  .page-list-ext .page-list-ext-item {
16
  clear: both;
17
- margin: 10px 0 20px 0;
18
  }
19
  .page-list-ext .page-list-ext-image {
20
  float: left;
21
  display: inline;
22
- margin: 5px 10px 10px 0;
23
  }
24
  .page-list-ext .page-list-ext-title {
25
  clear: none;
1
  /*
2
  Page-list plugin
3
+ http://wordpress.org/plugins/page-list/
4
  */
5
 
6
  /* default styles for [pagelist], [subpages], [siblings] */
12
  .page-list-ext {
13
  clear: both;
14
  }
15
+ /* clearfix-hack */
16
+ .page-list-ext {
17
+ *zoom: 1;
18
+ }
19
+ .page-list-ext:before, .page-list-ext:after {
20
+ display: table;
21
+ line-height: 0;
22
+ content: "";
23
+ }
24
+ .page-list-ext:after {
25
+ clear: both;
26
+ }
27
  .page-list-ext .page-list-ext-item {
28
  clear: both;
29
+ margin: 10px 0 30px 0;
30
  }
31
  .page-list-ext .page-list-ext-image {
32
  float: left;
33
  display: inline;
34
+ margin: 5px 15px 15px 0;
35
  }
36
  .page-list-ext .page-list-ext-title {
37
  clear: none;
page-list.php CHANGED
@@ -1,23 +1,23 @@
1
  <?php
2
  /*
3
  Plugin Name: Page-list
4
- Plugin URI: http://wordpress.org/extend/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
- Version: 4.1
7
  Author: webvitaly
8
- Author URI: http://profiles.wordpress.org/webvitaly/
9
- License: GPLv2 or later
10
  */
11
 
12
  if ( !function_exists('pagelist_unqprfx_add_stylesheet') ) {
13
  function pagelist_unqprfx_add_stylesheet() {
14
- wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '4.1', 'all' );
15
  }
16
  add_action('wp_print_styles', 'pagelist_unqprfx_add_stylesheet');
17
  }
18
 
19
 
20
- $pagelist_unqprfx_powered_line = "\n".'<!-- Page-list plugin v.4.1 wordpress.org/extend/plugins/page-list/ -->'."\n";
21
 
22
 
23
  if ( !function_exists('pagelist_unqprfx_shortcode') ) {
@@ -137,8 +137,6 @@ if ( !function_exists('subpages_unqprfx_shortcode') ) {
137
  }
138
  add_shortcode( 'subpages', 'subpages_unqprfx_shortcode' );
139
  add_shortcode( 'sub_pages', 'subpages_unqprfx_shortcode' );
140
- add_shortcode( 'sub-pages', 'subpages_unqprfx_shortcode' ); // not good (Shortcode names should be all lowercase and use all letters, but numbers and underscores (not dashes!) should work fine too.)
141
- add_shortcode( 'children', 'subpages_unqprfx_shortcode' );
142
  }
143
 
144
 
@@ -215,8 +213,8 @@ if ( !function_exists('pagelist_unqprfx_ext_shortcode') ) {
215
  'show_content' => 1,
216
  'more_tag' => 1,
217
  'limit_content' => 250,
218
- 'image_width' => '50',
219
- 'image_height' => '50',
220
  'child_of' => '',
221
  'sort_order' => 'ASC',
222
  'sort_column' => 'menu_order, post_title',
@@ -316,104 +314,106 @@ if ( !function_exists('pagelist_unqprfx_ext_shortcode') ) {
316
  $list_pages_html = '';
317
  $count = 0;
318
  $offset_count = 0;
319
- foreach($list_pages as $page){
320
- $count++;
321
- $offset_count++;
322
- if ( !empty( $offset ) && is_numeric( $offset ) && $offset_count <= $offset ) {
323
- $count = 0; // number counter to zero if offset is not finished
324
- }
325
- if ( ( !empty( $offset ) && is_numeric( $offset ) && $offset_count > $offset ) || ( empty( $offset ) ) || ( !empty( $offset ) && !is_numeric( $offset ) ) ) {
326
- if ( ( !empty( $number ) && is_numeric( $number ) && $count <= $number ) || ( empty( $number ) ) || ( !empty( $number ) && !is_numeric( $number ) ) ) {
327
- $link = get_permalink( $page->ID );
328
- $list_pages_html .= '<div class="page-list-ext-item">';
329
- if( $show_image == 1 ){
330
- if ( function_exists( 'get_the_post_thumbnail' ) ) { // if we have WordPress 2.9+
331
- if( get_the_post_thumbnail( $page->ID ) ){ // if there is a featured image
332
- $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
333
- //$list_pages_html .= get_the_post_thumbnail($page->ID, array($image_width,$image_height)); // doesn't work good with image size
334
-
335
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $page->ID ), array($image_width,$image_height) ); // get featured img; 'large'
336
- $img_url = $image[0]; // get the src of the featured image
337
- $list_pages_html .= '<img src="'.$img_url.'" width="'.$image_width.'" alt="'.esc_attr($page->post_title).'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
338
-
339
- $list_pages_html .= '</a></div> ';
340
- }else{
 
 
 
 
 
 
 
 
 
 
 
341
  if( $show_first_image == 1 ){
342
  $img_scr = pagelist_unqprfx_get_first_image( $page->post_content );
343
  if( !empty( $img_scr ) ){
344
  $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
345
- $list_pages_html .= '<img src="'.$img_scr.'" width="'.$image_width.'" alt="'.esc_attr($page->post_title).'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
346
  $list_pages_html .= '</a></div> ';
347
  }
348
  }
349
  }
350
- }else{ // if we have old WordPress 2.8 or lower
351
- if( $show_first_image == 1 ){
352
- $img_scr = pagelist_unqprfx_get_first_image( $page->post_content );
353
- if( !empty( $img_scr ) ){
354
- $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
355
- $list_pages_html .= '<img src="'.$img_scr.'" width="'.$image_width.'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
356
- $list_pages_html .= '</a></div> ';
357
- }
358
- }
359
  }
360
- }
361
 
362
 
363
- if( $show_title == 1 ){
364
- $list_pages_html .= '<h3 class="page-list-ext-title"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">'.$page->post_title.'</a></h3>';
365
- }
366
- if( $show_content == 1 ){
367
- //$content = apply_filters('the_content', $page->post_content);
368
- //$content = str_replace(']]>', ']]&gt;', $content); // both used in default the_content() function
369
-
370
- if( !empty( $page->post_excerpt ) ){
371
- $text_content = $page->post_excerpt;
372
- }else{
373
- $text_content = $page->post_content;
374
  }
 
 
 
375
 
376
- if ( post_password_required($page) ) {
377
- $content = '<!-- password protected -->';
378
- }else{
379
- $content = pagelist_unqprfx_parse_content( $text_content, $limit_content, $strip_tags, $strip_shortcodes, $more_tag );
380
- $content = do_shortcode( $content );
381
-
382
- if( $show_title == 0 ){ // make content as a link if there is no title
383
- $content = '<a href="'.$link.'">'.$content.'</a>';
384
  }
385
- }
386
 
387
- $list_pages_html .= '<div class="page-list-ext-item-content">'.$content.'</div>';
 
 
 
 
388
 
389
- }
390
- if( $show_child_count == 1 ){
391
- $count_subpages = count(get_pages("child_of=".$page->ID));
392
- if( $count_subpages > 0 ){ // hide empty
393
- $child_count_pos = strpos($child_count_template, '%child_count%'); // check if we have %child_count% marker in template
394
- if($child_count_pos === false) { // %child_count% not found in template
395
- $child_count_template_html = $child_count_template.' '.$count_subpages;
396
- $list_pages_html .= '<div class="page-list-ext-child-count">'.$child_count_template_html.'</div>';
397
- } else { // %child_count% found in template
398
- $child_count_template_html = str_replace('%child_count%', $count_subpages, $child_count_template);
399
- $list_pages_html .= '<div class="page-list-ext-child-count">'.$child_count_template_html.'</div>';
400
  }
 
 
 
401
  }
402
- }
403
- if( $show_meta_key != '' ){
404
- $post_meta = get_post_meta($page->ID, $show_meta_key, true);
405
- if( !empty($post_meta) ){ // hide empty
406
- $meta_pos = strpos($meta_template, '%meta%'); // check if we have %meta% marker in template
407
- if($meta_pos === false) { // %meta% not found in template
408
- $meta_template_html = $meta_template.' '.$post_meta;
409
- $list_pages_html .= '<div class="page-list-ext-meta">'.$meta_template_html.'</div>';
410
- } else { // %meta% found in template
411
- $meta_template_html = str_replace('%meta%', $post_meta, $meta_template);
412
- $list_pages_html .= '<div class="page-list-ext-meta">'.$meta_template_html.'</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  }
414
  }
 
415
  }
416
- $list_pages_html .= '</div>'."\n";
417
  }
418
  }
419
  }
@@ -515,11 +515,12 @@ if ( !function_exists('pagelist_unqprfx_get_first_image') ) {
515
  }
516
  }
517
 
518
- if ( !function_exists('pagelist_unqprfx_plugin_meta') ) {
519
- function pagelist_unqprfx_plugin_meta( $links, $file ) { // add 'Support' and 'Donate' links to plugin meta row
520
  if ( strpos( $file, 'page-list.php' ) !== false ) {
521
- $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/wordpress/plugins/page-list/" title="Need help?">' . __('Support') . '</a>' ) );
522
- $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/donate/" title="Support the development">' . __('Donate') . '</a>' ) );
 
523
  }
524
  return $links;
525
  }
1
  <?php
2
  /*
3
  Plugin Name: Page-list
4
+ Plugin URI: http://wordpress.org/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
+ Version: 4.2
7
  Author: webvitaly
8
+ Author URI: http://web-profile.com.ua/wordpress/plugins/
9
+ License: GPLv3
10
  */
11
 
12
  if ( !function_exists('pagelist_unqprfx_add_stylesheet') ) {
13
  function pagelist_unqprfx_add_stylesheet() {
14
+ wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '4.2', 'all' );
15
  }
16
  add_action('wp_print_styles', 'pagelist_unqprfx_add_stylesheet');
17
  }
18
 
19
 
20
+ $pagelist_unqprfx_powered_line = "\n".'<!-- Page-list plugin v.4.2 wordpress.org/plugins/page-list/ -->'."\n";
21
 
22
 
23
  if ( !function_exists('pagelist_unqprfx_shortcode') ) {
137
  }
138
  add_shortcode( 'subpages', 'subpages_unqprfx_shortcode' );
139
  add_shortcode( 'sub_pages', 'subpages_unqprfx_shortcode' );
 
 
140
  }
141
 
142
 
213
  'show_content' => 1,
214
  'more_tag' => 1,
215
  'limit_content' => 250,
216
+ 'image_width' => '150',
217
+ 'image_height' => '150',
218
  'child_of' => '',
219
  'sort_order' => 'ASC',
220
  'sort_column' => 'menu_order, post_title',
314
  $list_pages_html = '';
315
  $count = 0;
316
  $offset_count = 0;
317
+ if( $list_pages !== false && count( $list_pages ) > 0 ){
318
+ foreach($list_pages as $page){
319
+ $count++;
320
+ $offset_count++;
321
+ if ( !empty( $offset ) && is_numeric( $offset ) && $offset_count <= $offset ) {
322
+ $count = 0; // number counter to zero if offset is not finished
323
+ }
324
+ if ( ( !empty( $offset ) && is_numeric( $offset ) && $offset_count > $offset ) || ( empty( $offset ) ) || ( !empty( $offset ) && !is_numeric( $offset ) ) ) {
325
+ if ( ( !empty( $number ) && is_numeric( $number ) && $count <= $number ) || ( empty( $number ) ) || ( !empty( $number ) && !is_numeric( $number ) ) ) {
326
+ $link = get_permalink( $page->ID );
327
+ $list_pages_html .= '<div class="page-list-ext-item">';
328
+ if( $show_image == 1 ){
329
+ if ( function_exists( 'get_the_post_thumbnail' ) ) { // if we have WordPress 2.9+
330
+ if( get_the_post_thumbnail( $page->ID ) ){ // if there is a featured image
331
+ $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
332
+ //$list_pages_html .= get_the_post_thumbnail($page->ID, array($image_width,$image_height)); // doesn't work good with image size
333
+
334
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $page->ID ), array($image_width,$image_height) ); // get featured img; 'large'
335
+ $img_url = $image[0]; // get the src of the featured image
336
+ $list_pages_html .= '<img src="'.$img_url.'" width="'.$image_width.'" alt="'.esc_attr($page->post_title).'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
337
+
338
+ $list_pages_html .= '</a></div> ';
339
+ }else{
340
+ if( $show_first_image == 1 ){
341
+ $img_scr = pagelist_unqprfx_get_first_image( $page->post_content );
342
+ if( !empty( $img_scr ) ){
343
+ $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
344
+ $list_pages_html .= '<img src="'.$img_scr.'" width="'.$image_width.'" alt="'.esc_attr($page->post_title).'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
345
+ $list_pages_html .= '</a></div> ';
346
+ }
347
+ }
348
+ }
349
+ }else{ // if we have old WordPress 2.8 or lower
350
  if( $show_first_image == 1 ){
351
  $img_scr = pagelist_unqprfx_get_first_image( $page->post_content );
352
  if( !empty( $img_scr ) ){
353
  $list_pages_html .= '<div class="page-list-ext-image"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">';
354
+ $list_pages_html .= '<img src="'.$img_scr.'" width="'.$image_width.'" />'; // not using height="'.$image_height.'" because images could be not square shaped and they will be stretched
355
  $list_pages_html .= '</a></div> ';
356
  }
357
  }
358
  }
 
 
 
 
 
 
 
 
 
359
  }
 
360
 
361
 
362
+ if( $show_title == 1 ){
363
+ $list_pages_html .= '<h3 class="page-list-ext-title"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">'.$page->post_title.'</a></h3>';
 
 
 
 
 
 
 
 
 
364
  }
365
+ if( $show_content == 1 ){
366
+ //$content = apply_filters('the_content', $page->post_content);
367
+ //$content = str_replace(']]>', ']]&gt;', $content); // both used in default the_content() function
368
 
369
+ if( !empty( $page->post_excerpt ) ){
370
+ $text_content = $page->post_excerpt;
371
+ }else{
372
+ $text_content = $page->post_content;
 
 
 
 
373
  }
 
374
 
375
+ if ( post_password_required($page) ) {
376
+ $content = '<!-- password protected -->';
377
+ }else{
378
+ $content = pagelist_unqprfx_parse_content( $text_content, $limit_content, $strip_tags, $strip_shortcodes, $more_tag );
379
+ $content = do_shortcode( $content );
380
 
381
+ if( $show_title == 0 ){ // make content as a link if there is no title
382
+ $content = '<a href="'.$link.'">'.$content.'</a>';
383
+ }
 
 
 
 
 
 
 
 
384
  }
385
+
386
+ $list_pages_html .= '<div class="page-list-ext-item-content">'.$content.'</div>';
387
+
388
  }
389
+ if( $show_child_count == 1 ){
390
+ $count_subpages = count(get_pages("child_of=".$page->ID));
391
+ if( $count_subpages > 0 ){ // hide empty
392
+ $child_count_pos = strpos($child_count_template, '%child_count%'); // check if we have %child_count% marker in template
393
+ if($child_count_pos === false) { // %child_count% not found in template
394
+ $child_count_template_html = $child_count_template.' '.$count_subpages;
395
+ $list_pages_html .= '<div class="page-list-ext-child-count">'.$child_count_template_html.'</div>';
396
+ } else { // %child_count% found in template
397
+ $child_count_template_html = str_replace('%child_count%', $count_subpages, $child_count_template);
398
+ $list_pages_html .= '<div class="page-list-ext-child-count">'.$child_count_template_html.'</div>';
399
+ }
400
+ }
401
+ }
402
+ if( $show_meta_key != '' ){
403
+ $post_meta = get_post_meta($page->ID, $show_meta_key, true);
404
+ if( !empty($post_meta) ){ // hide empty
405
+ $meta_pos = strpos($meta_template, '%meta%'); // check if we have %meta% marker in template
406
+ if($meta_pos === false) { // %meta% not found in template
407
+ $meta_template_html = $meta_template.' '.$post_meta;
408
+ $list_pages_html .= '<div class="page-list-ext-meta">'.$meta_template_html.'</div>';
409
+ } else { // %meta% found in template
410
+ $meta_template_html = str_replace('%meta%', $post_meta, $meta_template);
411
+ $list_pages_html .= '<div class="page-list-ext-meta">'.$meta_template_html.'</div>';
412
+ }
413
  }
414
  }
415
+ $list_pages_html .= '</div>'."\n";
416
  }
 
417
  }
418
  }
419
  }
515
  }
516
  }
517
 
518
+ if ( ! function_exists('pagelist_unqprfx_plugin_meta') ) {
519
+ function pagelist_unqprfx_plugin_meta( $links, $file ) { // add 'Plugin page' and 'Donate' links to plugin meta row
520
  if ( strpos( $file, 'page-list.php' ) !== false ) {
521
+ $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/wordpress/plugins/page-list/" title="Plugin page">Page-list</a>' ) );
522
+ $links = array_merge( $links, array( '<a href="http://web-profile.com.ua/donate/" title="Support the development">Donate</a>' ) );
523
+ $links = array_merge( $links, array( '<a href="http://codecanyon.net/popular_item/by_category?category=wordpress&ref=webvitaly">WordPress Pro plugins</a>' ) );
524
  }
525
  return $links;
526
  }
readme.txt CHANGED
@@ -3,18 +3,19 @@ Contributors: webvitaly
3
  Donate link: http://web-profile.com.ua/donate/
4
  Tags: page, page-list, pagelist, sitemap, subpages, siblings
5
  Requires at least: 3.0
6
- Tested up to: 3.5.1
7
- Stable tag: 4.1
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
12
 
13
  == Description ==
14
 
15
- **[Page-list](http://web-profile.com.ua/wordpress/plugins/page-list/ "Plugin page")** |
16
- **[all Page-list params](http://wordpress.org/extend/plugins/page-list/other_notes/)** |
17
- **[Donate](http://web-profile.com.ua/donate/ "Support the development")**
 
18
 
19
  = shortcodes: =
20
 
@@ -27,12 +28,12 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
27
 
28
  * `[pagelist child_of="4" depth="2" exclude="6,7,8"]`
29
  * `[pagelist_ext child_of="4" exclude="6,7,8" image_width="50" image_height="50"]`
30
- * **[all Page-list params](http://wordpress.org/extend/plugins/page-list/other_notes/)**
31
 
32
- = Useful plugins: =
33
- * ["Anti-spam" - block spam in comments](http://wordpress.org/extend/plugins/anti-spam/ "no spam, no captcha")
34
- * ["Iframe" - embed iframe with shortcode](http://wordpress.org/extend/plugins/iframe/ "embed iframe")
35
- * ["Filenames to latin" - sanitize filenames to latin during upload](http://wordpress.org/extend/plugins/filenames-to-latin/ "sanitize filenames to latin")
36
 
37
  == Other Notes ==
38
 
@@ -70,7 +71,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
70
  * **parent** - if you want to show subpages of the specific page only you can use this shortcode: `[pagelist_ext parent="4"]` where `4` is the ID of the specific page and the depth will be only one level; by default parent="-1" and depth is unlimited;
71
  * **sort_order** - if you want to change the sort order of the list of pages (either ascending or descending) you can use this shortcode: `[pagelist_ext sort_order="desc"]`; by default: sort_order="asc"; you can use this values for `sort_order` parameter: asc, desc;
72
  * **sort_column** - if you want to specify the column by what to sort you can use this shortcode: `[pagelist_ext sort_column="menu_order"]`; by default order columns are `sort_column` and `post_title` (sort_column="menu_order, post_title"); you can use this values for `sort_column` parameter: post_title, menu_order, post_date (sort by creation time), post_modified (sort by last modified time), ID, post_author (sort by the page author's numeric ID), post_name (sort by page slug);
73
- * **hierarchical** - display sub-pages below their parent page `[pagelist_ext hierarchical="0"]`; by default: hierarchical="1";
74
  * **exclude** - if you want to exclude some pages from the list you can use this shortcode: `[pagelist_ext exclude="6,7,8"]` where `exclude` parameter accepts comma-separated list of Page IDs;
75
  * **exclude_tree** - if you want to exclude the tree of pages from the list you can use this shortcode: `[pagelist_ext exclude_tree="7,10"]` where `exclude_tree` parameter accepts comma-separated list of Page IDs (all this pages and their subpages will be excluded);
76
  * **include** - if you want to include certain pages into the list of pages you can use this shortcode: `[pagelist_ext include="6,7,8"]` where `include` parameter accepts comma-separated list of Page IDs;
@@ -93,7 +94,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
93
 
94
  = How to show the list of posts? =
95
 
96
- To show list of posts you can use [List Category Posts](http://wordpress.org/extend/plugins/list-category-posts/other_notes/) plugin.
97
 
98
  = On what functions shortcodes are based? =
99
 
@@ -105,7 +106,7 @@ Shortcode [pagelist_ext] is based on [get_pages()](http://codex.wordpress.org/Fu
105
  Shortcodes [pagelist], [subpages] and [siblings] accept the same parameters. The only difference is that [subpages] and [siblings] not accept `child_of` parameter, because [subpages] shows subpages to the current page and [siblings] shows subpages to the parent page.
106
 
107
  = How to create sitemap.xml? =
108
- To create sitemap.xml you can use [Google XML Sitemaps](http://wordpress.org/extend/plugins/google-sitemap-generator/) plugin.
109
 
110
  = Is there "more-link" feature in the plugin? =
111
  No, there is no "more-link" feature in the plugin. Because "[more-link](http://web-profile.com.ua/web/web-principles/more-link/)":
@@ -123,6 +124,10 @@ When you changed the plugin's code you should also change the plugin's version t
123
 
124
  == Changelog ==
125
 
 
 
 
 
126
  = 4.1 - 2013.01.27 =
127
  * change the type of output the image thumbnail in [pagelist_ext] shortcode
128
 
3
  Donate link: http://web-profile.com.ua/donate/
4
  Tags: page, page-list, pagelist, sitemap, subpages, siblings
5
  Requires at least: 3.0
6
+ Tested up to: 4.1
7
+ Stable tag: 4.2
8
+ License: GPLv3
9
+ License URI: http://www.gnu.org/licenses/gpl.html
10
 
11
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
12
 
13
  == Description ==
14
 
15
+ > **[WordPress Pro plugins](http://codecanyon.net/popular_item/by_category?category=wordpress&ref=webvitaly)** |
16
+ > **[Page-list](http://web-profile.com.ua/wordpress/plugins/page-list/ "Plugin page")** |
17
+ > **[all Page-list params](http://wordpress.org/plugins/page-list/other_notes/)** |
18
+ > **[Donate](http://web-profile.com.ua/donate/ "Support the development")**
19
 
20
  = shortcodes: =
21
 
28
 
29
  * `[pagelist child_of="4" depth="2" exclude="6,7,8"]`
30
  * `[pagelist_ext child_of="4" exclude="6,7,8" image_width="50" image_height="50"]`
31
+ * **[all Page-list params](http://wordpress.org/plugins/page-list/other_notes/)**
32
 
33
+ = Useful: =
34
+ * ["Anti-spam" - block spam in comments](http://wordpress.org/plugins/anti-spam/ "no spam, no captcha")
35
+ * ["Iframe" - embed iframe with shortcode](http://wordpress.org/plugins/iframe/ "embed iframe")
36
+ * [WordPress Pro plugins](http://codecanyon.net/popular_item/by_category?category=wordpress&ref=webvitaly)
37
 
38
  == Other Notes ==
39
 
71
  * **parent** - if you want to show subpages of the specific page only you can use this shortcode: `[pagelist_ext parent="4"]` where `4` is the ID of the specific page and the depth will be only one level; by default parent="-1" and depth is unlimited;
72
  * **sort_order** - if you want to change the sort order of the list of pages (either ascending or descending) you can use this shortcode: `[pagelist_ext sort_order="desc"]`; by default: sort_order="asc"; you can use this values for `sort_order` parameter: asc, desc;
73
  * **sort_column** - if you want to specify the column by what to sort you can use this shortcode: `[pagelist_ext sort_column="menu_order"]`; by default order columns are `sort_column` and `post_title` (sort_column="menu_order, post_title"); you can use this values for `sort_column` parameter: post_title, menu_order, post_date (sort by creation time), post_modified (sort by last modified time), ID, post_author (sort by the page author's numeric ID), post_name (sort by page slug);
74
+ * **hierarchical** - display subpages below their parent page `[pagelist_ext hierarchical="0"]`; by default: hierarchical="1";
75
  * **exclude** - if you want to exclude some pages from the list you can use this shortcode: `[pagelist_ext exclude="6,7,8"]` where `exclude` parameter accepts comma-separated list of Page IDs;
76
  * **exclude_tree** - if you want to exclude the tree of pages from the list you can use this shortcode: `[pagelist_ext exclude_tree="7,10"]` where `exclude_tree` parameter accepts comma-separated list of Page IDs (all this pages and their subpages will be excluded);
77
  * **include** - if you want to include certain pages into the list of pages you can use this shortcode: `[pagelist_ext include="6,7,8"]` where `include` parameter accepts comma-separated list of Page IDs;
94
 
95
  = How to show the list of posts? =
96
 
97
+ To show list of posts you can use [List Category Posts](http://wordpress.org/plugins/list-category-posts/) plugin.
98
 
99
  = On what functions shortcodes are based? =
100
 
106
  Shortcodes [pagelist], [subpages] and [siblings] accept the same parameters. The only difference is that [subpages] and [siblings] not accept `child_of` parameter, because [subpages] shows subpages to the current page and [siblings] shows subpages to the parent page.
107
 
108
  = How to create sitemap.xml? =
109
+ To create sitemap.xml you can use [Google XML Sitemaps](http://wordpress.org/plugins/google-sitemap-generator/) plugin.
110
 
111
  = Is there "more-link" feature in the plugin? =
112
  No, there is no "more-link" feature in the plugin. Because "[more-link](http://web-profile.com.ua/web/web-principles/more-link/)":
124
 
125
  == Changelog ==
126
 
127
+ = 4.2 - 2013.02.16 =
128
+ * fix in css styles (clearfix added to .page-list-ext)
129
+ * make default image size 150x150 like default thumbnail size
130
+
131
  = 4.1 - 2013.01.27 =
132
  * change the type of output the image thumbnail in [pagelist_ext] shortcode
133