Shortcodes by Angie Makes - Version 1.18

Version Description

Download this release

Release Info

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

Code changes from version 1.17 to 1.18

README.md CHANGED
@@ -64,6 +64,10 @@ Use the shortcode manager in the TinyMCE text editor
64
 
65
  ## Changelog ##
66
 
 
 
 
 
67
  ### Version 1.17
68
 
69
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
64
 
65
  ## Changelog ##
66
 
67
+ ### Version 1.18
68
+
69
+ * Navigation element needed to return string and no echo value.
70
+
71
  ### Version 1.17
72
 
73
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
includes/shortcode-functions.php CHANGED
@@ -1111,20 +1111,22 @@ if( ! function_exists( 'wc_shortcodes_posts' ) ) {
1111
  $class[] = 'wc-shortcodes-posts-col-' . $atts["columns"];
1112
  $class[] = 'wc-shortcodes-posts-layout-' . $atts['layout'];
1113
 
1114
- $html .= '<div data-gutter-space="'.$atts["gutter_space"].'" data-columns="'.$atts["columns"].'" class="' . implode( ' ', $class ) . '">';
1115
-
1116
  if ( $atts['filtering'] ) {
 
1117
  include( 'templates/nav-filtering.php' );
 
1118
  }
1119
 
1120
- while( $ml_query->have_posts() ) :
1121
- $ml_query->the_post();
1122
 
1123
- ob_start();
1124
- include('templates/index.php');
1125
- $html .= ob_get_clean();
 
 
 
1126
 
1127
- endwhile;
1128
 
1129
  $html .= '</div>';
1130
 
1111
  $class[] = 'wc-shortcodes-posts-col-' . $atts["columns"];
1112
  $class[] = 'wc-shortcodes-posts-layout-' . $atts['layout'];
1113
 
 
 
1114
  if ( $atts['filtering'] ) {
1115
+ ob_start();
1116
  include( 'templates/nav-filtering.php' );
1117
+ $html .= ob_get_clean();
1118
  }
1119
 
1120
+ $html .= '<div data-gutter-space="'.$atts["gutter_space"].'" data-columns="'.$atts["columns"].'" class="' . implode( ' ', $class ) . '">';
 
1121
 
1122
+ while( $ml_query->have_posts() ) :
1123
+ $ml_query->the_post();
1124
+
1125
+ ob_start();
1126
+ include('templates/index.php');
1127
+ $html .= ob_get_clean();
1128
 
1129
+ endwhile;
1130
 
1131
  $html .= '</div>';
1132
 
readme.txt CHANGED
@@ -84,6 +84,10 @@ Use the shortcode manager in the TinyMCE text editor
84
 
85
  == Changelog ==
86
 
 
 
 
 
87
  ### Version 1.17
88
 
89
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
84
 
85
  == Changelog ==
86
 
87
+ ### Version 1.18
88
+
89
+ * Navigation element needed to return string and no echo value.
90
+
91
  ### Version 1.17
92
 
93
  * Added ability to showcase posts of any post type in an isotope / masonry layout.
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.17
9
  License: GPLv2 or later
10
  */
11
 
12
- define( 'WC_SHORTCODES_VERSION', '1.17' );
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.18
9
  License: GPLv2 or later
10
  */
11
 
12
+ define( 'WC_SHORTCODES_VERSION', '1.18' );
13
  define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
14
  define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
15
  define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );