Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add images.

  • @kevinheath

    Participant

    I wish to add some images to the Welcome widget and possibly the arbitrary text widget.

    What code do I use to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @r-a-y

    Keymaster

    You can use HTML code in the Text Widget, and probably in the Welcome Widget as well.

    Sample code:

    <p>This is my message in the widget!</p>
    <img src="PATH TO IMAGE" alt="This is my image in the widget" />

    Remember to upload an image to WordPress first, then grab the link of the image.

    @kevinheath

    Participant

    Well I did try that originally but got code appearing in the text widget.

    What I done in the end is to use the WYSIWYG post editor then switch to HTML view and cut and paste that into the widget.

    Quite logical really. Don’t know why I didn’t think of it before.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add images.’ is closed to new replies.
Skip to toolbar