I have several category widgets, and I love the appearance. However, I want to be able to disable the category name from being a link.
Example:
Letters to Adrian (widget title)
Introduction (Cat 1) +
Post
Post
Before Letters (Cat 2) +
Post
Post
In this example, I like the structure. But I want the Category names to not be a link. I only want the posts to be a link. Is it possible to disable the linking from the category names? I am fine with disabling for the entire plugin on my site.
OnPoint Plugins
Good Morning Miranda,
The most straight forward way to accomplish this would be to make the accordion menus open/close when the categories are clicked on. This may be accomplished with some custom JavaScript:
Have a great day!
Mat Lipe
Elizabeth Hernandez
Hi, thank you so much! Could you please tell me where I should paste this? I know how to get into the editor, but I’m not sure where specifically to paste the code.
OnPoint Plugins
If you prefer to add the JavaScript directly, it may be done by adding the following code to your active theme’s functions.php file:
Miranda Hernandez
Thank you!
OnPoint Plugins
Hi Miranda,
I wanted to stop in to let you know PRO version 8.4.0 is now available which includes widget options for using links as open/close. You may now use the widget options instead of the custom JavaScript.
Documentation is here.
Enjoy!