• Hi,

    Working on a site with a drop-down menu….demo can be seen at skimdeep.net.

    My problem is that I would like the main categories in the navigation bar…products, services, etc. … not to be clickable and only for the subpages beneath them to be active links. Is there a way to accomplish this?

    Many thanks-
    Dan fletcher

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter drflet

    (@drflet)

    Anyone?

    Thread Starter drflet

    (@drflet)

    Please?

    Thread Starter drflet

    (@drflet)

    Pretty please?

    Thread Starter drflet

    (@drflet)

    Can I please get some help?

    Thread Starter drflet

    (@drflet)

    $5 Paypal to anyone who helps.

    I’d be interested in this solution as well.

    All I can think of is removing the link in your theme files.

    <li class="page_item page-item-3 current_page_item"><a href="https://skimdeep.net" title="Home">Home</a></li>
    <li class="page_item page-item-4"><a href="https://skimdeep.net/products/" title="Products">Products</a>

    would become

    <li class="page_item page-item-3 current_page_item"><a href="https://skimdeep.net" title="Home">Home</a></li>
    <li class="page_item page-item-4">Products

    I imagine that’s easier said than done though as this is probably pulled from the DB table.

    I tried un-publishing parent level pages but that removed them from the menu(along with the child pages)

    Will be good to see the answer to this.

    My header.php file is using:

    <?php wp_list_pages('title_li='); ?>

    to list out my navigation, so I can’t seem to figure out a way to do it so that WordPress dynamically lists the parent pages and subpages for me (while leaving the parent page unlinked)… unless I manually hard code my parent pages with their subpages.

    Michael Dance

    (@seventhsteel)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How-to unlink the parent pages’ is closed to new replies.