Support » Fixing WordPress » Links image AND text

  • I’ve done some searching and can’t seem to find anything about this.

    Is there a way to convince ‘wp_get_links’ or ‘get_links’ to display BOTH the link image and link text in one <li>?

    I have been able to get it to display one or the other, but I want an image in front of the text.

    So far I’ve been able to put text into the description field and have it displayed next to the image, but that text isn’t linked. The user has to click the image.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think you would have to do this through a plugin.

    Any chance you know of a plugin that would do it. I have no idea how to make them.

    On the get_links entry in the codex it says this.

    (boolean) Display links (TRUE) or return them for use PHP (FALSE). Defaults to TRUE.

    I’m guessing this means that I can use it to display the links, but I don’t know anything about php. Anyone feel like teaching me a bit? Am I even on the right track?

    If you know nothing about php things might be more difficult ofcourse. If you plan to do more stuff like this yourself I suggest you take a crash course like the ones you’ll find on the web.

    OnSeduction, thanks for the suggestion. This is really the only think I need to solve. do you think this is the ticket for doing what I’m looking for?

    I think some basic knowledge op php will come in handy later too. And for your problem, I don’t know what the output is from the get_links when returned for php use. But I don’t think it will be that hard to create what you like.

    Has anyone found a solution to this? I have been searching and searching, but it seems like the links area is a bit neglected.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Links image AND text’ is closed to new replies.