Problem:
Can we create a WordPress Gallery and laterd display that gallery or re-use the images added to it in Toolset?
Solution:
No, those galleries are a WordPress features, which create Galleries all coded by WordPress core.
In Views, you can basically produce the same, by creating sliders.
WordPress simply takes a few attachment ID's (Media, which you can query in Views too), and outputs them with some HTML, all thru the ShortCode
[gallery]
.
So, you can basically do the same with Views, but you cannot pass the ID values of the above ShortCode to a View Query, so to get only those Images.
The WordPress ShortCode
[gallery]
simply does not allow to return ID's only, which is what would be needed to pass them to a View.
You would have to create a gallery with Toolset Views instead.
Relevant Documentation:
https://codex.wordpress.org/Gallery_Shortcode
https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Beda.