What do you mean by archive link? Idon’t understand the bug. Can you give me some steps to reproduce it?
Thread Starter
psn
(@psn)
Hi
With archive link I mean when you click on Year or Month link I get all yearly or monthly post including post from the excluded category.
The only effect I can see is that the number of post for each month is correct but not when I execute by clicking the archive year/month link.
So the exclude don’t work as I thought.
I have tested to change the setting under Extra option to Only expand by clicking the symbol and this works but when clicking on each Month link under each year I get all post again including the excluded category.
So either your plugin don’t work as expected or I have a clash somewhere from other plugin that cause this. In meantime when you test the above I will test some more meaning to deactive some category/archive plugins that we have.
I hope the above can help you tp reproduce the issue.
Per
Ohh i see, no currently this is how the plugin works. You’re the first one to use it like that. Because links will use wordpress’ default links, if you want to exclude you’ll need to use another plugin with this one or modify template to do the filtering (you can load this plugin’s settings)
Thread Starter
psn
(@psn)
Ok but what is the purpose of your plugin then as no exclusion is done??
I mean for exclusion of category.
Per
Thread Starter
psn
(@psn)
Can you give me an example how to modify template so the exclusion from your plugin will work the way I want?
On your template, there should be a query_post()
function, you can read at wordpress codex http://codex.wordpress.org/Function_Reference/query_posts how to exclude categories, basically you’ll need to pass the ids (with negative value) of the categories to exclude.
To avoid writing ids, etc. You’ll need to investigate how to load excluded categories from my plugin (i saved it as an array) and pass it to the function.
Hope this helps you
Thread Starter
psn
(@psn)
Hi
I try my question again: What purpose has your option of exclude categories in widgets settings?
Only effect I can see is when I chose option to see number of post for each month nothing else.
To not display some post of certain categories in the menu (in the count, or lis) it doesn’t affect navigation. Because there are some plugins or alternatives to hide categories in the navigation.