This support ticket is created hace 7 años, 1 mes. 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 have implemented a test carousel slider here: enlace oculto
- View that I have used: enlace oculto
You have not added CSS, JS for the owl carousel, I have added that css, js in the Views CSS editor and JS editor sections. You can use this View and modify as needed -- please make sure to backup it or duplicate it and then modify as needed. This sample slider view will server as an example for you.
1. can we use this inside a content template to fetch latest posting and posting limits ?
2. is there any implication of using content template vs Views ?
Hi Noman, i understand my mistake at early stage. i enter the owl carsl div
" <div class="owl-carousel owl-theme">" at the wrong locations., it was in the loop template.
correct method is what you have done, outside the loop.
regarding the css and js i have removed and it auto ref/fetch from my uploaded dir .
i still would like to understand more on : using content template vs views, the pro and cons etc.
Just got back from weekend today. You can insert that Views into the Content Template. The reason we are using View here instead of Content Template:
- That we are fetching images from Post images (featured image) and we need to run through all posts to get all the images (loop is needed for this). Also Limit, offset, orderby attributes helps.
- In Content Template we don’t have loop but the slider can probably be creating in CT as well. For this one needs to use Repeating image field >> then use [wpv-for-each] over the repeating image field to loop through all images in the repeating image field >> this shortcode also has End (limit) and couple other attributes to use: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each