-
AuthorPosts
-
December 4, 2018 at 10:33 am #1040659
hello, i want to add a gallery in the middle of a text, so i need a short code.
Ive put in this:
[av_gallery ids='' style='big_thumb' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='portfolio' columns='5' imagelink='lightbox' lazyload='avia_lazyload' av_uid='av-jgesnq4m' custom_class='av-gallery-style-1' admin_preview_bg='']1. But where/how can i retrieve the ID of the gallery?
2. Im working with Wp Media Folder, dont know if this makes any difference for the ID?December 5, 2018 at 8:55 am #1041099Hey jelle,
I’m not sure I understand what you mean by ID? Are you expecting to add the shortcode then you will be able to change the gallery in just one place and then it will change in all places where you have put it? If so then that is not possible unfortunately.
Best regards,
RikardDecember 5, 2018 at 9:19 am #1041108No, you can drop and drag a container element, and in there you can drag a gallery.
But what if you need a gallery in the middle of a paragraph? You cant put an element IN an element, can you?
So , if you would have a gallery shortcode you could just paste it between the textlines
but for this shortcode you would need an ID to let the program know which gallery you want to put there.
like this:s pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,
here comes my gallery
quis gravida magna mi a libero. Fusce vulputate eleifend sapien. Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui. Cras ultricies mi eu turpis hendrerit fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In ac dui quis mi consectetuer lacinia.December 10, 2018 at 2:09 pm #1043087Hi,
Yes, you should be able to see the image ids in the Media > Library. Put them as the value of the shortcode’s “ids” attribute.
Example image id:
http://site.com/wp-admin/upload.php?item=3504 http://site.com/wp-admin/upload.php?item=3505 >http://site.com/wp-admin/upload.php?item=3506
Example shortcode:
[av_gallery ids='3504, 3505, 3506' style='big_thumb' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='portfolio' columns='5' imagelink='lightbox' lazyload='avia_lazyload' av_uid='av-jgesnq4m' custom_class='av-gallery-style-1' admin_preview_bg='']
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.