WordPress plugin to show posts, child-pages, custom post types or WooCommerce products in a swiper.js carousel in bootScore theme.
Demo: https://bootscore.me/plugins/bs-swiper/
Documentation: https://bootscore.me/documentation/bs-swiper/
- Download the zip file right here by pressing the green
code
button above or get plugin through the official store (free). - In your admin panel, go to Plugins > and click the Add New button.
- Click Upload Plugin and Choose File, then select the Plugin's .zip file. Click Install Now.
- Click Activate to use your new Plugin right away.
Use shortcode to show posts:
[bs-swiper-card type="post" category="water, classic, markup" order="DESC" orderby="date" posts="12"]
[bs-swiper-hero type="post" category="water, classic, markup" order="DESC" orderby="date" posts="12"]
[bs-swiper-hero-fade type="post" category="water, classic, markup" order="DESC" orderby="date" posts="12"]
- category: category slug, separated by comma for multiple categories
- order: ASC or DESC
- orderby: date, title, or rand
- posts: number of posts to display
Use shortcode to show child pages:
[bs-swiper-card type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
[bs-swiper-hero type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
[bs-swiper-hero-fade type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
- post_parent: ID of parent page
- order: ASC or DESC
- orderby: date, title, or rand
- posts: number of pages to display
Use shortcode to show custom post types:
[bs-swiper-card type="isotope" tax="isotope_category" cat_parent="224" order="DESC" orderby="date" posts="10"]
[bs-swiper-hero type="isotope" tax="isotope_category" cat_parent="224" order="DESC" orderby="date" posts="10"]
[bs-swiper-hero-fade type="isotope" tax="isotope_category" cat_parent="224" order="DESC" orderby="date" posts="10"]
- type: type of custom post type
- tax: taxonomy
- cat_parent: ID of parent taxonomy
- order: ASC or DESC
- orderby: date, title, or rand
- posts: number of posts to display
Use shortcode to display your products in a page:
[bs-swiper-card-product order="DESC" orderby="date" posts="12" category="sample-category, test-category"]
- category: category slug, separated by comma for multiple categories
- order: ASC or DESC
- orderby: date, title, or rand
- posts: number of posts to display
Template files can be found within the /bs-swiper-main/templates/ plugin directory.
Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /bs-swiper-main keeping the same file structure but removing the /templates/ subdirectory. Path must be /your-theme/bs-swiper-main/[file].php
.
The copied file will now override the bS Swiper template file. Change cards, classes or HTML as you want.
- sc-swiper-card.php
- sc-swiper-card-product.php
- sc-swiper-hero.php
- sc-swiper-hero-fade.php
- bS Swiper, MIT License https://github.com/bootscore/bs-swiper/blob/main/LICENSE
- swiper.js, nolimits4web, MIT License https://github.com/nolimits4web/swiper/blob/master/LICENSE
- Plugin Update Checker, YahnisElsts, MIT License https://github.com/YahnisElsts/plugin-update-checker/blob/master/license.txt