echo '</td>';
*/
if (!fp_get_option_bool('fps_tinymce_wordcount')) {
    printf(__('Word count: %s'), '<span class="word-count">0</span>');
}
?>
		</div>
	</fieldset>
	</td></tr>
	<?php 
//**********************************************************************************
//* Taxonomies
//**********************************************************************************
//$tax_list = array("category", "group", "article-type");
$tax_list = $frontier_custom_tax;
$tax_layout_list = fp_get_tax_layout($frontier_custom_tax, $frontier_custom_tax_layout);
echo '<tr><td class="frontier_no_border">';
foreach ($tax_layout_list as $tmp_tax_name => $tmp_tax_layout) {
    if ($tmp_tax_layout != "hide") {
        // Cats_selected is set from script, but only for category
        if ($tmp_tax_name != 'category') {
            $cats_selected = wp_get_post_terms($thispost->ID, $tmp_tax_name, array("fields" => "ids"));
        }
        echo '<fieldset class="frontier_post_fieldset_tax frontier_post_fieldset_tax_' . $tmp_tax_name . '">';
        echo '<legend class="frontier_post_legend_tax" >' . fp_get_tax_label($tmp_tax_name) . '</legend>';
        frontier_tax_input($thispost->ID, $tmp_tax_name, $tmp_tax_layout, $cats_selected, $frontier_post_shortcode_parms, $tax_form_lists[$tmp_tax_name]);
        echo '</fieldset>';
        echo PHP_EOL;
    }
}
if (current_user_can('frontier_post_tags_edit') || fp_get_option_bool("fps_show_feat_img")) {
?>
</legend>	
		<div id="frontier_editor_field"> 
		<?php 
wp_editor($thispost->post_content, 'frontier_post_content', frontier_post_wp_editor_args($fpost_sc_parms['frontier_editor_height']));
?>
		</div>
	</fieldset>
	</td></tr>
	<?php 
//**********************************************************************************
//* Taxonomies
//**********************************************************************************
//$tax_list = array("category", "group", "article-type");
$tax_list = $fpost_sc_parms['frontier_custom_tax'];
$tax_layout_list = fp_get_tax_layout($fpost_sc_parms['frontier_custom_tax'], $fpost_sc_parms['frontier_custom_tax_layout']);
echo '<tr><td class="frontier_no_border">';
foreach ($tax_layout_list as $tmp_tax_name => $tmp_tax_layout) {
    if ($tmp_tax_layout != "hide") {
        // Cats_selected is set from script, but only for category
        if ($tmp_tax_name != 'category') {
            $cats_selected = wp_get_post_terms($thispost->ID, $tmp_tax_name, array("fields" => "ids"));
        }
        echo '<fieldset class="frontier_post_fieldset_tax frontier_post_fieldset_tax_' . $tmp_tax_name . '">';
        echo '<legend class="frontier_post_legend_tax" >' . fp_get_tax_label($tmp_tax_name) . '</legend>';
        frontier_tax_input($thispost->ID, $tmp_tax_name, $tmp_tax_layout, $cats_selected, $fpost_sc_parms, $tax_form_lists[$tmp_tax_name]);
        echo '</fieldset>';
        echo PHP_EOL;
    }
}
if (current_user_can('frontier_post_tags_edit') || fp_get_option_bool("fps_show_feat_img")) {