Description
Simple Post Slider is a flexible WordPress plugin that lets you create sliders using your custom posts. You can show images or videos, set autoplay, slide speed, number of visible slides, and more.
Each slider has its own shortcode that you can add anywhere on your site. Sliders are responsive, smooth, and pause when you hover over a slide.
Ideal for displaying your content in an attractive, user-friendly slider format.
Features
-
Create unlimited sliders using a custom post type.
-
Add featured images or videos to each slide.
-
Customize slider behavior: autoplay, loop, speed, slide count, and more.
-
Select specific posts for each slider.
-
Generate shortcode for each slider.
-
Responsive and touch-friendly using Swiper.js.
-
Pause autoplay on hover.
Admin Installer via search:
Visit the Add New plugin screen and search for “Post Featured Video and Layout Designer”.
Click the “Install Now” button.
Activate the plugin.
Admin Installer via zip:
Download the Plugin.
Extract the ZIP file and upload.
Activate the plugin through the “Plugins” menu in WordPress.
Usage
Creating a Slider
1.Create a Slider:
After installing and activating the plugin, go to Post Type Slider in the WordPress admin sidebar.
Click Add New to create a new slider.
Give your slider a title and configure the settings (e.g., Autoplay, Speed, Slides per view).
2.Select Posts for the Slider:
Under the “Select Posts” meta box, choose which posts you want to include in the slider by checking the boxes next to the posts.
You can select as many posts as you want to display in the slider.
3.Set Featured Content:
You can add a featured image or a featured video for each post that will be displayed on the slider.
Use the Featured Video URL option in the post editor to add a video URL.
If the post does not have a featured video, the plugin will fall back to the featured image.
4.Configure Slider Settings:
Choose whether to enable Autoplay for the slider.
Adjust the Speed of the slides (in milliseconds).
Select how many slides should be visible at a time using the Slides per View setting.
Customize additional settings like loop behavior and navigation arrows.
5.Generate Shortcode:
After saving the slider, you’ll see a Slider Shortcode box on the slider edit page.
Copy the shortcode, which will look something like this: [post_type_slider id="123"]
.
Paste the shortcode anywhere on your site, in posts, pages, or widgets, to display the slider.
Code Example
Registering Admin Menu:
function pts_add_featured_video_meta_box() {
add_meta_box(
‘spst_featured_video’,
‘Featured Video’,
‘spst_render_featured_video_box’,
‘post’,
‘side’,
‘default’
);
}
FAQ
- How do I create a new slider?
After installing and activating the plugin, navigate to the Post Type Slider section in the WordPress dashboard.
Click on Add New Slider to create a new slider.
You can then select the posts you want to include in the slider, set the slider settings (autoplay, speed, etc.), and save your settings.
2.How do I display a slider on my site?
Use the generated shortcode (e.g. [spst_slider id="123"]
).
3.Can I add videos to the slider?
Yes! You can upload or link to any video format as the featured content of a slide.
4.How can I pause the autoplay when hovering over a slide?
The autoplay will automatically stop when you hover over a slide, and it will resume when you move the cursor away. This feature is built-in and works for all sliders created with the plugin.
5.Does the slider work on mobile devices?
Yes, the slider is fully responsive and will adjust based on the screen size. It’s optimized for both desktop and mobile views, ensuring a smooth experience for all users.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Simple Post Slider Tool” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simple Post Slider Tool” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
Initial release: custom post type sliders, Swiper integration, video/image support, and shortcode output.