Home › Forums › All Other Themes › Text widget code for photo from library
- This topic has 9 replies, 3 voices, and was last updated 8 years, 5 months ago by Sonl Sinha.
-
AuthorPosts
-
May 30, 2016 at 3:56 pm #35419
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
May 31, 2016 at 7:11 am #35507Hi,
For shortcode of gallery kindly check appearance>theme options>shortcodes
You should find it there.
Regards,
ShriMay 31, 2016 at 9:15 pm #35581Hi 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?June 2, 2016 at 10:17 am #35736Hi,
shortcode with filter: [photogallery filter=”true”] and without filter:
[photogallery filter=”false”]
Choose any of the 2.
Regards,
ShriJune 2, 2016 at 5:57 pm #35783Hi 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.
June 3, 2016 at 6:01 am #35832Hi Sixtina,
You can use plugin image widget https://wordpress.org/plugins/image-widget/
Regards,
BradJune 3, 2016 at 6:01 am #35833Hi Sixtina,
You can use plugin image widget https://wordpress.org/plugins/image-widget/
Regards,
BradJune 9, 2016 at 2:10 pm #36619Hi 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
June 9, 2016 at 2:59 pm #36624Hi 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.
June 10, 2016 at 5:07 am #36680Okay cool 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.