Oh man, I searched nearly whole Google for getting my problem fixed, but I didn’t find any answer.
I need to wrap a span-tag around the links in the pagetree. I get the links with wp_list_pages(); I put them in a list:
<ul> <li><a href="... </a></li> </ul>
This works without any problem. But what I need is:
<ul> <li><span><a href="... </a></span></li> </ul>
I know that I can do stuff like wrapping a span around the linktext with before and after but I need it this way.
Does anyone know an answer?
Thanks for any answer.
- The topic ‘Add span around link in page-list’ is closed to new replies.