Version Description
Download this release
Release Info
Developer | dgwyer |
Plugin | Simple Sitemap – Automatically Generate a Responsive Sitemap |
Version | 1.25 |
Comparing to | |
See all releases |
Code changes from version 1.20 to 1.25
- readme.txt +10 -3
- simple-sitemap.php +21 -15
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dgwyer
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UUFZZU35RZPW8
|
4 |
Tags: sitemap, html, global, sort, shortcode, pages, posts
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to: 3.0.
|
7 |
-
Stable tag: 1.
|
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 |
|
@@ -79,4 +79,11 @@ The Plugin can also be installed directly from the main WordPress Plugin page.
|
|
79 |
* Fixed several small bugs
|
80 |
* Sitemap layout tweaked and generally improved
|
81 |
* Added new rendering of sitemap depending on drop-down options
|
82 |
-
* New options to sort by category, author, tags, and date improved significantly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UUFZZU35RZPW8
|
4 |
Tags: sitemap, html, global, sort, shortcode, pages, posts
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 3.0.3
|
7 |
+
Stable tag: 1.25
|
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 |
|
79 |
* Fixed several small bugs
|
80 |
* Sitemap layout tweaked and generally improved
|
81 |
* Added new rendering of sitemap depending on drop-down options
|
82 |
+
* New options to sort by category, author, tags, and date improved significantly
|
83 |
+
|
84 |
+
*1.25*
|
85 |
+
|
86 |
+
* Now supports WordPress 3.0.3
|
87 |
+
* Updated Plugin options page
|
88 |
+
* Fixed issue: http://wordpress.org/support/topic/plugin-simple-sitemap-duplicated-id-post_item
|
89 |
+
* Fixed issue: http://wordpress.org/support/topic/plugin-simple-sitemap-empty-span-when-post-is-not-sticky
|
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.
|
7 |
Author: David Gwyer
|
8 |
Author URI: http://www.presscoders.com
|
9 |
*/
|
@@ -29,6 +29,8 @@ Author URI: http://www.presscoders.com
|
|
29 |
1. Be able to sort ascending/descending in addition to the sort drop down options for each list.
|
30 |
2. Be able to exclude individual posts/pages.
|
31 |
3. Have styling (in Plugins options page textarea?) to control sitemap rendering.
|
|
|
|
|
32 |
*/
|
33 |
|
34 |
// wpss_ suffix is derived from [W]ord[P]ress [s]imple [s]itemap
|
@@ -84,15 +86,17 @@ function wpss_render_form() {
|
|
84 |
<div class="wrap">
|
85 |
<div class="icon32" id="icon-options-general"><br></div>
|
86 |
<h2>Simple Sitemap Options</h2>
|
|
|
87 |
<div style="margin-top:20px;width:800px;">
|
88 |
-
|
89 |
-
|
90 |
-
<
|
91 |
-
<input type="hidden" name="
|
92 |
-
<input type="
|
93 |
-
<
|
94 |
-
|
95 |
-
</
|
|
|
96 |
</div>
|
97 |
<form method="post" action="options.php">
|
98 |
<?php settings_fields('wpss_plugin_options'); ?>
|
@@ -388,7 +392,7 @@ function wpss_gen() {
|
|
388 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
389 |
while (have_posts()) :
|
390 |
the_post(); ?>
|
391 |
-
<li
|
392 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
393 |
</li>
|
394 |
<?php endwhile;
|
@@ -410,7 +414,7 @@ function wpss_gen() {
|
|
410 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
411 |
while (have_posts()) :
|
412 |
the_post(); ?>
|
413 |
-
<li
|
414 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
415 |
</li>
|
416 |
<?php endwhile;
|
@@ -433,7 +437,7 @@ function wpss_gen() {
|
|
433 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
434 |
while (have_posts()) :
|
435 |
the_post(); ?>
|
436 |
-
<li
|
437 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
438 |
</li>
|
439 |
<?php endwhile;
|
@@ -460,7 +464,7 @@ function wpss_gen() {
|
|
460 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
461 |
while (have_posts()) :
|
462 |
the_post(); ?>
|
463 |
-
<li
|
464 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
465 |
</li>
|
466 |
<?php endwhile;
|
@@ -480,9 +484,11 @@ function wpss_gen() {
|
|
480 |
the_post();
|
481 |
$sticky="";
|
482 |
if(is_sticky(get_the_ID())) { $sticky=" (sticky post)"; } ?>
|
483 |
-
<li
|
484 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
485 |
-
|
|
|
|
|
486 |
</li>
|
487 |
<?php endwhile;
|
488 |
echo '</ul>';
|
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.25
|
7 |
Author: David Gwyer
|
8 |
Author URI: http://www.presscoders.com
|
9 |
*/
|
29 |
1. Be able to sort ascending/descending in addition to the sort drop down options for each list.
|
30 |
2. Be able to exclude individual posts/pages.
|
31 |
3. Have styling (in Plugins options page textarea?) to control sitemap rendering.
|
32 |
+
4. Add all in-line styles to external style sheet.
|
33 |
+
5. Options to display custom post types, with ability to show which custom post types to display or not display, and in what order?
|
34 |
*/
|
35 |
|
36 |
// wpss_ suffix is derived from [W]ord[P]ress [s]imple [s]itemap
|
86 |
<div class="wrap">
|
87 |
<div class="icon32" id="icon-options-general"><br></div>
|
88 |
<h2>Simple Sitemap Options</h2>
|
89 |
+
<div style="background:#eee;border: 1px dashed #ccc;font-size: 13px;margin-top: 20px;padding: 5px 0 5px 8px;">To display the Simple Sitemap on a post/page, enter the following <a href="http://codex.wordpress.org/Shortcode_API" target="_blank">shortcode</a>: <b>[simple-sitemap]</b></div>
|
90 |
<div style="margin-top:20px;width:800px;">
|
91 |
+
<div style="float:left;width:80%;">Configure the plugin options below. If you like this Plugin, or use it on a commercial website, then <b><em>please</em></b> consider making a <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UUFZZU35RZPW8" target="_blank">donation</a> to support continued development of this Plugin.</div>
|
92 |
+
<div style="float:right;width:20%;">
|
93 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
94 |
+
<input type="hidden" name="cmd" value="_s-xclick">
|
95 |
+
<input type="hidden" name="hosted_button_id" value="UUFZZU35RZPW8">
|
96 |
+
<input type="image" src="https://www.paypal.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
|
97 |
+
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
|
98 |
+
</form>
|
99 |
+
</div>
|
100 |
</div>
|
101 |
<form method="post" action="options.php">
|
102 |
<?php settings_fields('wpss_plugin_options'); ?>
|
392 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
393 |
while (have_posts()) :
|
394 |
the_post(); ?>
|
395 |
+
<li class="post_item">
|
396 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
397 |
</li>
|
398 |
<?php endwhile;
|
414 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
415 |
while (have_posts()) :
|
416 |
the_post(); ?>
|
417 |
+
<li class="post_item">
|
418 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
419 |
</li>
|
420 |
<?php endwhile;
|
437 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
438 |
while (have_posts()) :
|
439 |
the_post(); ?>
|
440 |
+
<li class="post_item">
|
441 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
442 |
</li>
|
443 |
<?php endwhile;
|
464 |
echo '<div class="post_item_list"><ul class="post_item_list">';
|
465 |
while (have_posts()) :
|
466 |
the_post(); ?>
|
467 |
+
<li class="post_item">
|
468 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
469 |
</li>
|
470 |
<?php endwhile;
|
484 |
the_post();
|
485 |
$sticky="";
|
486 |
if(is_sticky(get_the_ID())) { $sticky=" (sticky post)"; } ?>
|
487 |
+
<li class="post_item">
|
488 |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
|
489 |
+
<?php if ( $sticky == ' (sticky post)' ) : ?>
|
490 |
+
<span class="sticky"><?php echo $sticky; ?></span>
|
491 |
+
<?php endif; ?>
|
492 |
</li>
|
493 |
<?php endwhile;
|
494 |
echo '</ul>';
|