I have a client who wants to unlink the Category Parent and have only the 'childs' as linked, what is the easiest/fastest way? I'm find with editing core files if needed.
I have a client who wants to unlink the Category Parent and have only the 'childs' as linked, what is the easiest/fastest way? I'm find with editing core files if needed.
I was able to find the category link code. For others it can be found in ./wp-includes/classes.php
Starts around line 637. I just added an if statement for $category->parent and removed all the link tags. Basically just set it to $link = $cat_name;
Bumping this up because I can't get this to work. I have some parent pages that have sub pages and some parent pages that do not have sub pages. For those parent pages with sub pages I do not want the parent page to be "clickable" or go anywhere. I only want the sub pages in the drop down to click to a page.
Any advice?
This topic has been closed to new replies.