This support ticket is created hace 7 años. There's a good chance that you are reading advice that it now obsolete.
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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I am trying to add a flexslider to my view template, but it keeps showing duplicate images and won't show the additional flexslider images field I created.
You need to generate the markup required by Flex Slider using the wpv-for-each shortcode to loop across the image fields.
We are introducing a knowledge base section where we will share solutions for common tasks. It's not ready yet, but adding a flex slider is one of the topics that will be covered and you can find a draft of the document here which details the steps: enlace oculto
Take a look at that and if you have any problems come back to me here.
As you can see in the screenshot, you are inserting a slider for every iteration of the loop, i.e. there will be as many sliders on the page as there are posts showing.
Is that what you intended? That each post has its own slider?
Because if you want that then each slider is getting added with an id="flexslider", and with HTML you cannot have more than one element with the same id on one page. Your code will fail when referencing #flexslider because it expects only one and there are multiple.
You would need to use classes for your jQuery selectors that return all the sliders then iterate over them, but I'm not sure you if you were intending to add multiple sliders.
Correct, I am trying to add a slider for each post. I added the slider at the bottom of the post to test, but have since replaced the main image with the slider in the loop.
Screenshot: enlace oculto
Can I not do this because because i can't have more than one Flexslider per page?
You can have multiple sliders on the same page, but you need to change your markup where they are added and the JavasScript that initialises them.
As I mentioned above you add the flexslider inside a div with an id of "flexslider", which means each flexslider on the page will have the same id—which is invalid HTML—and means that your jQuery code to instantiate the slider each target the first #flexslider found on the page, because only one is expected.
Your wrapper div also already has a "flexslider" class, so you probably just need to change the line that initialises the flexslider to use the class rather than the id, like so:
jQuery('.flexslider').flexslider({
Note that you have a related issue with the start function that also uses the id as the selector, and I think you will need to modify that to get it to work.