Comma separated taxonomy ID list
-
Hi there,
This is my first post, so take it easy on me 🙂
I have an image gallery in WPBakery Page Builder which loads the images based on image IDs.
Below is an example of the plaintext of the image gallery slider, when the images are added using the WPBakery:
[basel_gallery images="53,52,51,50,49,47,46,45,44,43,42,41,40,39,38,37,36" view="carousel" spacing="10" slides_per_view="2" caption="" img_size="600x600"]
I have however added a Field Type File/Image/Video to my pod where I upload gallery images. I then want to extract those ID’s and insert them into my gallery to load in the images.
I am managing to successfully load a list of all image ID’s using the following on my template (and you can see the list to the left of the image gallery on the website attached):
[pods field="image_gallery.ID"]
However I can not seem to find a way to seperate each value with a comma, as required for the image gallery.
I have searched the forums and played around with various if statements, as well as each methods, but can not get it to work.
Any help would be much appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Comma separated taxonomy ID list’ is closed to new replies.