If we want to leave it as a “black box” that just doesn’t it’s thing and we don’t mess with it, we can use javascript to disable those menu items.
It looks like you can give your menu items a class in the admin. Give all the ones you don’t want to link directly a class like “no_link” or whatever you want to call it (I’ll use this as an example). This way if you want to disable links anywhere in the menus, you can.
It also looks like it loads jQuery already for parts of the menu, so we’ll just piggyback on that. You can add this to the footer file of your theme (or the header file, either will work)
<script type=“text/javascript”>
$(document).ready(function() {
$(‘li.page_item a.no_link’).click(function(e) {
e.preventDefault();
});
});
</script>
Where I have “no_link” use whatever class name you want to use throughout. That should disable whatever links you want to from clicking with the mouse but should leave them working when someone hovers over.
Technically they can probably still tab through with the keyboard and use those links as well, probably not a bad thing.
I haven’t tested this anywhere, so if there’s a problem with it, I apologize. Would it be possible to check out a link to the site?
The other way to go about it would be to modify the plugin slightly. The problem would be if the developer makes updates later and someone updated through the WordPress admin they would probably be overwritten.