Parsing WP Menu
-
Hi
I would like to know whether it is possible to achieve something such as the following
<li class="page_item page-item-49"><a href="http://www.test.com/wp/blog" title="Blog">Blog</a>
into
<li class="page_item page-item-49"><a href="http://www.test.com/wp/blog" title="Blog"><span>Blog</span></a>
basically, I want to add <span> tags between the
<a>
tags.. I’m new to WordPress and even PHP so I’m not sure if theres an easy way of going around this by adding a filter, or using a concept of regex with a PHP function.Any help would be appreciated.
Thanks
- The topic ‘Parsing WP Menu’ is closed to new replies.