Disabling Individual Link to Page (Not Removing Them)
-
Hi there,
To be concise, I have several pages that I haven’t done working on. I have to hide them from visitor, but I need the visitor to know that the pages exist. What I want is to create those undone pages to be listed in the navigation menu, only without links. I’ve found out many ways to disable link to parent pages, but I didn’t manage to find how to disable individual links (not only parent links). The
<?php wp_list_pages('exclude=ID,ID' ); ?>
works well to prevent the page from being enlisted in the navigation. But what I desire here is to only disable the link and keep the title of the page enlisted.I hope my explanation is quite clear. My English is not good.
Thank you in advance for the enlightement.
- The topic ‘Disabling Individual Link to Page (Not Removing Them)’ is closed to new replies.