Simple Sitemap – Automatically Generate a Responsive Sitemap - Version 2.0

Version Description

Download this release

Release Info

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

Code changes from version 1.9 to 2.0

Files changed (2) hide show
  1. readme.txt +6 -2
  2. simple-sitemap.php +20 -17
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dgwyer
3
  Tags: seo sitemap, html, sitemap, html sitemap, seo, global, sort, shortcode, pages, posts, custom post types, post types, responsive, responsive sitemap
4
  Requires at least: 3.0
5
  Tested up to: 4.7
6
- Stable tag: 1.9
7
 
8
  The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
9
 
@@ -61,13 +61,17 @@ Please <a href="https://wordpress.org/support/view/plugin-reviews/simple-sitemap
61
  4. Display sitemap inside a tabbed layout! (Pro only)
62
  5. Tabbed sitemap is fully responsive too. (Pro only)
63
  6. Easily add icons and captions to each sitemap item. (Pro only)
64
- 7. Added icons and captions look great on mobile devices. (Pro only).
65
  8. Remove ALL parent page links and leave just the title text. (Pro only)
66
  9. Remove specific parent page links ONLY by entering a comma separated list of parent page IDs. (Pro only)
67
  10. Show sitemap in a horizontal list separated by any character(s). (Pro only)
68
 
69
  == Changelog ==
70
 
 
 
 
 
71
  *1.9 update*
72
 
73
  * Fixed compatibility bug with WordPress 4.7.
3
  Tags: seo sitemap, html, sitemap, html sitemap, seo, global, sort, shortcode, pages, posts, custom post types, post types, responsive, responsive sitemap
4
  Requires at least: 3.0
5
  Tested up to: 4.7
6
+ Stable tag: 2.0
7
 
8
  The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
9
 
61
  4. Display sitemap inside a tabbed layout! (Pro only)
62
  5. Tabbed sitemap is fully responsive too. (Pro only)
63
  6. Easily add icons and captions to each sitemap item. (Pro only)
64
+ 7. Added icons and captions look great on mobile devices. (Pro only)
65
  8. Remove ALL parent page links and leave just the title text. (Pro only)
66
  9. Remove specific parent page links ONLY by entering a comma separated list of parent page IDs. (Pro only)
67
  10. Show sitemap in a horizontal list separated by any character(s). (Pro only)
68
 
69
  == Changelog ==
70
 
71
+ *2.0*
72
+
73
+ * Plugin settings page updated.
74
+
75
  *1.9 update*
76
 
77
  * Fixed compatibility bug with WordPress 4.7.
simple-sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://wordpress.org/plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts, pages, or custom post types. You can even display posts in groups sorted by taxonomy!
6
- Version: 1.9
7
  Author: David Gwyer
8
  Author URI: http://www.wpgoplugins.com
9
  Text Domain: simple-sitemap
