Can anyone translate this code?
I’ve inherited a site from someone else and am trying to figure out why the navbar is not linking anywhere. There’s this code in the template:
<?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_pages('echo=0&orderby=name&exlude=181&title_li=&depth=1?')); ?>
If you look at the page source for this page:
The links are there, but they’re dead on the site.
Weird. Anybody have any idea what’s going on?
- The topic ‘Can anyone translate this code?’ is closed to new replies.