| @@ -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 responsive grids for your posts, pages or custom post types | |
| 6 | -Version: 2.0 | |
| 5 | +Description: Easily create filterable grids for any of your posts, pages or custom post types | |
| 6 | +Version: 1.6 | |
| 7 | 7 | Author: Bootstrapped Ventures |
| 8 | 8 | Author URI: http://bootstrapped.ventures |
| 9 | 9 | License: GPLv3 |
| 10 | 10 | */ |
| 11 | -define( 'WPUPG_VERSION', '2.0' ); | |
| 11 | +define( 'WPUPG_VERSION', '1.6' ); | |
| 12 | 12 | define( 'WPUPG_POST_TYPE', 'wpupg_grid' ); |
| 13 | 13 | |
| 14 | 14 | class WPUltimatePostGrid { |
| 15 | 15 | |
| @@ -126,17 +126,14 @@ | ||
| 126 | 126 | $this->helper( 'ajax' ); |
| 127 | 127 | $this->helper( 'content' ); |
| 128 | 128 | $this->helper( 'css' ); |
| 129 | 129 | $this->helper( 'faq' ); |
| 130 | - $this->helper( 'giveaway' ); | |
| 131 | 130 | $this->helper( 'grid_cache' ); |
| 132 | 131 | $this->helper( 'grid_save' ); |
| 133 | 132 | $this->helper( 'meta_box' ); |
| 134 | - $this->helper( 'meta_box_post' ); | |
| 135 | 133 | $this->helper( 'notices' ); |
| 136 | 134 | $this->helper( 'pagination' ); |
| 137 | 135 | $this->helper( 'plugin_action_link' ); |
| 138 | - $this->helper( 'post_save' ); | |
| 139 | 136 | $this->helper( 'post_type' ); |
| 140 | 137 | $this->helper( 'support_tab' ); |
| 141 | 138 | $this->helper( 'vafpress_menu' ); |
| 142 | 139 | $this->helper( 'vafpress_shortcode' ); |
| @@ -215,15 +212,8 @@ | ||
| 215 | 212 | |
| 216 | 213 | public function template( $template ) |
| 217 | 214 | { |
| 218 | 215 | 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 ''; | |
| 226 | 216 | } |
| 227 | 217 | } |
| 228 | 218 | |
| 229 | 219 | // Premium version is responsible for instantiating if available |