• Hi,
    I need to add a class to the <a> tag in every list item generated by the wp_list_pages, wp_list_categories, wp_get_archives and wp_list_bookmarks to call a javascript. For example:

    <li class="page_item"><a class="myClass" href="#" title="About">About</a></li>

    How can I do that? Is that possible?
    Thanks,
    Cátia

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add a class to a link inside the list generated by Template Tags’ is closed to new replies.