/**
 * Post Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_post_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'layout', 'title' => __('Sidebar Option', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default', 'img' => 'images/layout-icons/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'sidebar1', 'img' => 'images/layout-icons/sidebar1.png', 'title' => __('Sidebar Right', 'themify')), array('value' => 'sidebar1 sidebar-left', 'img' => 'images/layout-icons/sidebar1-left.png', 'title' => __('Sidebar Left', 'themify')), array('value' => 'sidebar-none', 'img' => 'images/layout-icons/sidebar-none.png', 'title' => __('No Sidebar ', 'themify')))), array('name' => 'content_width', 'title' => __('Content Width', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default_width', 'img' => 'themify/img/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'full_width', 'img' => 'themify/img/fullwidth.png', 'title' => __('Fullwidth', 'themify')))), array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'hide_post_title', 'title' => __('Hide Post Title', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_title', 'title' => __('Unlink Post Title', 'themify'), 'description' => __('Unlink post title (it will display the post title without link)', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), themify_multi_meta_field(), array('name' => 'hide_post_date', 'title' => __('Hide Post Date', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_post_image', 'title' => __('Hide Featured Image', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_image', 'title' => __('Unlink Featured Image', 'themify'), 'description' => __('Display the Featured Image without link', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'video_url', 'title' => __('Video URL', 'themify'), 'description' => __('Video embed URL such as YouTube or Vimeo video url (<a href="http://themify.me/docs/video-embeds">details</a>).', 'themify'), 'type' => 'textbox', 'meta' => array()), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field());
}
/**
 * Portfolio Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_portfolio_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'content_width', 'title' => __('Content Width', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default_width', 'img' => 'themify/img/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'full_width', 'img' => 'themify/img/fullwidth.png', 'title' => __('Fullwidth', 'themify')))), array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'gallery_shortcode', 'title' => __('Slider Gallery', 'themify'), 'description' => '', 'type' => 'gallery_shortcode'), array('name' => 'media_type', 'title' => __('Show Media', 'themify'), 'description' => __('Show whether the featured image or gallery slider on the index view.', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'slider', 'name' => __('Slider', 'themify'), 'selected' => true), array('value' => 'image', 'name' => __('Image', 'themify')))), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array("name" => "hide_post_title", "title" => __('Hide Post Title', 'themify'), "description" => '', "type" => 'dropdown', "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array("name" => "unlink_post_title", "title" => __('Unlink Post Title', 'themify'), "description" => __('Unlink post title (it will display the post title without link)', 'themify'), "type" => "dropdown", "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array("name" => "hide_post_date", "title" => __('Hide Post Date', 'themify'), "description" => "", "type" => "dropdown", "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array("name" => "hide_post_meta", "title" => __('Hide Post Meta', 'themify'), "description" => "", "type" => "dropdown", "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array("name" => "hide_post_image", "title" => __('Hide Featured Image', 'themify'), "description" => "", "type" => "dropdown", "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array("name" => "unlink_post_image", "title" => __('Unlink Featured Image', 'themify'), "description" => __('Display the Featured Image without link', 'themify'), "type" => "dropdown", "meta" => array(array("value" => "default", "name" => "", "selected" => true), array("value" => "yes", 'name' => __('Yes', 'themify')), array("value" => "no", 'name' => __('No', 'themify')))), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field(), array('name' => 'post_id_info', 'title' => __('Shortcode ID', 'themify'), 'description' => __('To show this use [portfolio id="%s"]', 'themify'), 'type' => 'post_id_info'));
}
/**
 * Team Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_team_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'content_width', 'title' => __('Content Width', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default_width', 'img' => 'themify/img/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'full_width', 'img' => 'themify/img/fullwidth.png', 'title' => __('Fullwidth', 'themify')))), array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'team_title', 'title' => __('Team Member Position', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'skills', 'title' => __('Skill Set', 'themify'), 'description' => '', 'type' => 'textarea'), array('name' => 'social', 'title' => __('Social Links', 'themify'), 'description' => '', 'type' => 'textarea'), array('name' => 'post_id_info', 'title' => __('Shortcode ID', 'themify'), 'description' => __('To show this use [team id="%s"]', 'themify'), 'type' => 'post_id_info'));
}
/**
 * Query Posts Options
 * @param array $args
 * @return array
 * @since 1.0.0
 */
