Bug in Articles
-
Hi
the plugin is no more in function in articles since wordpress 4.3.1I try to Paste this into my theme’s functions.php file :
add_filter(‘images_cpt’,’my_image_cpt’);
function my_image_cpt(){
$cpts = array(‘page’,’my_custom_post_type’);
return $cpts;
}
just below
add_action(‘save_post’,’save_metaboxes’);
function save_metaboxes($post_ID){
// si la metabox est définie, on sauvegarde sa valeur
if(isset($_POST[‘mon_champ’])){
update_post_meta($post_ID,’_ma_valeur’, esc_html($_POST[‘mon_champ’]));
}
}
my developper doesn’t answer me anymore… i’m alone and total beginner
how can i fix it ?
thanks
JULIEN
- The topic ‘Bug in Articles’ is closed to new replies.