Forums

Images on Widget's Title or HTML (5 posts)

  1. juanpablojimenez
    Member
    Posted 4 years ago #

    Hi guys.
    I was trying to add an image into the Title of the Widget. This Pluggin as you know, comes already installed with the new wordpress version.

    But i can't, currently, im doing the following:

    Ok, the theme have 2 sidebars, and i arrange the order with the Widgets pluggin, then, i click on the image of the right so that way i can edit the title of the widget, and what i want to do is tu put an image instead of Text, like

    <img src="http://img214.imageshack.us/img214/7548/commentsqk7.jpg> or [img]http://img214.imageshack.us/img214/7548/commentsqk7.jpg[/img] but no one works

    What can i do?, i have already opened the widgets.php, index.php and sidebar.php, but i cant see my blocks (search, categories, random quote, etc) there.

    Sorry for my lack of english
    Wish you a happy new year :D

  2. yakuphan
    Member
    Posted 4 years ago #

    The wordpress's widgets are in "/wp-includes/widget.php"
    But other widgets like "random quote" are in plugins. For example; "random quote" is in "Random Quotes" plugin.
    But i think you can do this using CSS. Set widgets' headers' background to your image, and set "<h2>Widget title</h2>" tag's "inline" style to -999. If you search this subject in google, i thin you can find something.
    (sorry, for my poor English)

  3. upekshapriya
    Member
    Posted 3 years ago #

    I've just discovered Samsarin PHP Widget which allows me to make the widget title into a link, just using html. I guess you could do the same for an image, although using css you would make it much more accessible.

  4. sssaam
    Member
    Posted 3 years ago #

    I'm pretty sure u cant put HTML in the title, but puting it inside will be exactly the same so i sugest u just place the HTML inside the widget rather then in the title.

  5. kevinadams
    Member
    Posted 3 years ago #

    Here is a workaround

    http://www.kevinpadams.com/?p=592

Topic Closed

This topic has been closed to new replies.

About this Topic