function themify_theme_query_post_meta_box($args = array())
{
    extract($args);
    return array(array('name' => '_query_posts_notice', 'title' => '', 'description' => '', 'type' => 'separator', 'meta' => array('html' => '<div class="themify-info-link">' . sprintf(__('<a href="%s">Query Posts</a> allows you to query WordPress posts from any category on the page. To use it, select a Query Category.', 'themify'), 'http://themify.me/docs/query-posts') . '</div>')), array('name' => 'query_category', 'title' => __('Query Category', 'themify'), 'description' => __('Select a category or enter multiple category IDs (eg. 2,5,6). Enter 0 to display all category.', 'themify'), 'type' => 'query_category', 'meta' => array()), array('name' => 'order', 'title' => __('Order', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => __('Descending', 'themify'), 'value' => 'desc', 'selected' => true), array('name' => __('Ascending', 'themify'), 'value' => 'asc'))), array('name' => 'orderby', 'title' => __('Order By', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => __('Date', 'themify'), 'value' => 'content', 'selected' => true), array('name' => __('Random', 'themify'), 'value' => 'rand'), array('name' => __('Author', 'themify'), 'value' => 'author'), array('name' => __('Post Title', 'themify'), 'value' => 'title'), array('name' => __('Comments Number', 'themify'), 'value' => 'comment_count'), array('name' => __('Modified Date', 'themify'), 'value' => 'modified'), array('name' => __('Post Slug', 'themify'), 'value' => 'name'), array('name' => __('Post ID', 'themify'), 'value' => 'ID'))), array('name' => 'layout', 'title' => __('Query Post Layout', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'list-post', 'img' => 'images/layout-icons/list-post.png', 'selected' => true), array('value' => 'grid4', 'img' => 'images/layout-icons/grid4.png', 'title' => __('Grid 4', 'themify')), array('value' => 'grid3', 'img' => 'images/layout-icons/grid3.png', 'title' => __('Grid 3', 'themify')), array('value' => 'grid2', 'img' => 'images/layout-icons/grid2.png', 'title' => __('Grid 2', 'themify')), array('value' => 'slider', 'img' => 'images/layout-icons/slider-default.png', 'title' => __('Slider', 'themify')))), array('name' => 'post_content_layout', 'title' => __('Post Content Layout', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => '', 'name' => '', 'selected' => true), array('value' => 'overlay', 'name' => __('Overlay', 'themify')), array('value' => 'polaroid', 'name' => __('Polaroid', 'themify')))), array('name' => 'disable_masonry', 'title' => __('Post Masonry', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => '', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Enable', 'themify')), array('value' => 'no', 'name' => __('Disable', 'themify')))), array('name' => 'post_gutter', 'title' => __('Post Gutter', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => '', 'name' => '', 'selected' => true), array('value' => 'no-gutter', 'name' => __('No gutter', 'themify')))), array('name' => 'more_posts', 'title' => __('Infinite Scroll', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => '', 'name' => '', 'selected' => true), array('value' => 'infinite', 'name' => __('Enable', 'themify')), array('value' => 'pagination', 'name' => __('Disable', 'themify')))), array('name' => 'posts_per_page', 'title' => __('Posts Per Page', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array('size' => 'small')), array('name' => 'display_content', 'title' => __('Display Content', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => __('Full Content', 'themify'), 'value' => 'content', 'selected' => true), array('name' => __('Excerpt', 'themify'), 'value' => 'excerpt'), array('name' => __('None', 'themify'), 'value' => 'none'))), array('name' => 'feature_size_page', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'hide_title', 'title' => __('Hide Post Title', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_title', 'title' => __('Unlink Post Title', 'themify'), 'description' => __('Unlink post title (it will display the post title without link)', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_date', 'title' => __('Hide Post Date', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), themify_multi_meta_field(), array('name' => 'hide_image', 'title' => __('Hide Featured Image', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_image', 'title' => __('Unlink Featured Image', 'themify'), 'description' => __('Display the Featured Image without link', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_navigation', 'title' => __('Hide Page Navigation', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))));
}
/**
 * Post Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.0
 */
function themify_theme_post_meta_box($args = array())
{
    return array(array('name' => 'layout', 'title' => __('Sidebar Option', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default', 'img' => 'images/layout-icons/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'sidebar1', 'img' => 'images/layout-icons/sidebar1.png', 'title' => __('Sidebar Right', 'themify')), array('value' => 'sidebar1 sidebar-left', 'img' => 'images/layout-icons/sidebar1-left.png', 'title' => __('Sidebar Left', 'themify')), array('value' => 'sidebar-none', 'img' => 'images/layout-icons/sidebar-none.png', 'title' => __('No Sidebar ', 'themify')))), array('name' => 'content_width', 'title' => __('Content Width', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default_width', 'img' => 'themify/img/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'full_width', 'img' => 'themify/img/fullwidth.png', 'title' => __('Fullwidth', 'themify')))), array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'imagefilter_options', 'title' => __('Image Filter', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => '', 'value' => 'initial'), array('name' => __('None', 'themify'), 'value' => 'none'), array('name' => __('Grayscale', 'themify'), 'value' => 'grayscale'), array('name' => __('Sepia', 'themify'), 'value' => 'sepia'), array('name' => __('Blur', 'themify'), 'value' => 'blur'))), array('name' => 'imagefilter_options_hover', 'title' => __('Image Hover Filter', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => '', 'value' => 'initial'), array('name' => __('None', 'themify'), 'value' => 'none'), array('name' => __('Grayscale', 'themify'), 'value' => 'grayscale'), array('name' => __('Sepia', 'themify'), 'value' => 'sepia'), array('name' => __('Blur', 'themify'), 'value' => 'blur'))), array('name' => 'imagefilter_applyto', 'title' => __('Apply to', 'themify'), 'description' => sprintf(__('Theme Default = can be set in <a href="%s" target="_blank">Themify > Settings > Theme Settings</a>', 'themify'), admin_url('admin.php?page=themify#setting-theme_settings')), 'type' => 'radio', 'meta' => array(array('value' => 'initial', 'name' => __('Theme Default', 'themify'), 'selected' => true), array('value' => 'featured-only', 'name' => __('Featured Images Only', 'themify')), array('value' => 'all', 'name' => __('All Images', 'themify')))), array('name' => 'hide_post_title', 'title' => __('Hide Post Title', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_title', 'title' => __('Unlink Post Title', 'themify'), 'description' => __('Unlink post title (it will display the post title without link)', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), themify_multi_meta_field(), array('name' => 'hide_post_date', 'title' => __('Hide Post Date', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_post_image', 'title' => __('Hide Featured Image', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_image', 'title' => __('Unlink Featured Image', 'themify'), 'description' => __('Display the Featured Image without link', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'video_url', 'title' => __('Video URL', 'themify'), 'description' => __('Replace Featured Image with a video embed URL such as YouTube or Vimeo video url (<a href="http://themify.me/docs/video-embeds">details</a>).', 'themify'), 'type' => 'textbox', 'meta' => array()), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image and Post Title to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field(), array('name' => 'custom_menu', 'title' => __('Custom Menu', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => $args['nav_menus']));
}
/**
 * Portfolio Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_testimonial_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'testimonial_name', 'title' => __('Author Name', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'testimonial_title', 'title' => __('Title', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field(), array('name' => 'post_id_info', 'title' => __('Shortcode ID', 'themify'), 'description' => __('To show this use [testimonial id="%s"]'), 'type' => 'post_id_info'));
}
/**
 * Portfolio Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_portfolio_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'layout', 'title' => __('Sidebar Option', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default', 'img' => 'images/layout-icons/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'sidebar1', 'img' => 'images/layout-icons/sidebar1.png', 'title' => __('Sidebar Right', 'themify')), array('value' => 'sidebar1 sidebar-left', 'img' => 'images/layout-icons/sidebar1-left.png', 'title' => __('Sidebar Left', 'themify')), array('value' => 'sidebar-none', 'img' => 'images/layout-icons/sidebar-none.png', 'title' => __('No Sidebar ', 'themify')))), array('name' => 'content_width', 'title' => __('Content Width', 'themify'), 'description' => '', 'type' => 'layout', 'show_title' => true, 'meta' => array(array('value' => 'default_width', 'img' => 'themify/img/default.png', 'selected' => true, 'title' => __('Default', 'themify')), array('value' => 'full_width', 'img' => 'themify/img/fullwidth.png', 'title' => __('Fullwidth', 'themify')))), array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'imagefilter_options', 'title' => __('Image Filter', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => '', 'value' => 'initial'), array('name' => __('None', 'themify'), 'value' => 'none'), array('name' => __('Grayscale', 'themify'), 'value' => 'grayscale'), array('name' => __('Sepia', 'themify'), 'value' => 'sepia'), array('name' => __('Blur', 'themify'), 'value' => 'blur'))), array('name' => 'imagefilter_options_hover', 'title' => __('Image Hover Filter', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('name' => '', 'value' => 'initial'), array('name' => __('None', 'themify'), 'value' => 'none'), array('name' => __('Grayscale', 'themify'), 'value' => 'grayscale'), array('name' => __('Sepia', 'themify'), 'value' => 'sepia'), array('name' => __('Blur', 'themify'), 'value' => 'blur'))), array('name' => 'imagefilter_applyto', 'title' => __('Apply to', 'themify'), 'description' => sprintf(__('Theme Default = can be set in <a href="%s" target="_blank">Themify > Settings > Theme Settings</a>', 'themify'), admin_url('admin.php?page=themify#setting-theme_settings')), 'type' => 'radio', 'meta' => array(array('value' => 'initial', 'name' => __('Theme Default', 'themify'), 'selected' => true), array('value' => 'featured-only', 'name' => __('Featured Images Only', 'themify')), array('value' => 'all', 'name' => __('All Images', 'themify')))), array('name' => 'hide_post_title', 'title' => __('Hide Post Title', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_title', 'title' => __('Unlink Post Title', 'themify'), 'description' => __('Unlink post title (it will display the post title without link)', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_post_meta', 'title' => __('Hide Post Meta', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'hide_post_image', 'title' => __('Hide Featured Image', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'unlink_post_image', 'title' => __('Unlink Featured Image', 'themify'), 'description' => __('Display the Featured Image without link', 'themify'), 'type' => 'dropdown', 'meta' => array(array('value' => 'default', 'name' => '', 'selected' => true), array('value' => 'yes', 'name' => __('Yes', 'themify')), array('value' => 'no', 'name' => __('No', 'themify')))), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image and Post Title to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field(), array('name' => 'post_id_info', 'title' => __('Shortcode ID', 'themify'), 'description' => __('To show this use [portfolio id="%s"]', 'themify'), 'type' => 'post_id_info'), array('name' => 'custom_menu', 'title' => __('Custom Menu', 'themify'), 'description' => '', 'type' => 'dropdown', 'meta' => $args['nav_menus']), array('name' => '_separator_project_info', 'title' => '', 'description' => '', 'type' => 'separator', 'meta' => array('html' => '<h4>' . __('Project Info', 'themify') . '</h4><hr class="meta_fields_separator"/>')), array('name' => 'project_date', 'title' => __('Date', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'project_client', 'title' => __('Client', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'project_services', 'title' => __('Services', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()), array('name' => 'project_launch', 'title' => __('Link to Launch', 'themify'), 'description' => '', 'type' => 'textbox', 'meta' => array()));
}
/**
 * Highlight Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_highlight_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field(), array('name' => 'bar_percentage', 'title' => __('Bar Percentage', 'themify'), 'description' => __('Enter a value from 0 to 100', 'themify'), 'type' => 'textbox', 'meta' => array()), array('name' => 'bar_color', 'title' => __('Bar Color', 'themify'), 'description' => sprintf(__('You can set up the default color at <a href="%s">Styling &gt; Backgrounds</a>.', 'themify'), admin_url('admin.php?page=themify#styling')), 'type' => 'color', 'meta' => array('default' => null)), array('name' => 'external_link', 'title' => __('External Link', 'themify'), 'description' => __('Link Featured Image to external URL', 'themify'), 'type' => 'textbox', 'meta' => array()), themify_lightbox_link_field(), array('name' => 'post_id_info', 'title' => __('Shortcode ID', 'themify'), 'description' => __('To show this use [highlight id="%s"]', 'themify'), 'type' => 'post_id_info'));
}
/**
 * Timeline Meta Box Options
 * @param array $args
 * @return array
 * @since 1.0.7
 */
function themify_theme_timeline_meta_box($args = array())
{
    extract($args);
    return array(array('name' => 'post_image', 'title' => __('Featured Image', 'themify'), 'description' => '', 'type' => 'image', 'meta' => array()), array('name' => 'feature_size', 'title' => __('Image Size', 'themify'), 'description' => sprintf(__('Image sizes can be set at <a href="%s">Media Settings</a> and <a href="%s">Regenerated</a>', 'themify'), 'options-media.php', 'admin.php?page=themify_regenerate-thumbnails'), 'type' => 'featimgdropdown'), themify_image_dimensions_field());
}