?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/wdp/wp-content/themes/quadric/framework/admin/meta-boxes/carousels/



?? Go up: /home/webdevt/www/wdp/wp-content/themes/quadric/framework/admin/meta-boxes

?? Viewing: map.php

<?php

//Carousels

$carousel_meta_box = edgtf_quadric_create_meta_box(
    array(
        'scope' => array('carousels'),
        'title' => esc_html__( 'Carousel', 'quadric' ),
        'name' => 'carousel-meta'
    )
);

    edgtf_quadric_create_meta_box_field(
        array(
            'name'        => 'edgtf_carousel_image',
            'type'        => 'image',
            'label' => esc_html__( 'Carousel Image', 'quadric' ),
            'description' => esc_html__( 'Choose carousel image (min width needs to be 215px)', 'quadric' ),
            'parent'      => $carousel_meta_box
        )
    );

    edgtf_quadric_create_meta_box_field(
        array(
            'name'        => 'edgtf_carousel_hover_image',
            'type'        => 'image',
            'label' => esc_html__( 'Carousel Hover Image', 'quadric' ),
            'description' => esc_html__( 'Choose carousel hover image (min width needs to be 215px)', 'quadric' ),
            'parent'      => $carousel_meta_box
        )
    );

    edgtf_quadric_create_meta_box_field(
        array(
            'name'        => 'edgtf_carousel_item_link',
            'type'        => 'text',
            'label' => esc_html__( 'Link', 'quadric' ),
            'description' => esc_html__( 'Enter the URL to which you want the image to link to (e.g. http://www.example.com)', 'quadric' ),
            'parent'      => $carousel_meta_box
        )
    );

    edgtf_quadric_create_meta_box_field(
        array(
            'name'        => 'edgtf_carousel_item_target',
            'type'        => 'selectblank',
            'label' => esc_html__( 'Target', 'quadric' ),
            'description' => esc_html__( 'Specify where to open the linked document', 'quadric' ),
            'parent'      => $carousel_meta_box,
            'options' => array(
            	'_self' => esc_html__( 'Self', 'quadric' ),
            	'_blank' => esc_html__( 'Blank', 'quadric' )
        	)
        )
    );


??

??