@@ -74,11 +74,17 @@ function wpss_add_options_page() {
74
  /* Draw the menu page itself. */
75
  function wpss_render_form() {
76
  ?>
 
 
 
 
 
 
77
  <div class="wrap">
78
  <h2><?php _e( 'Simple Sitemap Options', 'simple-sitemap' ); ?></h2>
79
 
80
- <div class="notice" style="border: 2px #DAA520 solid;margin: 20px 0;">
81
- <p><a href="https://wpgoplugins.com/plugins/simple-sitemap-pro/" target="_blank"><strong>Simple Sitemap PRO</strong></a> is now available! Access great new features such as sitemap image icons, captions, and beautiful responsive tabbed layouts. <b>Try risk free today with our 100% money back guarantee! <span class="dashicons dashicons-smiley"></span></b></p>
82
  <p style="font-weight:bold;">*NEW* in Simple Sitemap Pro 0.6: Remove sitemap links for ALL parent pages or specific ones only.</p>
83
  </div>
84
 
@@ -123,22 +129,18 @@ function wpss_render_form() {
123
  exclude=""<br><br></b>
124
  </div>
125
 
126
- <div style="clear:both;">
127
- <p>
128
- <a href="http://www.twitter.com/dgwyer" title="Join me on Twitter!" target="_blank"><img src="<?php echo plugins_url(); ?>/simple-sitemap/images/twitter.png"></a>&nbsp;&nbsp;
129
- <input class="button" style="vertical-align:12px;" type="button" value="Visit Our NEW Plugin Site!" onClick="window.open('http://www.wpgoplugins.com')">
130
- <input class="button" style="vertical-align:12px;" type="button" value="Flexr, Our Latest Theme" onClick="window.open('http://www.wpgothemes.com/themes/flexr')">
131
- </p>
132
  </div>
133
 
134
- <?php
135
- $discount_date = "14th August 2014";
136
- if( strtotime($discount_date) > strtotime('now') ) {
137
- echo '<p style="background: #fff;border: 1px dashed #ccc;font-size: 13px;margin: 0 0 10px 0;padding: 5px 0 5px 8px;">' . __( 'For a limited time only! <strong>Get 50% OFF</strong> the price of our brand new mobile ready, fully responsive <a href="http://www.wpgothemes.com/themes/minn/" target="_blank"><strong>Minn WordPress theme</strong></a>. Simply enter the following code at checkout: <code>MINN50OFF</code>', 'simple-sitemap' ) . '</p>';
138
- } else {
139
- echo '<p style="background: #eee;border: 1px dashed #ccc;font-size: 13px;margin: 0 0 10px 0;padding: 5px 0 5px 8px;">' . __( 'As a user of our free plugins here\'s a bonus just for you! <strong>Get 30% OFF</strong> the price of our brand new mobile ready, fully responsive <a href="http://www.wpgothemes.com/themes/minn/" target="_blank"><strong>Minn WordPress theme</strong></a>. Simply enter the following code at checkout: <code>WPGO30OFF</code>', 'simple-sitemap' ) . '</p>';
140
- }
141
- ?>
142
 
143
  </div>
144
  <?php
@@ -455,6 +457,7 @@ function wpss_render_sitemap_group($args) {
455
  // ***********
456
  // CONTENT END
457
  // ***********
 
458
 
459
  $sitemap = ob_get_contents();
460
  ob_end_clean();
3
  Plugin Name: Simple Sitemap
4
  Plugin URI: http://wordpress.org/plugins/simple-sitemap/
5
  Description: HTML sitemap to display content as a single linked list of posts, pages, or custom post types. You can even display posts in groups sorted by taxonomy!
6
+ Version: 2.0
7
  Author: David Gwyer
8
  Author URI: http://www.wpgoplugins.com
9
  Text Domain: simple-sitemap
74
  /* Draw the menu page itself. */
75
  function wpss_render_form() {
76
  ?>
77
+ <style>
78
+ a:focus{ box-shadow: none;}
79
+ .pcdm.dashicons { width: 32px; height: 32px; font-size: 32px; }
80
+ .pcdm.dashicons-yes { color: #1cc31c; }
81
+ .pcdm.dashicons-no { color: red; }
82
+ </style>
83
  <div class="wrap">
84
  <h2><?php _e( 'Simple Sitemap Options', 'simple-sitemap' ); ?></h2>
85
 
86
+ <div class="notice" style="border: 2px #32cd32 solid;margin: 20px 0;">
87
+ <p><a style="color:#32cd32;" href="https://wpgoplugins.com/plugins/simple-sitemap-pro/" target="_blank"><strong>Simple Sitemap PRO</strong></a> is now available! Access great new features such as sitemap image icons, captions, and beautiful responsive tabbed layouts. <b>Try risk free today with our 100% money back guarantee! <span class="dashicons dashicons-smiley"></span></b></p>
88
  <p style="font-weight:bold;">*NEW* in Simple Sitemap Pro 0.6: Remove sitemap links for ALL parent pages or specific ones only.</p>
89
  </div>
90
 
129
  exclude=""<br><br></b>
130
  </div>
131
 
132
+ <div style="margin-top:15px;">
133
+ <p style="margin-bottom:10px;">If you use this FREE Plugin on your website <b><em>please</em></b> consider making a <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FBAG4ZHA4TTUC" target="_blank">donation</a> to support continued development. Thank you.<span style="margin-left:5px;" class="dashicons dashicons-smiley"></span></p>
 
 
 
 
134
  </div>
135
 
136
+ <div style="clear:both;">
137
+ <span><a href="http://www.twitter.com/dgwyer" title="Follow us on Twitter" target="_blank"><img src="<?php echo plugins_url(); ?>/config-constants/images/twitter.png" /></a></span>
138
+ <span><a href="https://www.facebook.com/wpgoplugins/" title="Our Facebook page" target="_blank"><img src="<?php echo plugins_url(); ?>/config-constants/images/facebook.png" /></a></span>
139
+ <span><a href="https://www.youtube.com/channel/UCWzjTLWoyMgtIfpDgJavrTg" title="View our YouTube channel" target="_blank"><img src="<?php echo plugins_url(); ?>/config-constants/images/yt.png" /></a></span>
140
+ <span><a style="text-decoration:none;" title="Need help with ANY aspect of WordPress? We're here to help!" href="https://wpgoplugins.com/need-help-with-wordpress/" target="_blank"><span style="margin-left:-2px;color:#d41515;font-size:39px;line-height:32px;width:39px;height:39px;" class="dashicons dashicons-sos"></span></a></span>
141
+ <span style="margin-left:20px;"><input class="button" style="vertical-align:12px;" type="button" value="Visit Our Site" onClick="window.open('http://www.wpgoplugins.com')"></span>
142
+ <span style="margin-left:3px;"><input class="button" style="vertical-align:12px;" type="button" value="Subscribe (free)" title="Signup today for all the latest plugin news and updates!" onClick="window.open('http://eepurl.com/bXZmmD')"></span>
143
+ </div>
144
 
145
  </div>
146
  <?php
457
  // ***********
458
  // CONTENT END
459
  // ***********
460
+ ob_start();
461
 
462
  $sitemap = ob_get_contents();
463
  ob_end_clean();