Simple Sitemap – Automatically Generate a Responsive Sitemap - Version 2.2

Version Description

Download this release

Release Info

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

Code changes from version 2.1 to 2.2

Files changed (3) hide show
  1. images/wpgo_plugins_logo.png +0 -0
  2. readme.txt +6 -2
  3. simple-sitemap.php +61 -25
images/wpgo_plugins_logo.png ADDED
Binary file
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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: 2.1
7
 
8
  The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
9
 
@@ -68,6 +68,10 @@ Please <a href="https://wordpress.org/support/view/plugin-reviews/simple-sitemap
68
 
69
  == Changelog ==
70
 
 
 
 
 
71
  *2.1*
72
 
73
  * Fixed broken image links on plugin settings page.
2
  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.8
6
+ Stable tag: 2.2
7
 
8
  The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
9
 
68
 
69
  == Changelog ==
70
 
71
+ *2.2*
72
+
73
+ * Plugin settings page updated.
74
+
75
  *2.1*
76
 
77
  * Fixed broken image links on plugin settings page.
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: 2.1
7
  Author: David Gwyer
8
  Author URI: http://www.wpgoplugins.com
9
  Text Domain: simple-sitemap
@@ -81,19 +81,65 @@ function wpss_render_form() {
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!</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
- <p style="font-weight:bold;">*NEW* in Simple Sitemap Pro 0.7: List child pages of a specific parent page. Easily create a sitemap list for each set of child pages.</p>
90
  </div>
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  <div style="background:#fff;border: 1px dashed #ccc;font-size: 13px;margin: 20px 0 10px 0;padding: 5px 0 5px 8px;">
93
  <?php printf( __( 'To display the Simple Sitemap on a post, page, or sidebar (via a Text widget), enter the following shortcode:<br><br>', 'simple-sitemap' ) ); ?> <code>[simple-sitemap]</code><br><br>
94
  </div>
95
 
96
- <h2><?php _e( 'Choose the Post Types to Display', 'simple-sitemap' ); ?></h2>
97
 
98
  <p><?php _e( 'You now have full control over what post types are displayed as well as the order they are rendered.', 'simple-sitemap' ); ?></p>
99
 
@@ -109,7 +155,7 @@ function wpss_render_form() {
109
  ?>
110
  </div>
111
 
112
- <h2><?php _e( 'Formatting the Sitemap Output', 'simple-sitemap' ); ?></h2>
113
 
114
  <p><?php _e( 'You have various options for controlling how your sitemap displays.', 'simple-sitemap' ); ?></p>
115
 
@@ -126,19 +172,6 @@ function wpss_render_form() {
126
  exclude=""<br><br></b>
127
  </div>
128
 
129
- <div style="margin-top:15px;">
130
- <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>
131
- </div>
132
-
133
- <div style="clear:both;">
134
- <span><a href="http://www.twitter.com/dgwyer" title="Follow us on Twitter" target="_blank"><img src="<?php echo plugins_url(); ?>/simple-sitemap/images/twitter.png" /></a></span>
135
- <span><a href="https://www.facebook.com/wpgoplugins/" title="Our Facebook page" target="_blank"><img src="<?php echo plugins_url(); ?>/simple-sitemap/images/facebook.png" /></a></span>
136
- <span><a href="https://www.youtube.com/channel/UCWzjTLWoyMgtIfpDgJavrTg" title="View our YouTube channel" target="_blank"><img src="<?php echo plugins_url(); ?>/simple-sitemap/images/yt.png" /></a></span>
137
- <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>
138
- <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>
139
- <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>
140
- </div>
141
-
142
  </div>
143
  <?php
144
  }
@@ -538,10 +571,13 @@ function wpss_plugin_action_links( $links, $file ) {
538
  function wpss_plugin_settings_link( $links, $file ) {
539
 
540
  if ( $file == plugin_basename( __FILE__ ) ) {
541
- $posk_links = '<a style="color:limegreen;" href="https://wpgoplugins.com/plugins/simple-sitemap-pro/" target="_blank" title="Upgrade to Pro - 100% money back guarantee"><span class="dashicons dashicons-awards"></span></a> | ';
542
- $posk_links .= '<a href="' . esc_url(get_admin_url() . 'options-general.php?page=simple-sitemap/simple-sitemap.php' ) . '">' . __( 'Settings', 'simple-sitemap' ) . '</a>';
543
- // make the 'Settings' link appear first
544
- array_unshift( $links, $posk_links );
 
 
 
545
  }
546
 
547
  return $links;
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.2
7
  Author: David Gwyer
8
  Author URI: http://www.wpgoplugins.com
9
  Text Domain: simple-sitemap
81
  .pcdm.dashicons-no { color: red; }
82
  </style>
83
  <div class="wrap">
84
+ <div style="display:flex;justify-content: space-between;">
85
+ <h2><?php _e( 'Simple Sitemap Options', 'simple-sitemap' ); ?></h2>
86
+ <div><a target="_blank" title="We love to develop WordPress plugins!" alt="WPGO Plugins Site" href="https://wpgoplugins.com/"><img src="<?php echo plugins_url(); ?>/wp-content-filter/images/wpgo_plugins_logo.png"></a></div>
87
+ </div>
88
 
89
+ <div style="background: #fff; width: 600px; padding-left: 20px;border: 2px #32cd32 solid;margin: 20px 0;">
90
+ <h2>*NEW* in Simple Sitemap Pro</h2>
91
+ <p><span style="font-weight:bold;">v0.6</span> - Remove sitemap links for ALL parent pages or specific ones only.</p>
92
+ <p><span style="font-weight:bold;">v0.7</span> - List child pages of a specific parent page. Easily create a sitemap list for each set of child pages.</p>
93
  </div>
94
 
95
+ <table class="form-table">
96
+
97
+ <tr valign="top">
98
+ <th scope="row">Like the plugin?</th>
99
+ <td>
100
+ <p>Then why not upgrade to Pro and access powerful additional features. Try risk free today with our <span style="font-weight: bold;">100% money back guarantee!</span></p>
101
+ <div style="margin-top:10px;"><input class="button" type="button" value="Upgrade to Pro" onClick="window.open('https://wpgoplugins.com/plugins/simple-sitemap-pro/')"></div>
102
+ </td>
103
+ </tr>
104
+
105
+ <tr valign="top">
106
+ <th scope="row">Read all about it!</th>
107
+ <td>
108
+ <p>Signup to our plugin newsletter for news and updates about our latest work, and what's coming.</p>
109
+ <div style="margin-top:10px;"><input class="button" type="button" value="Subscribe here..." onClick="window.open('http://eepurl.com/bXZmmD')"></div>
110
+ </td>
111
+ </tr>
112
+
113
+ <tr valign="top">
114
+ <th scope="row">Buy me a coffee?</th>
115
+ <td>
116
+ <p>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>
117
+ </td>
118
+ </tr>
119
+
120
+ <tr valign="top">
121
+ <th scope="row">Keep in touch...</th>
122
+ <td>
123
+ <div>
124
+ <span><a href="http://www.twitter.com/dgwyer" title="Follow us on Twitter" target="_blank"><img src="<?php echo plugins_url(); ?>/wp-content-filter/images/twitter.png" /></a></span>
125
+ <span><a href="https://www.facebook.com/wpgoplugins/" title="Our Facebook page" target="_blank"><img src="<?php echo plugins_url(); ?>/wp-content-filter/images/facebook.png" /></a></span>
126
+ <span><a href="https://www.youtube.com/channel/UCWzjTLWoyMgtIfpDgJavrTg" title="View our YouTube channel" target="_blank"><img src="<?php echo plugins_url(); ?>/wp-content-filter/images/yt.png" /></a></span>
127
+ <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>
128
+ </div>
129
+ </td>
130
+ </tr>
131
+
132
+ <tr valign="top"><td colspan="2"><hr></td></tr>
133
+
134
+ </table>
135
+
136
+ <h2>Simple Sitemap Instructions</h2>
137
+
138
  <div style="background:#fff;border: 1px dashed #ccc;font-size: 13px;margin: 20px 0 10px 0;padding: 5px 0 5px 8px;">
139
  <?php printf( __( 'To display the Simple Sitemap on a post, page, or sidebar (via a Text widget), enter the following shortcode:<br><br>', 'simple-sitemap' ) ); ?> <code>[simple-sitemap]</code><br><br>
140
  </div>
141
 
142
+ <h3><?php _e( 'Choose the Post Types to Display', 'simple-sitemap' ); ?></h3>
143
 
144
  <p><?php _e( 'You now have full control over what post types are displayed as well as the order they are rendered.', 'simple-sitemap' ); ?></p>
145
 
155
  ?>
156
  </div>
157
 
158
+ <h3><?php _e( 'Formatting the Sitemap Output', 'simple-sitemap' ); ?></h3>
159
 
160
  <p><?php _e( 'You have various options for controlling how your sitemap displays.', 'simple-sitemap' ); ?></p>
161
 
172
  exclude=""<br><br></b>
173
  </div>
174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  </div>
176
  <?php
177
  }
571
  function wpss_plugin_settings_link( $links, $file ) {
572
 
573
  if ( $file == plugin_basename( __FILE__ ) ) {
574
+ $pccf_links = '<a href="' . get_admin_url() . 'options-general.php?page=simple-sitemap/simple-sitemap.php">' . __( 'Settings' ) . '</a>';
575
+ array_unshift( $links, $pccf_links );
576
+ }
577
+
578
+ if ( $file == plugin_basename( __FILE__ ) ) {
579
+ $pccf_links = '<a style="color:#d54e21;" href="https://wpgoplugins.com/plugins/simple-sitemap-pro/" target="_blank" title="Go PRO - 100% money back guarantee"><span class="dashicons dashicons-megaphone"></span></a>';
580
+ array_push( $links, $pccf_links );
581
  }
582
 
583
  return $links;