forked from bootscore/bs-swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
151 lines (91 loc) · 4.2 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
=== bS Swiper ===
Contributors: Bastian Kreiter, torricelli
Requires at least: 4.5
Tested up to: 5.9.3
Requires PHP: 5.6
Stable tag: 5.1.0.2
License: MIT License
License URI: https://github.com/bootscore/bs-swiper/blob/main/LICENSE
Plugin to show posts, pages, custom post types or WooCommerce products in a swiper.js carousel for bootScore theme. Copyright 2021 - 2022 bootScore.
== Credits ==
- Swiper: https://swiperjs.com/, MIT License, http://www.idangero.us/swiper/, Copyright 2015, Vladimir Kharlampidi
- Update Checker https://github.com/YahnisElsts/plugin-update-checker/blob/master/license.txt, Copyright 2017, Jānis Elsts
== Installation ==
1. In your admin panel, go to Plugins > and click the Add New button.
2. Click Upload Plugin and Choose File, then select the Plugin's .zip file. Click Install Now.
3. Click Activate to use your new Plugin right away.
== Usage ==
= Posts =
Use shortcode to show posts somewhere:
Cards:
[bs-swiper-card type="post" category="cars, boats" order="DESC" orderby="date" posts="4"]
Heroes:
[bs-swiper-hero type="post" category="cars, boats" order="DESC" orderby="date" posts="4"]
Heroes Fade:
[bs-swiper-hero-fade type="post" category="cars, boats" order="DESC" orderby="date" posts="4"]
Options:
category: category slug
order: ASC or DESC
orderby: date, title or rand
posts: amount of posts to show
= Pages =
Use shortcode to show child pages somewhere:
Cards:
[bs-swiper-card type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
Heroes:
[bs-swiper-hero type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
Heroes Fade:
[bs-swiper-hero-fade type="page" post_parent="1891" order="ASC" orderby="title" posts="6"]
Options:
post_parent: ID of parent page
order: ASC or DESC
orderby: date, title or rand
posts: amount of pages to show
= Custom Post Types =
Use shortcode to show custom post types somewhere:
Cards:
[bs-swiper-card type="isotope" tax="isotope_category" terms="dogs, cats" order="DESC" orderby="date" posts="5"]
Heroes:
[bs-swiper-hero type="isotope" tax="isotope_category" terms="dogs, cats" order="DESC" orderby="date" posts="5"]
Heroes Fade:
[bs-swiper-hero-fade type="isotope" tax="isotope_category" terms="dogs, cats" order="DESC" orderby="date" posts="5"]
Options:
type: type of custom post type
tax: taxonomy
terms: terms-slug - multiple terms separated by comma
order: ASC or DESC
orderby: date, title or rand
posts: amount of posts to show
= Products =
Use shortcode to show products somewhere:
[bs-swiper-card-product category="shoes, trousers" order="DESC" orderby="date" posts="12"]
Options:
category: category-slug, multiple categories separated by comma
order: ASC or DESC
orderby: date, title or rand
posts: number of posts to display
== Changelog ==
= 5.1.0.2 - April 16 2022 =
* [UPDATE] Swiper 8.1.1
= 5.1.0.1 - February 03 2022 =
* [UPDATE] Swiper 8.0.2
= 5.1.0.0 - January 10 2022 =
* [NEW] Added shortcode to show single items by id
* [NEW] Added shortcode for custom post types by terms-slug
* [REMOVED] Shortcode for CPT by parent terms id
* [CHANGED] Template sc-swiper-card.php
* [CHANGED] Template sc-swiper-hero.php
* [CHANGED] Template sc-swiper-hero-fade.php
* [UPDATE] Swiper 7.3.4
= 5.0.0.4 - October 23 2021 =
* Added bg-dark class to heroes
* Update Swiper 7.0.9
= 5.0.0.3 - September 09 2021 =
* Update to swiper 7.0.4
* Changed repository and plugin name
= 5.0.0.2 - August 12 2021 =
* Added new hero-fade template
= 5.0.0.1 - August 02 2021 =
* Removed source map in swiper-bundle.min.js
= 5.0.0.0 - July 29 2021 =
* Initial release