• Resolved yokima

    (@yokima)


    I want get_links to produce the following kind of lists:

    <pre>
    <a class=”menuButton”
    href=”LINK_URL_HERE”
    onmouseover=”buttonMouseover(event, ‘serviceMenu’);”
    >LINK_NAME_HERE</a
    >
    <a class=”menuButton”
    href=”LINK_URL_HERE”
    onmouseover=”buttonMouseover(event, ‘serviceMenu’);”
    >LINK_NAME_HERE</a
    >
    </pre>

    (this is order to adapt it to produce links to the style of menu elements at http://www.brainjar.com/dhtml/menubar/ )

    now, how could this be accomplished? get_links only allows for the customization of html before and after the A element, not inside the A element. (http://codex.wordpress.org/Template_Tags/get_links)

    <pre>
    <?php get_links(category, ‘before’, ‘after’,
    ‘between’, show_images, ‘order’,
    show_description,show_rating, limit,
    show_updated, echo); ?> </pre>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Customizing inside the A (href) element in get_links’ is closed to new replies.