This support ticket is created vor 6 Jahren, 3 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
Hi Shane,
Can you please Help me with images slider?
I need to display it in the layout "accommodation layout".
I created the view as you suggested me.
Thank you
Domenico
Because was a draft.
This post has images gallery. You can try on this.
However when you set the gallery I remeber you have worked inly on view calling displaying in the layout with the relative code.
The slider works now but it seems that there are other issues on the site that is causing the slide not to display correctly.
Possibly Custom CSS that is causing this issue with the slider not displaying correctly. If you have any custom css on your site could you temporarily remove it and check again.
I try to remove CSS file.
It works for few minutes, but now it doesn't works.
I see that if I copy the view code in another draf post or page it works with the pictures of the product.
If I put it in the layout it tell me I've not images..but as you can see there are 5 images
The main reason why this isn't working is because you're using the visual editor cell. With the visual editor cell you're not able to add the JS code that needed to get the slider to work.
What I did was to create a content template that i've added to the layout that will load the slider. See Screenshot.
If you need to add this slider to another layout, you can just add the content template that i've created. Remember adding the slider is a 2 part step.
The HTML structure is required and then the JS to load the slider is also required.
Please let me know if this clears up the issue for you a bit.
Ok Shane, it works in the accommoation page and in the Accommodation layout.
How can I do if I want to use the same in a product which use another layout.
I try to put the content in the other layput but it doesn't works.
Remember that if the Post Type that the layout is displaying uses a different set of repeatable fields for the images then you will need to change the custom field names to match .
I follow your instructions. I created the new content template directly in the layout of the product with the right slugs.
This is the result: versteckter Link
This is actually done correctly but it seems that the shortcode itself isn't rendering.
What I recommend that you do is to contact your host and ask them to increase the max_execution_time of your server so the scripts have more time to run.