HELP WANTED - Where to put the anchor?
I want to put an anchor behind all the links in the menu (all need to have #title behind their permalink). This is the code I found in my theme, it's in a div called top-menu, so I guess this is it . Where should I put the #title thing?
I already have all the anchors on the actual page they link to, so if I put #title after the permalink from the page it should work, right?
<?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2#title><span>$3</span></a>', wp_list_pages('echo=0&orderby=name&title_li=')); ?>
~Jelle
Web Design & SEO Agency | Serving World Wide from New Delhi, India