Forums

get_links to display test AND image? (4 posts)

  1. libtek
    Member
    Posted 6 years ago #

    Hi,

    I want to display both the text link and image on my list of links, but if I choose to display images, only the image is displayed and the textlink is gone. Are there any workarounds for this?

  2. Michael Bishop
    Forum Concierge
    Posted 6 years ago #

    Well, the long work around would be to enter the link twice and then order by name.

    EDIT What about just making sure (as you should) that all the images have alt and title tags? That way, when someone mouses over the link image, the title of the link is shown.

  3. libtek
    Member
    Posted 6 years ago #

    Images have alt and title tags. I want to use css to hide the image until a hover over the textlink. I got that to work outside of WP, but need a way to get my links in the following format to make it work:

    < a h ref="asdf.html">link 1<img src="pic.jpg"></a>

    If I choose to display images, the "link 1" part disappears.

  4. libtek
    Member
    Posted 6 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags