Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.31 |
| Comparing to | |
| See all releases | |
Code changes from version 1.30 to 1.31
- README.md +4 -0
- includes/templates/content-audio.php +6 -0
- includes/templates/content-excerpt.php +1 -1
- includes/templates/content-gallery.php +1 -1
- includes/templates/content-video.php +6 -0
- includes/templates/content.php +1 -1
- readme.txt +4 -0
- wc-shortcodes.php +2 -2
README.md
CHANGED
|
@@ -65,6 +65,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 65 |
|
| 66 |
## Changelog ##
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
### Version 1.30
|
| 69 |
|
| 70 |
* Fixed bug with isotope pagination not working on homepage.
|
| 65 |
|
| 66 |
## Changelog ##
|
| 67 |
|
| 68 |
+
### Version 1.31
|
| 69 |
+
|
| 70 |
+
* Added ability to insert excerpt under video and audio templates for isotope shortcode.
|
| 71 |
+
|
| 72 |
### Version 1.30
|
| 73 |
|
| 74 |
* Fixed bug with isotope pagination not working on homepage.
|
includes/templates/content-audio.php
CHANGED
|
@@ -14,6 +14,12 @@
|
|
| 14 |
</div><!-- .entry-header -->
|
| 15 |
<?php endif; ?>
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
<?php include('entry-meta.php'); ?>
|
| 18 |
|
| 19 |
</div><!-- .wc-shortcodes-post-content -->
|
| 14 |
</div><!-- .entry-header -->
|
| 15 |
<?php endif; ?>
|
| 16 |
|
| 17 |
+
<?php if ( ! empty( $post->post_excerpt ) && $atts['content'] ) : ?>
|
| 18 |
+
<div class="wc-shortcodes-entry-summary">
|
| 19 |
+
<?php the_excerpt(); ?>
|
| 20 |
+
</div>
|
| 21 |
+
<?php endif; ?>
|
| 22 |
+
|
| 23 |
<?php include('entry-meta.php'); ?>
|
| 24 |
|
| 25 |
</div><!-- .wc-shortcodes-post-content -->
|
includes/templates/content-excerpt.php
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
</div><!-- .entry-header -->
|
| 17 |
<?php endif; ?>
|
| 18 |
|
| 19 |
-
<?php if ( $atts['content'] ) : ?>
|
| 20 |
<div class="wc-shortcodes-entry-summary">
|
| 21 |
<?php the_excerpt(); ?>
|
| 22 |
</div><!-- .entry-summary -->
|
| 16 |
</div><!-- .entry-header -->
|
| 17 |
<?php endif; ?>
|
| 18 |
|
| 19 |
+
<?php if ( ! empty( $post->post_excerpt ) && $atts['content'] ) : ?>
|
| 20 |
<div class="wc-shortcodes-entry-summary">
|
| 21 |
<?php the_excerpt(); ?>
|
| 22 |
</div><!-- .entry-summary -->
|
includes/templates/content-gallery.php
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
</div><!-- .entry-header -->
|
| 25 |
<?php endif; ?>
|
| 26 |
|
| 27 |
-
<?php if ( $atts['content'] ) : ?>
|
| 28 |
<div class="wc-shortcodes-entry-summary">
|
| 29 |
<?php the_excerpt(); ?>
|
| 30 |
</div><!-- .entry-summary -->
|
| 24 |
</div><!-- .entry-header -->
|
| 25 |
<?php endif; ?>
|
| 26 |
|
| 27 |
+
<?php if ( ! empty( $post->post_excerpt ) && $atts['content'] ) : ?>
|
| 28 |
<div class="wc-shortcodes-entry-summary">
|
| 29 |
<?php the_excerpt(); ?>
|
| 30 |
</div><!-- .entry-summary -->
|
includes/templates/content-video.php
CHANGED
|
@@ -14,6 +14,12 @@
|
|
| 14 |
</div><!-- .entry-header -->
|
| 15 |
<?php endif; ?>
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
<?php include('entry-meta.php'); ?>
|
| 18 |
|
| 19 |
</div><!-- .wc-shortcodes-post-content -->
|
| 14 |
</div><!-- .entry-header -->
|
| 15 |
<?php endif; ?>
|
| 16 |
|
| 17 |
+
<?php if ( ! empty( $post->post_excerpt ) && $atts['content'] ) : ?>
|
| 18 |
+
<div class="wc-shortcodes-entry-summary">
|
| 19 |
+
<?php the_excerpt(); ?>
|
| 20 |
+
</div>
|
| 21 |
+
<?php endif; ?>
|
| 22 |
+
|
| 23 |
<?php include('entry-meta.php'); ?>
|
| 24 |
|
| 25 |
</div><!-- .wc-shortcodes-post-content -->
|
includes/templates/content.php
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
</div><!-- .entry-header -->
|
| 17 |
<?php endif; ?>
|
| 18 |
|
| 19 |
-
<?php if ( $atts['content'] ) : ?>
|
| 20 |
<div class="wc-shortcodes-entry-summary">
|
| 21 |
<?php the_excerpt(); ?>
|
| 22 |
</div><!-- .entry-summary -->
|
| 16 |
</div><!-- .entry-header -->
|
| 17 |
<?php endif; ?>
|
| 18 |
|
| 19 |
+
<?php if ( ! empty( $post->post_excerpt ) && $atts['content'] ) : ?>
|
| 20 |
<div class="wc-shortcodes-entry-summary">
|
| 21 |
<?php the_excerpt(); ?>
|
| 22 |
</div><!-- .entry-summary -->
|
readme.txt
CHANGED
|
@@ -86,6 +86,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
| 86 |
|
| 87 |
== Changelog ==
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
### Version 1.30
|
| 90 |
|
| 91 |
* Fixed bug with isotope pagination not working on homepage.
|
| 86 |
|
| 87 |
== Changelog ==
|
| 88 |
|
| 89 |
+
### Version 1.31
|
| 90 |
+
|
| 91 |
+
* Added ability to insert excerpt under video and audio templates for isotope shortcode.
|
| 92 |
+
|
| 93 |
### Version 1.30
|
| 94 |
|
| 95 |
* Fixed bug with isotope pagination not working on homepage.
|
wc-shortcodes.php
CHANGED
|
@@ -5,11 +5,11 @@ Plugin URI: http://wordpresscanvas.com/features/shortcodes/
|
|
| 5 |
Description: A family of shortcodes to enhance site functionality.
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
-
Version: 1.
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 12 |
-
define( 'WC_SHORTCODES_VERSION', '1.
|
| 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.31
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 12 |
+
define( 'WC_SHORTCODES_VERSION', '1.31' );
|
| 13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
| 14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
| 15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
