![]() |
|
|||
|
Chris, some people, such as myself, use a lot of categories. To make things more user friendly for our readers, it would be great to have a sitemap that can be made to compliment the look of our blog.
Now, I realize that you have an issue with sitemaps because you see them as problematic with Google who might look at them as link farms. However, because you added the 'nofollow' option to posts/pages, that eliminates that potential problem. ![]() So will you add a sitemap option to thesis now? By the way, you are doing a great job! |
|
||||
|
The Archives template already lists all categories (and monthly archives). Not sure how that's different from what you're asking.
__________________
Rick Beckman — DIYthemes Support and Assistant Developer, OpenHook Creator, General Manager of Chaos [ Jump into customization with Thesis OpenHook! • Thesis Manual • My Amazon Wishlist ] |
|
|||
|
Actually, I would like it to not only list the categories, but to also have all of the posts that have been assigned to those categories listed underneath them.
|
|
||||
|
I actually am pretty happy with the Google xml sitemap generator plug-in. At some point, it makes sense to keep some things as plug-ins, and others as theme elements. There are so many plug-ins that solve this, I prefer Pearsonified to work on things that I cannot easily get elsewhere.
__________________
Professional Blog: TeleGlass - Auto Glass | Personal Blog: j.ronald.lee | Twitter: @jronaldlee |
|
||||
|
What justme is asking for isn't an XML Sitemap but an in-theme listing of all blog content. I'm unsure what the benefit would be -- do people actually use sitemaps? lots of choices is bad for usability -- but such a sitemap could be rather easily created via a custom template. I wouldn't be surprised if one of the customizations forums already has a solution for it.
__________________
Rick Beckman — DIYthemes Support and Assistant Developer, OpenHook Creator, General Manager of Chaos [ Jump into customization with Thesis OpenHook! • Thesis Manual • My Amazon Wishlist ] |
|
|||
|
Quote:
Moreover, for people such as myself, who use their posts as a means to witness to others, having a sitemap makes it easier to locate posts that can be quickly viewed to see if that post is applicable to that person's needs, in which case you would give them a link to it. Not having to use the previous or next option makes it a lot faster to locate such posts, especially when they are categorized. Last edited by justme; 05-03-2009 at 06:28 PM. |
|
||||
|
Is Thesis XHTML Sitemap for WordPress | Gary Jones of any use to you?
__________________
Blog: Gary Jones | Twitter: @garyj | Role: Thesis Ninja Tip: Quick Links -> Edit Signature, and add a link to your site(s) - then potential helpers can offer you assistance quicker. If you feel I've helped you, please help me and leave a comment. |
|
|||
|
Gary, thanks for the tip. Worked great for me although I tweaked it a bit so I could use it with the default template instead of the custom template. I tried posting my code as a comment on your blog but the code tags didn't hold everything.
Here's the code I used for anyone who might be interested. HTML Code:
function xhtml_sitemap() {
if (is_page('sitemap') || is_page('insertyourpageidhere')) { ?>
<h3>Pages:</h3>
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
<h3>Blog Posts:</h3>
<ul>
<?php $archive_query = new WP_Query('showposts=1000');
while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> (<?php comments_number('0', '1', '%'); ?>)</li>
<?php endwhile; ?>
</ul>
<h3>Archive Pages by Month:</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h3>Archive Pages by Category:</h3>
<ul>
<?php wp_list_categories('title_li=0'); ?>
</ul>
<?php } }
add_action('thesis_hook_after_post', 'xhtml_sitemap');
Last edited by jgarrett; 05-04-2009 at 04:22 PM. |
|
||||
|
You're welcome Jeff. The comment on my site has been fixed
__________________
Blog: Gary Jones | Twitter: @garyj | Role: Thesis Ninja Tip: Quick Links -> Edit Signature, and add a link to your site(s) - then potential helpers can offer you assistance quicker. If you feel I've helped you, please help me and leave a comment. |
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Standard Blog Format Option Missing | atamy | Bug Reports | 3 | 04-28-2009 05:33 AM |
| Export/Import thesis design option setting | alankan | Support | 1 | 04-20-2009 04:49 PM |