Images
Support Area › Forums › Photobug › Images
Tagged: Captions
- This topic has 4 replies, 3 voices, and was last updated 11 years, 6 months ago by karim hadid.
-
AuthorPosts
-
July 7, 2012 at 00:02 #6713July 7, 2012 at 09:22 #6717Bill RobbinsModerator
Chris,
Thank you for your business first of all. Let me see if I can answer your questions:
Single Gallery Same As Archive
You can do that with a bit of editing. Here’s how:
- Go to the Appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose single.php.
- Replace all the content in single.php with this:
- Save your changes.
That should let you use the layouts from the archive on the single page view.
Adding Lightbox Links
You care correct about the “lightbox” class being the key. The easiest way to do that is to insert the image you’d like to include in your post. Make sure you selected to have the image link to the file. Then switch to the HTML editor from the Visual one. Find the image you just inserted. It should have look something like this:
<a href="http://themes.dev/photo/files/2012/04/buzz.jpg"><img src="https://themes.dev/photo/files/2012/04/buzz.jpg" alt="Buzz Lightyear" title="buzz" width="700" height="943" class="alignright size-full wp-image-28" /></a>
Near the end it says:
class="alignright size-full wp-image-28"
Just add lightbox inside the “” and that should add the image to the pop up. It’ll look like this:
class="alignright size-full wp-image-28 lightbox"
Captions
At the moment I don’t have an easy way to add in captions for the thumbnails or lightbox images. I’ll need to do a bit of experimenting to see what’s the best way to add those. We’ll roll that into an update to the theme once we have it sorted out.
If you have any other questions, just let me know.
Enjoy your weekend,
BillSeptember 19, 2012 at 17:25 #7673karim hadidParticipantHi there,
Any update re the captions not being displayed in the gallery?
Thanks.
Love the theme BTW.
September 20, 2012 at 09:12 #7676Bill RobbinsModeratorI’m glad you’re enjoying the theme. I believe I nearly have the captions sorted out for the galleries. Having my kids out for the summer slowed down development a good bit, but I’m slowly digging out.
I should have that out for you at the first of the week. There is also a new Twitter widget that I’ll be including in the update too.
Thanks,
BillSeptember 25, 2012 at 11:08 #7695karim hadidParticipantSounds great. Thanks for the response.
-
AuthorPosts
- The topic ‘Images’ is closed to new replies.