array()); $taxonomy = array('wpv-taxonomy-title', 'wpv-taxonomy-link', 'wpv-taxonomy-url', 'wpv-taxonomy-description', 'wpv-taxonomy-post-count'); foreach ($taxonomy as $key) { $menu[$basic][$wpv_shortcodes[$key][1]] = array($wpv_shortcodes[$key][1], $wpv_shortcodes[$key][0], $basic, ''); } return $menu; } /* Add controls to the admin page for specifying the layout_meta_html */ function wpv_layout_meta_html_admin($post, $view_layout_settings) { global $WP_Views; $view_settings = $WP_Views->get_view_settings($post->ID); $defaults = array('layout_meta_html' => '', 'generated_layout_meta_html' => ''); $view_layout_settings = wp_parse_args($view_layout_settings, $defaults); ?>