<?php
/**
 * Register theme metaboxes.     
 * 
 * @package WordPress
 * @subpackage YIW Themes
 * @since 1.0
 */
 
// subtitle slogan
$options_args = array(
    11 => array( 
        'id' => 'subslogan_page',
        'name' => __( 'Slogan Subtitle', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the subtitle of slogan showed below the main title of this slogan.', 'yiw' ),
        'desc_location' => 'newline'
    ),
); 
yiw_add_options_to_metabox( 'yiw_slogan_page', $options_args );




//testimonial url
$options_args = array(
    10 => array(
        'id' => 'testimonial_label',
        'name' => __( 'Web Site Label', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the label used for Testimonial Website Url', 'yiw' ),
        'desc_location' => 'newline'
    ),
    20 => array(
        'id' => 'testimonial_website',
        'name' => __( 'Web Site URL', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the url referred to Testimonial', 'yiw' ),
        'desc_location' => 'newline'
    )
);
yiw_register_metabox( 'yiw_url_testimonial', __( 'Website Testimonial', 'yiw' ), 'bl_testimonials', $options_args, 'normal', 'high' );





//portfolio video url
$options_args = array(
    10 => array(
        'id' => 'portfolio_video',
        'name' => __( 'Video URL:', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Here, you can add an Youtube or Vimeo url video, to show on thumb of this portfolio element.', 'yiw' ),
        'desc_location' => 'newline'
    )
);
yiw_register_metabox( 'yiw_url_portfolio', __( 'Video URL', 'yiw' ), 'bl_portfolio', $options_args, 'normal', 'high' );




//show breadcrumbs
global $yiw_sliders;
$options_args = array(
    21 => array( 
        'id' => 'show_breadcrumbs_page',
        'name' => __( 'Show Breadcrumbs below the title', 'yiw' ), 
        'type' => 'radio',
        'options' => array(
            'yes' => __( 'Yes', 'yiw' ),
            'no' => __( 'No', 'yiw' ),  
        ),
        'std' => 'yes'
    ),
    
    80 => array( 
        'id' => 'slider_type',
        'name' => __( 'Select a slider for this page', 'yiw' ), 
        'type' => 'select',
        'hidden' => false,
        'options' => array(
                    'none'        => __( 'None', 'yiw' ),
                    'fixed-image' => __( 'Fixed Image', 'yiw' ),
                    'elegant'     => __( 'Slider Elegant', 'yiw' ),
                    'cycle'       => __( 'Slider Cycle' , 'yiw' ),
                    'nivo'        => __( 'Slider Nivo' , 'yiw' ),
                    'carousel'    => __( 'Slider Carousel' , 'yiw' ),
                    'elastic'     => __( 'Slider Elastic', 'yiw' ),
                ),
        'std' => 'none'
    ),

); 
yiw_add_options_to_metabox( 'yiw_options_page', $options_args );






// portfolio
$options_args = array(
    10 => array( 
        'id' => 'portfolio_skills_label',
        'name' => __( 'Skills Label', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the label used in skills field', 'yiw' ),
        'desc_location' => 'newline'
    ),
    20 => array( 
        'id' => 'portfolio_skills',
        'name' => __( 'Skills', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the skills', 'yiw' ),
        'desc_location' => 'newline'
    ),
   30 => array( 
        'id' => 'portfolio_date_label',
        'name' => __( 'Date label', 'yiw' ), 
        'type' => 'text',
        'desc' => __( 'Insert the label used in date field', 'yiw' ),
        'desc_location' => 'newline'
    )
); 
yiw_register_metabox( 'yiw_portfolio_skillsdate', __( 'Skills and Date', 'yiw' ), 'bl_portfolio', $options_args, 'normal', 'high' );












?>