-
AuthorPosts
-
April 17, 2015 at 8:13 pm #430589April 20, 2015 at 4:35 pm #431404
Hi FotoTobi!
Are you using our regular image shortcode? If so then when you select the image type out some text in the title attribute and it should display in the popup. They should automatically be linking together in the popup as well.
If that’s not correct then send us a link to the exact page so we can see what shortcodes / content your using.
Cheers!
ElliottApril 21, 2015 at 10:11 pm #432416Hi Elliot,
thx for your reply.
http://www.tobiasgrimm.de/foto-adventskalender-23-dezember
I use the normal wordpress shortcode to insert a picture and ad there a caption.
Look at the Link, on the first picture it works but not on the others why? Can you help?
- This reply was modified 9 years, 8 months ago by FotoTobi.
April 22, 2015 at 11:44 am #432710This reply has been marked as private.April 22, 2015 at 9:57 pm #433150Hey!
Ok so it looks like your not using any shortcodes but your using the WordPress “Add media” button correct? If you switch to the text editor instead of the visual editor then you should see the code which should look something like this.
[caption id="attachment_113" align="alignnone" width="300"]<a href="http://www.yoursite.com/img.png"><img class="size-medium wp-image-113" src="http://www.yoursite.com/img.png" width="300" height="200" /></a> Caption text[/caption]
You’ll need to add title, alt, and rel attributes to the link so it looks like this.
[caption id="attachment_113" align="alignnone" width="300"]<a title = "title text" alt = "alt text" rel = "lightbox" href="http://www.yoursite.com/img.png"><img class="size-medium wp-image-113" src="http://www.yoursite.com/img.png" width="300" height="200" /></a> Caption text[/caption]
And they will open up in the magnific popups now and display the title text you have set.
Or you could use our image shortcodes which does all of this automatically.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.