Text widget code for photo from library

Home Forums All Other Themes Text widget code for photo from library

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #35419
    Sixtina AlwardtSixtina Alwardt
    Member
    • Topics: 14
    • Replies: 37
    • Total: 51
    Member since: March 23, 2016

    Hello everyone,

    I would like to add another TEXT widget to my sidebar.
    In this text widget I want to insert the HTML code to refer to a photo of my gallery (the link to the photo I can get in the library). I previously had it somewhere but now cant find it anymore. Can you provide me this short code again?

    Thanks in advance.

    Sixtina

    #35507
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi,

    For shortcode of gallery kindly check appearance>theme options>shortcodes

    You should find it there.

    Regards,
    Shri

    #35581
    Sixtina AlwardtSixtina Alwardt
    Member
    • Topics: 14
    • Replies: 37
    • Total: 51
    Member since: March 23, 2016

    Hi Shri,

    I saw the shortcodes but there is none with the link to the gallery.
    I remember the code was in one of the sections but now I deleted it because I dont use them. Maybe if you can provide me with the original default codes of each section I am able to find it again. It was a code where it said something like ….gallery”link” or link = “…” Do you know what I mean?

    #35736
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi,

    shortcode with filter: [photogallery filter=”true”] and without filter:

    [photogallery filter=”false”]

    Choose any of the 2.

    Regards,
    Shri

    #35783
    Sixtina AlwardtSixtina Alwardt
    Member
    • Topics: 14
    • Replies: 37
    • Total: 51
    Member since: March 23, 2016

    Hi Shri,

    I think we still have a misunderstanding. I would like to use this photo URL (only one single photo) from media (http://imgur.com/195wk7l) and paste it in a newly created text widget under appearance > widget.

    So the one photo will show on my sidebar. Do you know what I mean?

    Appreciate your help.

    #35832
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30995
    • Total: 30995
    Member since: August 16, 2013

    Hi Sixtina,

    You can use plugin image widget https://wordpress.org/plugins/image-widget/

    Regards,
    Brad

    #35833
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30995
    • Total: 30995
    Member since: August 16, 2013

    Hi Sixtina,

    You can use plugin image widget https://wordpress.org/plugins/image-widget/

    Regards,
    Brad

    #36619
    Sixtina AlwardtSixtina Alwardt
    Member
    • Topics: 14
    • Replies: 37
    • Total: 51
    Member since: March 23, 2016

    Hi Brad,

    thanks for the idea with the widget. I would rather prefer to use the link I used before from your own theme code than use more and more plugins if not necessary.

    Can you not provide me with this one line of code you have, where I just have to enter the link of the wanted image, exactly how I did it before. I wish I had taken a screenshot of it. I remember really well that I copy pasted it out of one of the 4 sections which are in the theme by default. And the trick with the link to the image I got from one of your videos.

    Can you provide me that link?

    Thank you

    Sixtina

    #36624
    Sixtina AlwardtSixtina Alwardt
    Member
    • Topics: 14
    • Replies: 37
    • Total: 51
    Member since: March 23, 2016

    Hi Brad,

    happy with the widget. Thank you. 🙂

    But if you could still find that piece of code I appreciate it 🙂 If not then never mind. This is a nice workaround as well.

    #36680
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30995
    • Total: 30995
    Member since: August 16, 2013

    Okay cool 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.