How to stop parent pages from linking
-
Hi all
I am a newbie to WordPress I have just be playing with it for a few days I am using 2.7.1 (latest). I am not sure if I need a plugin or need to do some changes to the code.
I have been using the painter theme; in the menu system, it is using wp_list_pages, which is built into wordpress. The issue I have is that I’ve made static page with child pages. Which will form the menu for the site.
IE Static Page 1 (parent)
-Page 1 child 1
-Page 1 child 2
-Page 1 child 3
-Page 1 child 4Static Page 2 (parent)
-Page 2 child 1
-Page 2 child 2
-Page 2 child 3In menu (list_Pages) parents will show with drop down menu for child pages, so Page 1 Page2 and so forth
The parents have clickable links which you are able to see when you hover over the link. How can you stop this so that the parent links isn’t clickable?
IE Static Page 1 parent = ?p=8 Clickable link
-Page 1 child 1
-Page 1 child 2
-Page 1 child 3
-Page 1 child 4Static Page 2 parent = ?p=15 Clickable link
-Page 2 child 1
-Page 2 child 2
-Page 2 child 3Is there a plugin somewhere, or do I need to alter the list_page with some code to achive a none clickable result.
Can anybody help please
- The topic ‘How to stop parent pages from linking’ is closed to new replies.