Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 3.4 |
| Comparing to | |
| See all releases | |
Code changes from version 3.3 to 3.4
- README.md +4 -0
- admin/assets/js/shortcodes-tinymce-4.js +8 -4
- public/class-vars.php +1 -1
- readme.txt +4 -0
- wc-shortcodes.php +1 -1
README.md
CHANGED
|
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 66 |
|
| 67 |
## Changelog ##
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
### Version 3.3
|
| 70 |
|
| 71 |
* updated posts shortcode to include visual manager for attributes
|
| 66 |
|
| 67 |
## Changelog ##
|
| 68 |
|
| 69 |
+
### Version 3.4
|
| 70 |
+
|
| 71 |
+
* Fixed bug with posts menu option not triggering visual manager
|
| 72 |
+
|
| 73 |
### Version 3.3
|
| 74 |
|
| 75 |
* updated posts shortcode to include visual manager for attributes
|
admin/assets/js/shortcodes-tinymce-4.js
CHANGED
|
@@ -177,25 +177,29 @@
|
|
| 177 |
{
|
| 178 |
text: "Masonry - Box",
|
| 179 |
onclick: function(){
|
| 180 |
-
|
|
|
|
| 181 |
}
|
| 182 |
},
|
| 183 |
{
|
| 184 |
text: "Masonry - Borderless",
|
| 185 |
onclick: function(){
|
| 186 |
-
|
|
|
|
| 187 |
}
|
| 188 |
},
|
| 189 |
{
|
| 190 |
text: "Grid - Box",
|
| 191 |
onclick: function(){
|
| 192 |
-
|
|
|
|
| 193 |
}
|
| 194 |
},
|
| 195 |
{
|
| 196 |
text: "Grid - Borderless",
|
| 197 |
onclick: function(){
|
| 198 |
-
|
|
|
|
| 199 |
}
|
| 200 |
},
|
| 201 |
{
|
| 177 |
{
|
| 178 |
text: "Masonry - Box",
|
| 179 |
onclick: function(){
|
| 180 |
+
var shortcode = '[wc_posts pids="" order="DESC" orderby="date" post_type="post" taxonomy="" terms="" posts_per_page="10" ignore_sticky_posts="0" show_title="1" show_meta_all="1" show_meta_author="1" show_meta_date="1" show_meta_comments="1" show_thumbnail="1" show_content="1" show_paging="1" size="large" filtering="1" columns="3" gutter_space="20" heading_type="h2" layout="masonry" template="box" excerpt_length="30" date_format="M j, Y"][/wc_posts]';
|
| 181 |
+
wcShortcodes( shortcode, editor );
|
| 182 |
}
|
| 183 |
},
|
| 184 |
{
|
| 185 |
text: "Masonry - Borderless",
|
| 186 |
onclick: function(){
|
| 187 |
+
var shortcode = '[wc_posts pids="" order="DESC" orderby="date" post_type="post" taxonomy="" terms="" posts_per_page="10" ignore_sticky_posts="0" show_title="1" show_meta_all="1" show_meta_author="1" show_meta_date="1" show_meta_comments="1" show_thumbnail="1" show_content="1" show_paging="1" size="large" filtering="1" columns="3" gutter_space="40" heading_type="h2" layout="masonry" template="borderless" excerpt_length="30" date_format="M j, Y"][/wc_posts]';
|
| 188 |
+
wcShortcodes( shortcode, editor );
|
| 189 |
}
|
| 190 |
},
|
| 191 |
{
|
| 192 |
text: "Grid - Box",
|
| 193 |
onclick: function(){
|
| 194 |
+
var shortcode = '[wc_posts pids="" order="DESC" orderby="date" post_type="post" taxonomy="" terms="" posts_per_page="10" ignore_sticky_posts="0" show_title="1" show_meta_all="1" show_meta_author="1" show_meta_date="1" show_meta_comments="1" show_thumbnail="1" show_content="1" show_paging="1" size="wccarousel" filtering="1" columns="3" gutter_space="20" heading_type="h2" layout="grid" template="box" excerpt_length="15" date_format="M j, Y"][/wc_posts]';
|
| 195 |
+
wcShortcodes( shortcode, editor );
|
| 196 |
}
|
| 197 |
},
|
| 198 |
{
|
| 199 |
text: "Grid - Borderless",
|
| 200 |
onclick: function(){
|
| 201 |
+
var shortcode = '[wc_posts pids="" order="DESC" orderby="date" post_type="post" taxonomy="" terms="" posts_per_page="10" ignore_sticky_posts="0" show_title="1" show_meta_all="1" show_meta_author="1" show_meta_date="1" show_meta_comments="1" show_thumbnail="1" show_content="1" show_paging="1" size="wccarousel" filtering="1" columns="3" gutter_space="40" heading_type="h2" layout="grid" template="borderless" excerpt_length="15" date_format="M j, Y"][/wc_posts]';
|
| 202 |
+
wcShortcodes( shortcode, editor );
|
| 203 |
}
|
| 204 |
},
|
| 205 |
{
|
public/class-vars.php
CHANGED
|
@@ -8,7 +8,7 @@ class WPC_Shortcodes_Vars {
|
|
| 8 |
*
|
| 9 |
* @var string
|
| 10 |
*/
|
| 11 |
-
const VERSION = '3.
|
| 12 |
const DB_VERSION = '1.0';
|
| 13 |
|
| 14 |
/**
|
| 8 |
*
|
| 9 |
* @var string
|
| 10 |
*/
|
| 11 |
+
const VERSION = '3.4';
|
| 12 |
const DB_VERSION = '1.0';
|
| 13 |
|
| 14 |
/**
|
readme.txt
CHANGED
|
@@ -88,6 +88,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
= Version 3.3 =
|
| 92 |
|
| 93 |
* updated posts shortcode to include visual manager for attributes
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
| 91 |
+
= Version 3.4 =
|
| 92 |
+
|
| 93 |
+
* Fixed bug with posts menu option not triggering visual manager
|
| 94 |
+
|
| 95 |
= Version 3.3 =
|
| 96 |
|
| 97 |
* updated posts shortcode to include visual manager for attributes
|
wc-shortcodes.php
CHANGED
|
@@ -5,7 +5,7 @@ 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: 3.
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
+
Version: 3.4
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
