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 | helpers/meta_box.php +30 -0 2.32.4.0 View file →
@@ -74,8 +74,17 @@
74 74 WPUPG_POST_TYPE,
75 75 'normal',
76 76 'high'
77 77 );
78 +
79 + add_meta_box(
80 + 'wpupg_meta_box_limit_terms',
81 + __( 'Limit Terms', 'wp-ultimate-post-grid' ),
82 + array( $this, 'meta_box_limit_terms' ),
83 + WPUPG_POST_TYPE,
84 + 'normal',
85 + 'high'
86 + );
78 87 }
79 88
80 89 public function add_meta_box_filter()
81 90 {
@@ -88,8 +97,17 @@
88 97 'high'
89 98 );
90 99
91 100 add_meta_box(
101 + 'wpupg_meta_box_text_filter',
102 + __( 'Text Search Filter', 'wp-ultimate-post-grid' ),
103 + array( $this, 'meta_box_text_filter' ),
104 + WPUPG_POST_TYPE,
105 + 'normal',
106 + 'high'
107 + );
108 +
109 + add_meta_box(
92 110 'wpupg_meta_box_isotope_filter',
93 111 __( 'Isotope Filter', 'wp-ultimate-post-grid' ),
94 112 array( $this, 'meta_box_isotope_filter' ),
95 113 WPUPG_POST_TYPE,
@@ -166,12 +184,24 @@
166 184 $grid = new WPUPG_Grid( $post );
167 185 include( WPUltimatePostGrid::get()->coreDir . '/helpers/meta_boxes/meta_box_limit_posts.php' );
168 186 }
169 187
188 + public function meta_box_limit_terms( $post )
189 + {
190 + $grid = new WPUPG_Grid( $post );
191 + include( WPUltimatePostGrid::get()->coreDir . '/helpers/meta_boxes/meta_box_limit_terms.php' );
192 + }
193 +
170 194 public function meta_box_filter( $post )
171 195 {
172 196 $grid = new WPUPG_Grid( $post );
173 197 include( WPUltimatePostGrid::get()->coreDir . '/helpers/meta_boxes/meta_box_filter.php' );
198 + }
199 +
200 + public function meta_box_text_filter( $post )
201 + {
202 + $grid = new WPUPG_Grid( $post );
203 + include( WPUltimatePostGrid::get()->coreDir . '/helpers/meta_boxes/meta_box_text_filter.php' );
174 204 }
175 205
176 206 public function meta_box_isotope_filter( $post )
177 207 {