Adding Media to Widgets

Community Forums Forums General Discussion Adding Media to Widgets

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  asmallbizlife 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14844

    asmallbizlife
    Participant
    Post count: 7

    I am using the Freelance child theme and I am having trouble putting pictures onto my widgets. I have tried simply copying and pasting it into text widgets, and copying the image URL from my media library and pasting into a text widget. Neither have worked. Can someone help me out with this problem please?

    Thank you!

    #14846

    braddalton
    Participant
    Post count: 7443

    Insert the images into a new post draft and copy and paste the HTML into a text widget.

    Example:

    <a href="http://example.com/wp-content/uploads/2008/09/color_settings.png"><img class="aligncenter size-full wp-image-69" alt="image alt text" src="http://example.com/wp-content/uploads/2008/09/color_settings.png" width="128" height="128" /></a>
    

    Another option is to use a plugin which is specifically developed as an image widget http://wordpress.org/extend/plugins/image-widget/


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #14863

    asmallbizlife
    Participant
    Post count: 7

    Thank you, Brad! I appreciate your help. It worked like a charm.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.