<div id="navbarleft"> <ul id="nav"> <?php wp_list_pages('title_li=&depth=4&sort_column=menu_order'); ?> </ul> </div> PHP: How to add nofollow link to pages in the above code?
It looks like a wordpress function. I did a little research for you, you could've google it. Anyway, here's how: You need to install this wordpress plugin. Then replace: <?php wp_list_pages('title_li=&depth=4&sort_column=menu_order'); ?> PHP: With this: <?php add_link_attr('wp_list_pages', 'title_li=&depth=4&sort_column=menu_order', 'rel="nofollow"'); ?> PHP: I haven't tried it myself, hope it works.