• hi

    i’ve got a wp site running with about 15 pages, including about 6 subpages. what i’d like to do is be able to disable linking to parent pages, without removing them from the sidebar.

    so the title of the page would remain in the list, but it wouldn’t be clickable as a list (so it basically just acts as a heading.)

    can anyone think of a way this is possible with wp_list_pages, or should i build the list from scratch with php?

Viewing 1 replies (of 1 total)
  • This can be done using Page Lists Plus.

    Once you’ve installed, go to the Settings > Page Lists Plus page, check the “Link (lets you unlink Pages without removing them from your Page lists)” box and save.

    Then for each page that you want to unlink, go to its edit screen, uncheck the box labelled “If this box is checked then this Page will be linked in lists generated using wp_list_pages()”, and save.

    – Tim

Viewing 1 replies (of 1 total)
  • The topic ‘disable links to some pages in wp_list_pages – NOT exclude’ is closed to new replies.