Version Description
Download this release
Release Info
Developer | dgwyer |
Plugin | Simple Sitemap – Automatically Generate a Responsive Sitemap |
Version | 1.87 |
Comparing to | |
See all releases |
Code changes from version 1.86 to 1.87
- readme.txt +8 -2
- simple-sitemap.php +21 -12
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: 2.7
|
5 |
Tested up to: 4.5.2
|
6 |
-
Stable tag: 1.
|
7 |
|
8 |
The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
|
9 |
|
@@ -29,7 +29,9 @@ To display the sitemap simply add the [simple-sitemap] shortcode to any post or
|
|
29 |
|
30 |
Please <a href="https://wordpress.org/support/view/plugin-reviews/simple-sitemap"><strong>rate</strong></a> this Plugin if you find it useful. It only takes a moment but it's very much appreciated. :)
|
31 |
|
32 |
-
><strong>We're proud to announce that <a href="https://wpgoplugins.com/plugins/simple-sitemap-pro">Simple Sitemap Pro</a> is now available!</strong>
|
|
|
|
|
33 |
>
|
34 |
>For instance, embed your sitemap inside TABS for a fantastic look. Fully responsive sitemap for column AND tabbed layouts on all devices! Checkout the <a href="https://wordpress.org/plugins/simple-sitemap/screenshots/">screenshots</a>, or click <a href="https://wpgoplugins.com/plugins/simple-sitemap-pro">here</a> for more details.
|
35 |
>
|
@@ -56,6 +58,10 @@ Please <a href="https://wordpress.org/support/view/plugin-reviews/simple-sitemap
|
|
56 |
|
57 |
== Changelog ==
|
58 |
|
|
|
|
|
|
|
|
|
59 |
*1.86 update*
|
60 |
|
61 |
* Added links to 'Pro' version.
|
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: 2.7
|
5 |
Tested up to: 4.5.2
|
6 |
+
Stable tag: 1.87
|
7 |
|
8 |
The simplest responsive HTML sitemap available for WordPress! No setup required. Flexible customization options available.
|
9 |
|
29 |
|
30 |
Please <a href="https://wordpress.org/support/view/plugin-reviews/simple-sitemap"><strong>rate</strong></a> this Plugin if you find it useful. It only takes a moment but it's very much appreciated. :)
|
31 |
|
32 |
+
><strong>We're proud to announce that <a href="https://wpgoplugins.com/plugins/simple-sitemap-pro">Simple Sitemap Pro</a> is now available!</strong>
|
33 |
+
>
|
34 |
+
>Upgrade today for even more flexible sitemap options.
|
35 |
>
|
36 |
>For instance, embed your sitemap inside TABS for a fantastic look. Fully responsive sitemap for column AND tabbed layouts on all devices! Checkout the <a href="https://wordpress.org/plugins/simple-sitemap/screenshots/">screenshots</a>, or click <a href="https://wpgoplugins.com/plugins/simple-sitemap-pro">here</a> for more details.
|
37 |
>
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
+
*1.87 update*
|
62 |
+
|
63 |
+
* Update plugin setting links.
|
64 |
+
|
65 |
*1.86 update*
|
66 |
|
67 |
* Added links to 'Pro' version.
|
simple-sitemap.php
CHANGED
@@ -3,13 +3,13 @@
|
|
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.
|
7 |
Author: David Gwyer
|
8 |
-
Author URI: http://www.
|
9 |
Text Domain: simple-sitemap
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright 2009 David Gwyer (email : david@
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
@@ -32,7 +32,8 @@ add_shortcode( 'simple-sitemap', 'wpss_render_sitemap' );
|
|
32 |
add_shortcode( 'simple-sitemap-group', 'wpss_render_sitemap_group' );
|
33 |
add_action( 'admin_init', 'wpss_init' );
|
34 |
add_action( 'admin_menu', 'wpss_add_options_page' );
|
35 |
-
add_filter( '
|
|
|
36 |
add_filter( 'widget_text', 'do_shortcode' ); // make sitemap shortcode work in text widgets
|
37 |
add_action( 'plugins_loaded', 'wpss_localize_plugin' );
|
38 |
add_action( 'admin_notices', 'wpss_admin_notice' );
|
@@ -52,7 +53,7 @@ function wpss_admin_notice(){
|
|
52 |
if( get_transient( 'wpss-admin-notice' ) ){
|
53 |
?>
|
54 |
<div class="updated notice is-dismissible">
|
55 |
-
<p><
|
56 |
</div>
|
57 |
<?php
|
58 |
/* Delete transient, only display this notice once. */
|
@@ -76,8 +77,8 @@ function wpss_render_form() {
|
|
76 |
<div class="wrap">
|
77 |
<h2><?php _e( 'Simple Sitemap Options', 'simple-sitemap' ); ?></h2>
|
78 |
|
79 |
-
<div class="notice" style="border:
|
80 |
-
<p
|
81 |
</div>
|
82 |
|
83 |
<p><?php _e( 'From version 1.8 the Simple Sitemap plugin has been rewritten to provide much more flexibility. You now have access to a range of shortcode attributes to customize how the sitemap renders.', 'simple-sitemap' ); ?></p>
|
@@ -450,7 +451,6 @@ function wpss_render_sitemap_group($args) {
|
|
450 |
echo "No posts found.";
|
451 |
}
|
452 |
|
453 |
-
|
454 |
// ***********
|
455 |
// CONTENT END
|
456 |
// ***********
|
@@ -524,13 +524,22 @@ function wpss_list_pages( $arr, $query_args ) {
|
|
524 |
// Display a Settings link on the main Plugins page
|
525 |
function wpss_plugin_action_links( $links, $file ) {
|
526 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
if ( $file == plugin_basename( __FILE__ ) ) {
|
528 |
-
$posk_links = '<a href="
|
|
|
529 |
// make the 'Settings' link appear first
|
530 |
array_unshift( $links, $posk_links );
|
531 |
-
|
532 |
-
// add a link to pro plugin
|
533 |
-
$links[] = '<a href="https://wpgoplugins.com/plugins/simple-sitemap-pro/" target="_blank" title="Upgrade to PRO"><span class="dashicons dashicons-awards"></span></a>';
|
534 |
}
|
535 |
|
536 |
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: 1.87
|
7 |
Author: David Gwyer
|
8 |
+
Author URI: http://www.wpgoplugins.com
|
9 |
Text Domain: simple-sitemap
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2009 David Gwyer (email : david@wpgoplugins.com)
|
13 |
|
14 |
This program is free software; you can redistribute it and/or modify
|
15 |
it under the terms of the GNU General Public License as published by
|
32 |
add_shortcode( 'simple-sitemap-group', 'wpss_render_sitemap_group' );
|
33 |
add_action( 'admin_init', 'wpss_init' );
|
34 |
add_action( 'admin_menu', 'wpss_add_options_page' );
|
35 |
+
add_filter( 'plugin_row_meta', 'wpss_plugin_action_links', 10, 2 );
|
36 |
+
add_filter( 'plugin_action_links', 'wpss_plugin_settings_link', 10, 2 );
|
37 |
add_filter( 'widget_text', 'do_shortcode' ); // make sitemap shortcode work in text widgets
|
38 |
add_action( 'plugins_loaded', 'wpss_localize_plugin' );
|
39 |
add_action( 'admin_notices', 'wpss_admin_notice' );
|
53 |
if( get_transient( 'wpss-admin-notice' ) ){
|
54 |
?>
|
55 |
<div class="updated notice is-dismissible">
|
56 |
+
<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>
|
57 |
</div>
|
58 |
<?php
|
59 |
/* Delete transient, only display this notice once. */
|
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 |
</div>
|
83 |
|
84 |
<p><?php _e( 'From version 1.8 the Simple Sitemap plugin has been rewritten to provide much more flexibility. You now have access to a range of shortcode attributes to customize how the sitemap renders.', 'simple-sitemap' ); ?></p>
|
451 |
echo "No posts found.";
|
452 |
}
|
453 |
|
|
|
454 |
// ***********
|
455 |
// CONTENT END
|
456 |
// ***********
|
524 |
// Display a Settings link on the main Plugins page
|
525 |
function wpss_plugin_action_links( $links, $file ) {
|
526 |
|
527 |
+
//if ( $file == plugin_basename( __FILE__ ) ) {
|
528 |
+
// add a link to pro plugin
|
529 |
+
//$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>';
|
530 |
+
//}
|
531 |
+
|
532 |
+
return $links;
|
533 |
+
}
|
534 |
+
|
535 |
+
// Display a Settings link on the main Plugins page
|
536 |
+
function wpss_plugin_settings_link( $links, $file ) {
|
537 |
+
|
538 |
if ( $file == plugin_basename( __FILE__ ) ) {
|
539 |
+
$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> | ';
|
540 |
+
$posk_links .= '<a href="' . esc_url(get_admin_url() . 'options-general.php?page=simple-sitemap/simple-sitemap.php' ) . '">' . __( 'Settings', 'simple-sitemap' ) . '</a>';
|
541 |
// make the 'Settings' link appear first
|
542 |
array_unshift( $links, $posk_links );
|
|
|
|
|
|
|
543 |
}
|
544 |
|
545 |
return $links;
|