Hi,
Is it possible to create a dynamic slider using images & video?
I'd like to have one slide show an image and another slide showing video etc.
I'm using Gutenberg (Kadence) and I only see a choice for the images custom field.
For further clarification:
I'm trying to create a CPT "Hobbies"
So a user can add his/her hobby name, description and images / videos in a slider.
The idea is to be able to list the hobbies on the home page (a repeater field) and then link the hobby ("Baking" for example) and
that like would go to a template that shows images and or videos of the "baking" hobby in a slider. (Is this possible to achieve)
I guess it doesn't HAVE to be a slider -- it could be a gallery, I suppose-- same question applies to both, can I mix images & video?
Thank you!
( I did briefly give Views a try but I couldn't figure out how to get it to work to present as a slider)
Hello,
I assume we are talking about a repeating image field and another repeating video field.
You can use Toolset galleries and sliders blocks to display images from repeating image field, see our document:
https://toolset.com/course-lesson/dynamic-galleries-and-sliders-for-templates-displaying-repeating-image-fields/#modifying-the-images-that-appear-in-the-gallery-or-slider
But it does not support repeating Video fields, so you might consider to use [wpv-for-each] shortcode to output the repeating Video field into HTML codes, and customize the result with custom CSS/JS codes.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each
Actually, no I wasn't talking about repeating images-- but I figured it out. I just used a slider and added the field group as dynamic content in each slider.
Now I have a different problem:
I created a view to display a repeater field for a custom post type and it doesn't display on the frontend on the homepage where I want it.
In other words,
I have a CP "Work & Community Service"
I created Custom Fields-- a repeater field for:
Name of job or service
Description
dates etc
I created a Template and then created a View (Timeline1) to show the repeater field. When I preview it, it looks fine. But, I cannot add it to the homepage.
I tried adding a View block and then selected the view, Timeline1. BUT, it does not appear on the frontend.
Thanks for the help.
I figured it out-- just added the custom fields to each slider content.
BUT, now I'm having a different problem:
I created a View to display on the homepage, but it's not showing.
I have a CP "Work & Community Service" and I created a repeatable custom field /w name, description, dates etc.
I tried to follow the documentation and did the following:
Created a template and in that template created a View using the repeatable field.
it looks fine when I preview it but not when I try to add it to the home page.
On the home page, I added a View block and selected the view, but it doesn't show. I just get a block that asks if I want to edit original or a copy of the content.
Thank you for your help.
sorry, the last two messages are about the same issue-- must be a browser issue, didn't see that the first one went through but on another browser, I see that it did.
For the new question:
it looks fine when I preview it but not when I try to add it to the home page.
This is abnormal, please do the the normal debug steps:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/