<?php
if (function_exists('silpstream_get_archives')) {
silpstream_get_archives('param1', 'param2');
}
?>
Thanks! I’m testing it. So far it works very well. Great job, keep up the good work!
I have a question though.
Does it cache the query or requery each page load? Caching would be best as I will eventually have many hundreds of posts.
See it in use at my site.
Also, a readme.txt file is needed in the zip for newbies. (I made my own.)
Don,
Currently there is no cache built into this. I didn’t think that it would be useful to build that in as there is a caching plugin available, called WP-Cache2. Do a quick search for it on the plugin directories and you should find it. I may look later at some of the variable caching later on, but I’m not sure how much benefit it would bring. As for the readme, thanks for mentioning that, I’ll add it in. Cheers!
I’ll check the plugin you mentioned. Do you think it’s a necessary thing to cache? Would it speed the menu once I have lots of posts? If so, I’ll use the caching plugin. What do you think?
Also, is it possible to use this with categories? Like archives but list the categories instead of the month, and then each post under each category.
What I would like to do is provide a tree for archives and another tree for categories to make navigating the site very flexible.
And lastly
Close the current month (or category) upon opening another?
Thanks so much!! This is very good work!
Don,
Using cache is dependant on how much traffic you get. I certainly don’t need it… lol… Go here to find out more about it.
I had categories at first when I was using B2, but didn’t manage to get it into this version since I wanted to get my site up fast. I’ll be putting it in though, so you’ll see an update pretty soon.
As for the the closing question you had, this again is available in dTree, but I need to get some wrappers around the code for it to work here, thus another update.
Give me a bit of time and you’ll have it all! Thanks for the great comments!
I have a problem with my WP-theme. The title are under the images. If you can take a look at my trying site http://millesabords.info/wp2bas/
Thanks a lot
MilleSabords,
It looks like style.css (for WP-dTree) is not loading up. See if you can fix that, or try copying the content of the style.css file into the header area of your template. It isn’t a big file so should cause much problem.
I’ve tried to merge the dTree style in the main style.css of the template, but it doesn’t change anything. I think your (wonderful!)plugin is not compatible with the Regulus theme (http://www.binarymoon.co.uk/projects/regulus/) i use. I don’t know why. I’ve tried dTree v1 and v2, same results.
MilleSabords,
It took me a while but I finally figured out a fix for you. I’ve patched the file and emailed it to you. I’m not releasing it here yet because I haven’t had the chance to fully test it. It should work for the Regulus theme though. Let me know if you have anymore problems.
Thanks a lot, but i didn’t receive your email. Can you send it again or check your send
is difficult to assign at the menu’s item selected a personal class (style);
better if the class is assigned at the current url (if one to go at the page directly by url and not by menu) that match at the menu item;
so is better the use of menu
my precedent post obviously is a question
is difficult to assign at the menu’s item selected a personal class (style)?
alvey,
Sorry I dodn’t realise that you were asking a question. I’m trying to understand your question, so correct me if I am wrong. Are you asking if the menu can open to the item that the page is showing if someone goes to it directly?
If so, currently it can’t be done, but I’ll see if it can be added in. Thanks!
really if I copy the link of this page (where are we)
http://www.silpstream.com/blog/2006/06/16/wp-dtree-v10/
the menu is open at same page and highlight the correct item; so you have make the solution.
alvey,
Test it out! I think it is pretty cool! Thanks for suggesting it! I never even thought of putting something like this in.
a solution for tree pages you are developing?
others: under firefox, when click on symbol or the link, remain around them
a line dotted …………
alvey,
I can’t do anything about the dotted lines. This seems to be how firefox deals with links when they are clicked. I’ve not tried using pages in WordPress yet, but I’ll get around to it. I am thinking of adding that in, just need to understand how Pages work first.
Hmm… I just tried adding a comment and it didn’t work… using Firefox 1.5.0.4 on WinXP…
So what I was asking was, can your plugin make the sidebar titles themselves collapsable? I want to make mine as simple and clean as possible, then expand to show contents. For example, if my sidebar simply looked like this:
Noteworthy
Popular
Categories
Recent Posts
Recent Comments
Monthlies
Then, when someone clicked on Categories for example, it would look like:
Noteworthy
Popular
Categories
- cat1
- cat2
- cat3
- etc
Recent Posts
Recent Comments
Monthlies
Is that possible? Also, does your plugin support extra things like Recent Posts/Comments, Noteworthy, etc? Thx~ (and I’m copying my text this time in case it doesn’t work again
)
Dean,
Thanks for the suggestions! I’ll take a look at the other stuff and seehow I might be able to integrate it into this.
wonderfull the plugin! Do I have the possibility to display the number of posts like
general (6)
specials (3)
I don’t want to show the posts in the navigation - only the categories with their number of posts.
Is it possible?
Many thanks!
Maggie,
I’ve not put post counts in, but I’ll definately look into it! Thanks!
If you have comments to add, please add it to the new WP-dTree page. This area is now closed. Thanks for coming by!!!