Tag Info

New answers tagged

1

It looks like your $categories is an empty array. To solve this always check if the array is empty or not. In line 117 add code to check if array is empty <?php if( !empty( $categories ) ){ ?> and in line number 167 replace <?php } ?> with <?php } } ?> If you want to permanently remove any error or warning message you can use the ...


0

Hey Change Callback function to like this and add_meta_box to add_meta_boxes hook function create_meta_box_slider() { add_meta_box( 'new-meta-boxes-slider', __('slider Settings'), 'new_meta_box', 'slider', 'normal', 'high' ); } add_action('add_meta_boxes', 'create_meta_box_slider'); function new_meta_box() { global $meta_box_groups; ...



Top 50 recent answers are included