G
G
Gedonist2020-12-22 16:23:49
JavaScript
Gedonist, 2020-12-22 16:23:49

How to make a slideshow from a folder in WP?

I'm moving my site from Joomla to WordPress. I have already done a lot of things, but I got stuck on one seemingly simple task.
A plugin was connected to joomla that made simple slideshows with images from a given folder. Code like {bspa}/images/articl1{bspa} was simply inserted into the article.
The plugin loaded images in a convenient form, with the ability to scroll through with arrows or turn on a slideshow.
Like on this page for example.

Under WP, I don’t see such plugins, all slider plugins for WP work with the WordPress media library and with the block editor. Are there any solutions that do not involve writing your own plugin ??? The task seems to be rather trivial.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Zolin, 2020-12-22
@Gedonist

Write a shortcode that will take the path to the folder as an argument and will display all files that match

$allowed_types = array("jpg", "png", "gif", "jpeg", "webp");

For the slider itself, see slick slider or owl carousel

L
Lord_Dantes, 2020-12-22
@Lord_Dantes

Take a slider from the layout that is connected not as a plugin, but as a script. But there is already not far from the plugin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question