PluginProbe
WP Ultimate Post Grid / 2.4.0
WP Ultimate Post Grid v2.4.0
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | wp-ultimate-post-grid.php +11 -3 1.72.4.0 View file →
@@ -1,15 +1,15 @@
1 1 <?php
2 2 /*
3 3 Plugin Name: WP Ultimate Post Grid
4 4 Plugin URI: http://bootstrapped.ventures/wp-ultimate-post-grid/
5 -Description: Easily create filterable grids for any of your posts, pages or custom post types
6 -Version: 1.7
5 +Description: Easily create filterable responsive grids for your posts, pages or custom post types
6 +Version: 2.4.0
7 7 Author: Bootstrapped Ventures
8 8 Author URI: http://bootstrapped.ventures
9 9 License: GPLv3
10 10 */
11 -define( 'WPUPG_VERSION', '1.7' );
11 +define( 'WPUPG_VERSION', '2.4.0' );
12 12 define( 'WPUPG_POST_TYPE', 'wpupg_grid' );
13 13
14 14 class WPUltimatePostGrid {
15 15
@@ -126,8 +126,9 @@
126 126 $this->helper( 'ajax' );
127 127 $this->helper( 'content' );
128 128 $this->helper( 'css' );
129 129 $this->helper( 'faq' );
130 + $this->helper( 'giveaway' );
130 131 $this->helper( 'grid_cache' );
131 132 $this->helper( 'grid_save' );
132 133 $this->helper( 'meta_box' );
133 134 $this->helper( 'meta_box_post' );
@@ -214,8 +215,15 @@
214 215
215 216 public function template( $template )
216 217 {
217 218 return $this->addon( 'custom-templates' )->get_template( $template );
219 + }
220 +}
221 +
222 +// Backward compatibility for older versions of WordPress
223 +if( !function_exists( 'get_term_meta' ) ) {
224 + function get_term_meta ( $term_id = 0, $key = '', $single = false ) {
225 + return '';
218 226 }
219 227 }
220 228
221 229 // Premium version is responsible for instantiating if available