Name, $theme_data->Version ); ?>

Description; ?>


Name); ?>

Name); ?>

Name); ?>

Theme Screenshot

Name, 'MH Themes', '' . __('rate it', 'mh-magazine-lite') . ''); ?>

'; echo ''; echo '
'; echo ''; echo '

'; } } if (!function_exists('mh_save_meta_boxes')) { function mh_save_meta_boxes($post_id, $post) { if (!isset($_POST['meta_box_nonce']) || !wp_verify_nonce($_POST['meta_box_nonce'], 'mh_meta_box_nonce')) { return $post->ID; } if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post->ID; } if ('page' == $_POST['post_type']) { if (!current_user_can('edit_page', $post_id)) { return $post->ID; } } elseif (!current_user_can('edit_post', $post_id)) { return $post->ID; } if ('post' == $_POST['post_type']) { $meta_data['mh-subheading'] = esc_attr($_POST['mh-subheading']); } foreach ($meta_data as $key => $value) { if ($post->post_type == 'revision') return; $value = implode(',', (array)$value); if (get_post_meta($post->ID, $key, FALSE)) { update_post_meta($post->ID, $key, $value); } else { add_post_meta($post->ID, $key, $value); } if (!$value) delete_post_meta($post->ID, $key); } } } add_action('save_post', 'mh_save_meta_boxes', 10, 2 ); ?>