WordPress.org

Support

Support » How-To and Troubleshooting » Disabling Individual Link to Page (Not Removing Them)

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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disabling Individual Link to Page (Not Removing Them)’ is closed to new replies.
Skip to toolbar