term_id; // Get the ID of the term you're editing
$term_meta = get_option( "taxonomy_term_$t_id" );
?>
|
|
|
|
|
|
|
|
|
|
|
1600px for 'set1' and 'set2'", 'qode'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" readonly>
|
'',
'name' => __('Name', 'qode'),
'shortcode' => __('Shortcode', 'qode'),
//'description' => __('Description', 'qode'),
'slug' => __('Slug', 'qode'),
'posts' => __('Posts', 'qode')
);
return $new_columns;
}
add_filter("manage_slides_category_custom_column", 'manage_theme_columns', 10, 3);
function manage_theme_columns($out, $column_name, $theme_id) {
$theme = get_term($theme_id, 'slides_category');
switch ($column_name) {
case 'shortcode':
$data = maybe_unserialize($theme->description);
$out .= "[qode_slider slider='".$theme->slug."' auto_start='true' animation_type='slide' slide_animation='6000' height='' responsive_height='yes' anchor='' show_navigation_arrows='yes']";
break;
default:
break;
}
return $out;
}
?>