just started converting a site into wordpress when I ran into an issue. I am stripping the default output Table down to just the A tags, but sadly wordpress does not put any of the styling information on the A tags (class or id)
$menuArgs = array(
//...Args...
);
echo strip_tags(
wp_nav_menu( $menuParameters ), '<a>' );?>
Is there any way to add class="MenuLink" to every Echoed A tag easily?? or will I have to use some substr_replace like function ~
echo str_replace ( '<a>' , '<a class="HeaderNavigation-Button">' , Subject );