I need to create a Wordpress theme, there will be a page that will contain kind of movies within different sliders divided by category.
Below is an example of the structure with 2 kind of movie
I have already done the programming part in JS for the sliders, and I also figured out how to make a query on the categories in the posts (using The Loop)
Now I have a number of problems to solve.
- the sliders must also be used in other pages, so I should make a kind of component that is called up by the pages or a kind of block to reuse (I don’t know how to make it)
- how will the card containing the image, title, short description and duration be populated? Will the data be in a post? I don’t know how to take the image as an example (it will not be a featured image but an image inserted in the post). Will I have to use Wordpress custom fields? (I didn’t understand how to do it and couldn’t find any examples or tutorials)
Sorry for my English, if anyone can help me I would appreciate it. Even just pointing me to tutorials that I couldn’t find.
Thanks to all in advance