Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once(get_template_directory() . '/inc/Tax-meta-class/Tax-meta-class.php');
- if (is_admin()){
- $config = array(
- 'id' => 'serie_metabox',
- 'title' => 'Information sur cette série',
- 'pages' => array('serie'),
- 'context' => 'normal',
- 'fields' => array(),
- 'local_images' => true,
- 'use_with_theme' => get_template_directory_uri() . '/inc/Tax-meta-class'
- );
- $serie_metabox = new Tax_Meta_Class($config);
- $serie_metabox->addText(
- 'difficulty',
- array(
- 'name'=> 'Difficulté'
- )
- );
- $serie_metabox->addImage(
- 'image',
- array(
- 'name'=> 'Image'
- )
- );
- $serie_metabox->Finish();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement