• Resolved meesterjelnl

    (@meesterjelnl)


    Dear all,

    I’m using Link Library for an educational website. To sum up a few website to practice subjects. The thing works amazing.
    However, I would like an option to make all categories go passive. Still visible, but inactive.
    When you visit my websites “websites” page you’ll see all categories are active at first. You would have to uncheck all the categories to get to 1 active category. But if there was a button or something…?

    Is there a way to do this?

    • This topic was modified 4 years, 5 months ago by meesterjelnl.
    • This topic was modified 4 years, 5 months ago by meesterjelnl.
    • This topic was modified 4 years, 5 months ago by meesterjelnl.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    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?

    Thread Starter meesterjelnl

    (@meesterjelnl)

    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?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    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.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    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;
    }
    Plugin Author Yannick Lefebvre

    (@jackdewey)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Make all categories “inactive”’ is closed to new replies.