To be clear, are you looking to only have one active category at the top of the page and to see the link from that single category? Or to have no links displayed and no active categories?
Thanks for replying Yannick, you are always so quick!
I would like an option to “clear all” active categories. After that a person can single out his own category as active.
So in my example… people would be able to click a button to make all categories passive and then click on the “math” category to only see math-websites. Still above are the other categories, but they are passive.
I think this would still be elegant, fast and you don’t need to make a lot of different pages/menu’s etc. Or am I wrong?
I am working on version 7.3 and have included the feature you requested here. That being said, I have not released the new version since I’ve made some changes for which I’d like to get some beta tester feedback.
You can download the beta version here: https://downloads.wordpress.org/plugin/link-library.7.3.0.Beta3.zip
Once downloaded, replace the version on your server with this new version.
Then:
– Confirm that your library works like it did before
– Go to the Categories tab of your Library Configuration and change the Link Categories Display Format from “Visibility Toggles” to “Visibility Toggles with Show/Hide All buttons”. This will add two extra items at the end of the list of toggles to hide all or show all.
Looking forward to your feedback. If you haven’t done so before, please consider donating to support this plugin’s development.
I forgot to mention that you will need to make some changes to the Stylesheet Editor section of the plugin.
I modified the cattoggle and catactive sections as shown below. More precisely, I added two additional selectors to each item, and I also added the cursor rule in the first section:
.cattoggle, .cattogglehideall, .cattoggleshowall {
margin: 10px;
padding: 10px;
float: left;
border-radius: 5px;
cursor: pointer;
}
.catactive, .cattogglehideall, .cattoggleshowall {
background-color: #228B22;
color: #FFF;
}
Version 7.3 has been officially release this past week-end. Let me know if this functionality works as expected after you upgrade and please consider donating to support this plugin’s development.