Simple Sitemap – Automatically Generate a Responsive Sitemap - Version 1.63

Version Description

Download this release

Release Info

Developer dgwyer
Plugin Icon Simple Sitemap – Automatically Generate a Responsive Sitemap
Version 1.63
Comparing to
See all releases

Code changes from version 1.62 to 1.63

Files changed (2) hide show
  1. readme.txt +5 -1
  2. simple-sitemap.php +3 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: sitemap, html, global, sort, shortcode, pages, posts
5
  Requires at least: 2.7
6
  Tested up to: 3.9
7
- Stable tag: 1.62
8
 
9
  HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
10
 
@@ -60,6 +60,10 @@ See our <a href="http://www.presscoders.com" target="_blank">WordPress developme
60
 
61
  == Changelog ==
62
 
 
 
 
 
63
  *1.62*
64
 
65
  * Sitemap shortcode now works in text widgets.
4
  Tags: sitemap, html, global, sort, shortcode, pages, posts
5
  Requires at least: 2.7
6
  Tested up to: 3.9
7
+ Stable tag: 1.63
8
 
9
  HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
10
 
60
 
61
  == Changelog ==
62
 
63
+ *1.63*
64
+
65
+ * Fixed bug with CPT links.
66
+
67
  *1.62*
68
 
69
  * Sitemap shortcode now works in text widgets.
simple-sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://www.presscoders.com/plugins/free-plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
6
- Version: 1.62
7
  Author: David Gwyer
8
  Author URI: http://www.presscoders.com
9
  */
@@ -429,7 +429,8 @@ function wpss_gen() {
429
  if( $cpt_posts ) : ?>
430
  <ul class="cpt_item_list">
431
  <?php foreach( $cpt_posts as $cpt_post ) : ?>
432
- <li><a href="<?php echo $cpt_post->guid; ?>"> <?php echo $cpt_post->post_title; ?></a></li>
 
433
  <?php endforeach; ?>
434
  </ul>
435
  <?php endif; ?>
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://www.presscoders.com/plugins/free-plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts and pages, or as groups sorted by taxonomy (via a drop-down box).
6
+ Version: 1.63
7
  Author: David Gwyer
8
  Author URI: http://www.presscoders.com
9
  */
429
  if( $cpt_posts ) : ?>
430
  <ul class="cpt_item_list">
431
  <?php foreach( $cpt_posts as $cpt_post ) : ?>
432
+ <?php $cpt_link = get_post_permalink( $cpt_post->ID ); ?>
433
+ <li><a href="<?php echo $cpt_link; ?>"> <?php echo $cpt_post->post_title; ?></a></li>
434
  <?php endforeach; ?>
435
  </ul>
436
  <?php endif; ?>