Shortcodes by Angie Makes - Version 1.57

Version Description

Download this release

Release Info

Developer cbaldelomar
Plugin Icon wp plugin Shortcodes by Angie Makes
Version 1.57
Comparing to
See all releases

Code changes from version 1.56 to 1.57

README.md CHANGED
@@ -66,6 +66,11 @@ Use the shortcode manager in the TinyMCE text editor
66
 
67
  ## Changelog ##
68
 
 
 
 
 
 
69
  ### Version 1.56
70
 
71
  * Fixed Readme text
66
 
67
  ## Changelog ##
68
 
69
+ ### Version 1.57
70
+
71
+ * Fixed overflow style bug with wc_posts
72
+ * Updated default attributes on wc_posts shortcode
73
+
74
  ### Version 1.56
75
 
76
  * Fixed Readme text
includes/css/style.css CHANGED
@@ -1351,6 +1351,9 @@ pre.pre-wrap {
1351
  * [wc_post]
1352
  * ----------------------------------------------------------------------------
1353
  */
 
 
 
1354
  .wc-shortcodes-post-content {
1355
  padding: 0 20px;
1356
  }
@@ -1391,9 +1394,6 @@ pre.pre-wrap {
1391
  position: relative;
1392
  visibility: hidden;
1393
  }
1394
- .wc-shortcodes-posts.wc-shortcodes-posts-no-masonry {
1395
- visibility: visible;
1396
- }
1397
  .wc-shortcodes-post-box {
1398
  background-color: #ffffff;
1399
  margin-bottom: 20px;
@@ -1408,6 +1408,10 @@ pre.pre-wrap {
1408
  .wc-shortcodes-date {
1409
  float: left;
1410
  }
 
 
 
 
1411
  /* Comment Box */
1412
  .wc-shortcodes-comments-link {
1413
  float: right;
1351
  * [wc_post]
1352
  * ----------------------------------------------------------------------------
1353
  */
1354
+ .wc-shortcodes-posts-wrapper {
1355
+ overflow-x: hidden;
1356
+ }
1357
  .wc-shortcodes-post-content {
1358
  padding: 0 20px;
1359
  }
1394
  position: relative;
1395
  visibility: hidden;
1396
  }
 
 
 
1397
  .wc-shortcodes-post-box {
1398
  background-color: #ffffff;
1399
  margin-bottom: 20px;
1408
  .wc-shortcodes-date {
1409
  float: left;
1410
  }
1411
+ /* No Masonry */
1412
+ .wc-shortcodes-posts.wc-shortcodes-posts-no-masonry {
1413
+ visibility: visible;
1414
+ }
1415
  /* Comment Box */
1416
  .wc-shortcodes-comments-link {
1417
  float: right;
includes/mce/js/shortcodes-tinymce-4.js CHANGED
@@ -170,13 +170,13 @@
170
  {
171
  text: "Grid - Box",
172
  onclick: function(){
173
- editor.insertContent('[wc_posts author="" author_name="" p="" post__in="" order="DESC" orderby="date" post_status="publish" post_type="post" posts_per_page="10" taxonomy="" field="slug" terms="" title="yes" meta_all="yes" meta_author="yes" meta_date="yes" meta_comments="yes" thumbnail="yes" content="yes" paging="yes" size="large" filtering="yes" columns="3" gutter_space="20" heading_type="h2" layout="grid" template="box" excerpt_length="15"][/wc_posts]');
174
  }
175
  },
176
  {
177
  text: "Grid - Borderless",
178
  onclick: function(){
179
- editor.insertContent('[wc_posts author="" author_name="" p="" post__in="" order="DESC" orderby="date" post_status="publish" post_type="post" posts_per_page="10" taxonomy="" field="slug" terms="" title="yes" meta_all="yes" meta_author="yes" meta_date="yes" meta_comments="yes" thumbnail="yes" content="yes" paging="yes" size="large" filtering="yes" columns="3" gutter_space="40" heading_type="h2" layout="grid" template="borderless" excerpt_length="15"][/wc_posts]');
180
  }
181
  }
182
  ]
170
  {
171
  text: "Grid - Box",
172
  onclick: function(){
173
+ editor.insertContent('[wc_posts author="" author_name="" p="" post__in="" order="DESC" orderby="date" post_status="publish" post_type="post" posts_per_page="10" taxonomy="" field="slug" terms="" title="yes" meta_all="yes" meta_author="yes" meta_date="yes" meta_comments="yes" thumbnail="yes" content="yes" paging="yes" size="wccarousel" filtering="yes" columns="3" gutter_space="20" heading_type="h2" layout="grid" template="box" excerpt_length="15"][/wc_posts]');
174
  }
175
  },
176
  {
177
  text: "Grid - Borderless",
178
  onclick: function(){
179
+ editor.insertContent('[wc_posts author="" author_name="" p="" post__in="" order="DESC" orderby="date" post_status="publish" post_type="post" posts_per_page="10" taxonomy="" field="slug" terms="" title="yes" meta_all="yes" meta_author="yes" meta_date="yes" meta_comments="yes" thumbnail="yes" content="yes" paging="yes" size="wccarousel" filtering="yes" columns="3" gutter_space="40" heading_type="h2" layout="grid" template="borderless" excerpt_length="15"][/wc_posts]');
180
  }
181
  }
182
  ]
includes/shortcode-functions.php CHANGED
@@ -1243,6 +1243,7 @@ if( ! function_exists( 'wc_shortcodes_posts' ) ) {
1243
  $html .= ob_get_clean();
1244
  }
1245
 
 
1246
  $html .= '<div id="wc-shortcodes-posts-'.$instance.'" data-gutter-space="'.$atts["gutter_space"].'" data-columns="'.$atts["columns"].'" class="' . implode( ' ', $class ) . '">';
1247
 
1248
  while( $wc_shortcodes_posts_query->have_posts() ) :
@@ -1258,6 +1259,7 @@ if( ! function_exists( 'wc_shortcodes_posts' ) ) {
1258
  endwhile;
1259
 
1260
  $html .= '</div>';
 
1261
 
1262
  //no paging if only the latest posts are shown
1263
  if ( $atts['paging'] ) {
1243
  $html .= ob_get_clean();
1244
  }
1245
 
1246
+ $html .= '<div class="wc-shortcodes-posts-wrapper">';
1247
  $html .= '<div id="wc-shortcodes-posts-'.$instance.'" data-gutter-space="'.$atts["gutter_space"].'" data-columns="'.$atts["columns"].'" class="' . implode( ' ', $class ) . '">';
1248
 
1249
  while( $wc_shortcodes_posts_query->have_posts() ) :
1259
  endwhile;
1260
 
1261
  $html .= '</div>';
1262
+ $html .= '</div>';
1263
 
1264
  //no paging if only the latest posts are shown
1265
  if ( $atts['paging'] ) {
readme.txt CHANGED
@@ -39,15 +39,15 @@ Enhance your pages and posts with the following features.
39
 
40
  [Live Demo & Documentation](http://webplantmedia.com/starter-themes/wordpresscanvas/features/shortcodes/)
41
 
42
- ### Professional Support
43
 
44
  If you need professional plugin support from me, the plugin author, you can contact me at [Web Plant Media](http://webplantmedia.com/).
45
 
46
- ### Plugin Development
47
 
48
  If you're a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it's [GitHub repository](https://github.com/webplantmedia/wc-shortcodes).
49
 
50
- ### Donations
51
 
52
  Thank you so much for even considering supporting my work. If you have benefited from my WordPress plugins, or are appreciative of my customer support, and feel led to send me a monetary donation, please follow the link [here](http://webplantmedia.com/donate/). I am truly thankful for your hard earned giving.
53
 
@@ -60,7 +60,7 @@ Thank you so much for even considering supporting my work. If you have benefited
60
 
61
  == Frequently Asked Questions ==
62
 
63
- ### How do I use the shortcodes?
64
 
65
  Use the shortcode manager in the TinyMCE text editor
66
 
@@ -88,74 +88,79 @@ Use the shortcode manager in the TinyMCE text editor
88
 
89
  == Changelog ==
90
 
91
- ### Version 1.56
 
 
 
 
 
92
 
93
  * Fixed Readme text
94
 
95
- ### Version 1.55
96
 
97
  * Updated TinyMCE button options for shortcodes
98
  * Added new layout 'grid' and template options 'box' and 'borderless' for wc_posts shortcode
99
  * Fixed Translation issue - thanks ziofix
100
 
101
- ### Version 1.54
102
 
103
  * Fixed bug with image settings not previewing images
104
 
105
- ### Version 1.53
106
 
107
  * Added Icon+Text option for share buttons
108
  * Deprecated an attribute in social icons shortcode
109
 
110
- ### Version 1.52
111
 
112
  * Added font icons for share buttons
113
  * Now supporting font icons and images for social media buttons
114
  * Fixed line-height style bug
115
 
116
- ### Version 1.50
117
 
118
  * Social icons now open a new tab by default
119
  * Added ability to display share buttons as text
120
 
121
- ### Version 1.49
122
 
123
  * Added padding around price heading
124
  * Added helpful classnames
125
 
126
- ### Version 1.48
127
 
128
  * Fixed bug on masonry posts layout with the shortcodes displaying in the excerpt
129
 
130
- ### Version 1.47
131
 
132
  * Trigger custom event so other javascript elements can refresh when accordion, tabs, or toggle elements are opened.
133
 
134
- ### Version 1.46
135
 
136
  * hide fullwidth items until they have broken free from their container.
137
  * Fixed problem with plugins appending text to content in wc_post shortcode display
138
  * Update the wc_heading shortcode
139
 
140
- ### Version 1.45
141
 
142
  * Added theme support for social icons and share buttons
143
  * Clean up
144
 
145
- ### Version 1.44
146
 
147
  * Changed gutter width to fixed pixel value instead of percentage.
148
 
149
- ### Version 1.43
150
 
151
  * Added theme support for developers
152
  * Updated settings for social media icons
153
 
154
- ### Version 1.42
155
 
156
  * Improved social icons widget
157
 
158
- ### Version 1.40
159
 
160
  * Fixed bug with Shortcode menu button hiding when latest WooCommerce plugin was installed.
161
  * Added share buttons short code
@@ -170,25 +175,25 @@ Use the shortcode manager in the TinyMCE text editor
170
  * Give plugin ability to override font awesome icons in theme
171
  * changed links in read me
172
 
173
- ### Version 1.39
174
 
175
  * Removed query ui for tabs and added custom tab script.
176
  * Removed query ui for accordion. Using custom built accordion script.
177
 
178
- ### Version 1.38
179
 
180
  * Made an update to the responsive behavior of wc_posts short code
181
 
182
- ### Version 1.37
183
 
184
  * Fixed bug with google maps not working
185
 
186
- ### Version 1.36
187
 
188
  * switched out isotope library with open source masonry library
189
  * Increased number of pagination buttons
190
 
191
- ### Version 1.35
192
 
193
  * wc_box short code needed line breaks inserted
194
  * update to image flag short code
@@ -198,15 +203,15 @@ Use the shortcode manager in the TinyMCE text editor
198
  * fixed style bug before accordion js was loaded
199
  * isotope appear and animation enabled after initial load.
200
 
201
- ### Version 1.34
202
 
203
  * Updated plugin to be compatible with version 3.9
204
 
205
- ### Version 1.33
206
 
207
  * Added shortcodes for inserting Font Awesome icons.
208
 
209
- ### Version 1.32
210
 
211
  * Added Font Awesome Icons.
212
  * Added option to disable Font Awesome Icons. Enabled by Default.
@@ -215,134 +220,138 @@ Use the shortcode manager in the TinyMCE text editor
215
  * Style fix for isotope posts.
216
  * Title should not overflow the content area in the isotope posts.
217
 
218
- ### Version 1.31
219
 
220
  * Added ability to insert excerpt under video and audio templates for isotope shortcode.
221
 
222
- ### Version 1.30
223
 
224
  * Fixed bug with isotope pagination not working on homepage.
225
  * Removed invalid css syntax
226
 
227
- ### Version 1.28
228
 
229
  * Added ability to add custom class to buttons.
230
 
231
- ### Version 1.27
232
 
233
  * Removed non GPL library.
234
 
235
- ### Version 1.26
236
 
237
  * Separated accordion shortcodes when inserting into editor.
238
  * Added option to display title on google map load.
239
 
240
- ### Version 1.25
241
 
242
  * force link in social media icons have http at beginning
243
  * Fixed date format string on isotope posts shortcode.
244
 
245
- ### Version 1.24
246
 
247
  * Changed permission from read to manage_options
248
  * Better code formatting on pages and posts.
249
 
250
- ### Version 1.22
251
 
252
  * Added option for countdown shortcode to control labels.
253
 
254
- ### Version 1.21
255
 
256
  * Better responsiveness logic for isotope posts.
257
  * Minor improvements for image shortcode.
258
 
259
- ### Version 1.20
260
 
261
  * Added image shortcode.
262
  * Appended version number to JS file so new scripts get loaded.
263
 
264
- ### Version 1.19
265
 
266
  * Refreshed isotope display on image load.
267
 
268
- ### Version 1.18
269
 
270
  * Navigation element needed to return string and no echo value.
271
 
272
- ### Version 1.17
273
 
274
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
275
 
276
- ### Version 1.16
277
 
278
  * updated youtube icon
279
 
280
- ### Version 1.15
281
 
282
  * added block display to image anchor elements
283
  * updated icons
284
 
285
- ### Version 1.14
286
 
287
  * Cleaned up code
288
  * Added 2 more image dividers
289
  * more support for different theme options
290
 
291
- ### Version 1.13
292
 
293
  * added rsvp shortcode
294
  * removed focus css acting as hover
295
  * minor css fix for countdown shortcode
296
 
297
- ### Version 1.12
298
 
299
  * cleaned up some code
300
 
301
- ### Version 1.11
302
 
303
  * added countdown shortcode
304
  * added link to testimonial author
305
  * added support for buttons to be positioned left, right, or centered
306
  * added type attribute to pricing box
307
 
308
- ### Version 1.10
309
 
310
  * Fixed style bug for testimonials
311
 
312
- ### Version 1.9
313
 
314
  * Appended version number to css and js files
315
 
316
- ### Version 1.8
317
 
318
  * Email link can be either mailto address or hyperlink
319
 
320
- ### Version 1.7
321
 
322
  * Better facebook and pinterest icons
323
 
324
- ### Version 1.6
325
 
326
  * Fixed bug with social icons displaying even if social link was not given.
327
 
328
- ### Version 1.5
329
 
330
  * prepended mailto to email addresses
331
 
332
- ### Version 1.4
333
 
334
  * Fixed minor JS bugs
335
  * Ran Javascript through jshint
336
  * Fixed minor shortcode button bug in TinyMCE editor
337
 
338
- ### Version 1.3
339
 
340
  * Fixed style bug with columns not changing width on mobile devices
341
 
342
- ### Version 1.2
343
 
344
  * Added banner image.
345
 
346
- ### Version 1.1
347
 
348
  * Plugin released. Everything is new!
 
 
 
 
39
 
40
  [Live Demo & Documentation](http://webplantmedia.com/starter-themes/wordpresscanvas/features/shortcodes/)
41
 
42
+ = Professional Support =
43
 
44
  If you need professional plugin support from me, the plugin author, you can contact me at [Web Plant Media](http://webplantmedia.com/).
45
 
46
+ = Plugin Development =
47
 
48
  If you're a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it's [GitHub repository](https://github.com/webplantmedia/wc-shortcodes).
49
 
50
+ = Donations =
51
 
52
  Thank you so much for even considering supporting my work. If you have benefited from my WordPress plugins, or are appreciative of my customer support, and feel led to send me a monetary donation, please follow the link [here](http://webplantmedia.com/donate/). I am truly thankful for your hard earned giving.
53
 
60
 
61
  == Frequently Asked Questions ==
62
 
63
+ = How do I use the shortcodes? =
64
 
65
  Use the shortcode manager in the TinyMCE text editor
66
 
88
 
89
  == Changelog ==
90
 
91
+ = Version 1.57 =
92
+
93
+ * Fixed overflow style bug with wc_posts
94
+ * Updated default attributes on wc_posts shortcode
95
+
96
+ = Version 1.56 =
97
 
98
  * Fixed Readme text
99
 
100
+ = Version 1.55 =
101
 
102
  * Updated TinyMCE button options for shortcodes
103
  * Added new layout 'grid' and template options 'box' and 'borderless' for wc_posts shortcode
104
  * Fixed Translation issue - thanks ziofix
105
 
106
+ = Version 1.54 =
107
 
108
  * Fixed bug with image settings not previewing images
109
 
110
+ = Version 1.53 =
111
 
112
  * Added Icon+Text option for share buttons
113
  * Deprecated an attribute in social icons shortcode
114
 
115
+ = Version 1.52 =
116
 
117
  * Added font icons for share buttons
118
  * Now supporting font icons and images for social media buttons
119
  * Fixed line-height style bug
120
 
121
+ = Version 1.50 =
122
 
123
  * Social icons now open a new tab by default
124
  * Added ability to display share buttons as text
125
 
126
+ = Version 1.49 =
127
 
128
  * Added padding around price heading
129
  * Added helpful classnames
130
 
131
+ = Version 1.48 =
132
 
133
  * Fixed bug on masonry posts layout with the shortcodes displaying in the excerpt
134
 
135
+ = Version 1.47 =
136
 
137
  * Trigger custom event so other javascript elements can refresh when accordion, tabs, or toggle elements are opened.
138
 
139
+ = Version 1.46 =
140
 
141
  * hide fullwidth items until they have broken free from their container.
142
  * Fixed problem with plugins appending text to content in wc_post shortcode display
143
  * Update the wc_heading shortcode
144
 
145
+ = Version 1.45 =
146
 
147
  * Added theme support for social icons and share buttons
148
  * Clean up
149
 
150
+ = Version 1.44 =
151
 
152
  * Changed gutter width to fixed pixel value instead of percentage.
153
 
154
+ = Version 1.43 =
155
 
156
  * Added theme support for developers
157
  * Updated settings for social media icons
158
 
159
+ = Version 1.42 =
160
 
161
  * Improved social icons widget
162
 
163
+ = Version 1.40 =
164
 
165
  * Fixed bug with Shortcode menu button hiding when latest WooCommerce plugin was installed.
166
  * Added share buttons short code
175
  * Give plugin ability to override font awesome icons in theme
176
  * changed links in read me
177
 
178
+ = Version 1.39 =
179
 
180
  * Removed query ui for tabs and added custom tab script.
181
  * Removed query ui for accordion. Using custom built accordion script.
182
 
183
+ = Version 1.38 =
184
 
185
  * Made an update to the responsive behavior of wc_posts short code
186
 
187
+ = Version 1.37 =
188
 
189
  * Fixed bug with google maps not working
190
 
191
+ = Version 1.36 =
192
 
193
  * switched out isotope library with open source masonry library
194
  * Increased number of pagination buttons
195
 
196
+ = Version 1.35 =
197
 
198
  * wc_box short code needed line breaks inserted
199
  * update to image flag short code
203
  * fixed style bug before accordion js was loaded
204
  * isotope appear and animation enabled after initial load.
205
 
206
+ = Version 1.34 =
207
 
208
  * Updated plugin to be compatible with version 3.9
209
 
210
+ = Version 1.33 =
211
 
212
  * Added shortcodes for inserting Font Awesome icons.
213
 
214
+ = Version 1.32 =
215
 
216
  * Added Font Awesome Icons.
217
  * Added option to disable Font Awesome Icons. Enabled by Default.
220
  * Style fix for isotope posts.
221
  * Title should not overflow the content area in the isotope posts.
222
 
223
+ = Version 1.31 =
224
 
225
  * Added ability to insert excerpt under video and audio templates for isotope shortcode.
226
 
227
+ = Version 1.30 =
228
 
229
  * Fixed bug with isotope pagination not working on homepage.
230
  * Removed invalid css syntax
231
 
232
+ = Version 1.28 =
233
 
234
  * Added ability to add custom class to buttons.
235
 
236
+ = Version 1.27 =
237
 
238
  * Removed non GPL library.
239
 
240
+ = Version 1.26 =
241
 
242
  * Separated accordion shortcodes when inserting into editor.
243
  * Added option to display title on google map load.
244
 
245
+ = Version 1.25 =
246
 
247
  * force link in social media icons have http at beginning
248
  * Fixed date format string on isotope posts shortcode.
249
 
250
+ = Version 1.24 =
251
 
252
  * Changed permission from read to manage_options
253
  * Better code formatting on pages and posts.
254
 
255
+ = Version 1.22 =
256
 
257
  * Added option for countdown shortcode to control labels.
258
 
259
+ = Version 1.21 =
260
 
261
  * Better responsiveness logic for isotope posts.
262
  * Minor improvements for image shortcode.
263
 
264
+ = Version 1.20 =
265
 
266
  * Added image shortcode.
267
  * Appended version number to JS file so new scripts get loaded.
268
 
269
+ = Version 1.19 =
270
 
271
  * Refreshed isotope display on image load.
272
 
273
+ = Version 1.18 =
274
 
275
  * Navigation element needed to return string and no echo value.
276
 
277
+ = Version 1.17 =
278
 
279
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
280
 
281
+ = Version 1.16 =
282
 
283
  * updated youtube icon
284
 
285
+ = Version 1.15 =
286
 
287
  * added block display to image anchor elements
288
  * updated icons
289
 
290
+ = Version 1.14 =
291
 
292
  * Cleaned up code
293
  * Added 2 more image dividers
294
  * more support for different theme options
295
 
296
+ = Version 1.13 =
297
 
298
  * added rsvp shortcode
299
  * removed focus css acting as hover
300
  * minor css fix for countdown shortcode
301
 
302
+ = Version 1.12 =
303
 
304
  * cleaned up some code
305
 
306
+ = Version 1.11 =
307
 
308
  * added countdown shortcode
309
  * added link to testimonial author
310
  * added support for buttons to be positioned left, right, or centered
311
  * added type attribute to pricing box
312
 
313
+ = Version 1.10 =
314
 
315
  * Fixed style bug for testimonials
316
 
317
+ = Version 1.9 =
318
 
319
  * Appended version number to css and js files
320
 
321
+ = Version 1.8 =
322
 
323
  * Email link can be either mailto address or hyperlink
324
 
325
+ = Version 1.7 =
326
 
327
  * Better facebook and pinterest icons
328
 
329
+ = Version 1.6 =
330
 
331
  * Fixed bug with social icons displaying even if social link was not given.
332
 
333
+ = Version 1.5 =
334
 
335
  * prepended mailto to email addresses
336
 
337
+ = Version 1.4 =
338
 
339
  * Fixed minor JS bugs
340
  * Ran Javascript through jshint
341
  * Fixed minor shortcode button bug in TinyMCE editor
342
 
343
+ = Version 1.3 =
344
 
345
  * Fixed style bug with columns not changing width on mobile devices
346
 
347
+ = Version 1.2 =
348
 
349
  * Added banner image.
350
 
351
+ = Version 1.1 =
352
 
353
  * Plugin released. Everything is new!
354
+
355
+ == Upgrade Notice ==
356
+
357
+ The latest version is the best version to date with all known and reported bugs fixed.
wc-shortcodes.php CHANGED
@@ -5,11 +5,11 @@ Plugin URI: http://webplantmedia.com/starter-themes/wordpresscanvas/features/sho
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
- Version: 1.56
9
  License: GPLv2 or later
10
  */
11
 
12
- define( 'WC_SHORTCODES_VERSION', '1.56' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
5
  Description: A family of shortcodes to enhance site functionality.
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
+ Version: 1.57
9
  License: GPLv2 or later
10
  */
11
 
12
+ define( 'WC_SHORTCODES_VERSION', '1.57' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );