• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP gdlr_get_thumbnail_list函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中gdlr_get_thumbnail_list函数的典型用法代码示例。如果您正苦于以下问题:PHP gdlr_get_thumbnail_list函数的具体用法?PHP gdlr_get_thumbnail_list怎么用?PHP gdlr_get_thumbnail_list使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了gdlr_get_thumbnail_list函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: gdlrs_register_room_item

 function gdlrs_register_room_item($page_builder = array())
 {
     global $gdlr_spaces;
     $page_builder['content-item']['options']['hostel-room'] = array('title' => __('Hostel Room', 'gdlr-hotel'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(__('View all rooms', 'gdlr-hotel')), array('category' => array('title' => __('Category', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('hostel_room_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-hotel')), 'tag' => array('title' => __('Tag', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('hostel_room_tag'), 'description' => __('Will be ignored when the room filter option is enabled.', 'gdlr-hotel')), 'room-style' => array('title' => __('Room Style', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('classic' => __('Classic', 'gdlr-hotel'), 'classic-no-space' => __('Classic No Space', 'gdlr-hotel'), 'modern' => __('Modern', 'gdlr-hotel'), 'modern-no-space' => __('Modern No Space', 'gdlr-hotel'), 'medium' => __('Medium Thumbnail', 'gdlr-hotel'))), 'enable-carousel' => array('title' => __('Room Carousel', 'gdlr-hotel'), 'type' => 'checkbox', 'wrapper-class' => 'room-style-wrapper modern-wrapper modern-no-space-wrapper classic-wrapper classic-no-space-wrapper'), 'room-size' => array('title' => __('Room Column Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4'), 'default' => 3, 'wrapper-class' => 'room-style-wrapper classic-wrapper classic-no-space-wrapper modern-wrapper modern-no-space-wrapper'), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-hotel'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of rooms you want to pull out.', 'gdlr-hotel')), 'num-excerpt' => array('title' => __('Num Excerpt', 'gdlr-hotel'), 'type' => 'text', 'default' => '20', 'wrapper-class' => 'room-style-wrapper medium-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-hotel')), 'orderby' => array('title' => __('Order By', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-hotel'), 'title' => __('Title', 'gdlr-hotel'), 'rand' => __('Random', 'gdlr-hotel'))), 'order' => array('title' => __('Order', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-hotel'), 'asc' => __('Ascending Order', 'gdlr-hotel'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-hotel'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-hotel'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-hotel')))));
     $page_builder['content-item']['options']['hostel-room-category'] = array('title' => __('Hostel Room Category / Branches', 'gdlr-hotel'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(__('View All Branches', 'gdlr-hotel')), array('category' => array('title' => __('Select Category to Display', 'gdlr-hotel'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_id_list('hostel_room_category'), 'description' => __('Will be ignored when the room filter option is enabled.', 'gdlr-hotel')), 'item-size' => array('title' => __('Item Column Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4'), 'default' => 3, 'wrapper-class' => 'room-style-wrapper classic-wrapper modern-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-hotel'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-hotel')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-hotel'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-hotel')))));
     return $page_builder;
 }
开发者ID:hoa32811,项目名称:wp_thanhtrung_hotel,代码行数:7,代码来源:gdlrs-room-option.php


示例2: gdlr_register_cause_item

 function gdlr_register_cause_item($page_builder = array())
 {
     global $gdlr_spaces;
     $page_builder['content-item']['options']['cause-search'] = array('title' => __('Cause Search', 'gdlr-cause'), 'type' => 'item', 'options' => array('title' => array('title' => __('Title', 'gdlr-cause'), 'type' => 'text', 'default' => __('Search For Causes', 'gdlr-cause')), 'caption' => array('title' => __('Caption', 'gdlr-cause'), 'type' => 'text', 'default' => __('Please fill keywords in text box and select particular category to search for all causes.', 'gdlr-cause')), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-cause'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-item'], 'description' => __('Spaces after ending of this item', 'gdlr-cause'))));
     $page_builder['content-item']['options']['cause'] = array('title' => __('Cause', 'gdlr-cause'), 'type' => 'item', 'options' => array('title-type' => array('title' => __('Title Type', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('none' => __('None', 'gdlr-cause'), 'icon' => __('Title With Icon', 'gdlr-cause'), 'left' => __('Left Align With Icon', 'gdlr-cause'), 'center' => __('Center Align With Caption', 'gdlr-cause'))), 'icon' => array('title' => __('Icon', 'gdlr-cause'), 'type' => 'text', 'wrapper-class' => 'title-type-wrapper icon-wrapper left-wrapper'), 'title' => array('title' => __('Title', 'gdlr-cause'), 'type' => 'text', 'wrapper-class' => 'title-type-wrapper left-wrapper center-wrapper icon-wrapper'), 'caption' => array('title' => __('Caption', 'gdlr-cause'), 'type' => 'textarea', 'wrapper-class' => 'title-type-wrapper center-wrapper'), 'right-text' => array('title' => __('Title Right Text', 'gdlr-cause'), 'type' => 'text', 'default' => __('View All Causes', 'gdlr-cause'), 'wrapper-class' => 'title-type-wrapper left-wrapper center-wrapper icon-wrapper'), 'right-text-link' => array('title' => __('Title Right Text Link', 'gdlr-cause'), 'type' => 'text', 'wrapper-class' => 'title-type-wrapper left-wrapper center-wrapper icon-wrapper'), 'category' => array('title' => __('Category', 'gdlr-cause'), 'type' => 'multi-combobox', 'options' => gdlr_get_term_list('cause_category'), 'description' => __('You can use Ctrl/Command button to select multiple categories or remove the selected category. <br><br> Leave this field blank to select all categories.', 'gdlr-cause')), 'cause-style' => array('title' => __('Cause Style', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('grid' => __('Grid Style', 'gdlr-cause'), 'medium' => __('Medium Style', 'gdlr-cause'), 'full' => __('Full Style', 'gdlr-cause'))), 'cause-size' => array('title' => __('Cause Size', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('1/4' => '1/4', '1/3' => '1/3', '1/2' => '1/2', '1/1' => '1/1'), 'default' => '1/3', 'wrapper-class' => 'cause-style-wrapper grid-wrapper'), 'cause-layout' => array('title' => __('Cause Layout', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('fitRows' => __('FitRows ( Order items by row )', 'gdlr-cause'), 'masonry' => __('Masonry ( Order items by spaces )', 'gdlr-cause'), 'carousel' => __('Carousel ( Only For Grid And Modern Style )', 'gdlr-cause')), 'wrapper-class' => 'cause-style-wrapper grid-wrapper', 'description' => __('You can see an example of these two layout here', 'gdlr-cause') . '<br><br> http://isotope.metafizzy.co/demos/layout-modes.html'), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-cause'), 'type' => 'text', 'default' => '8', 'description' => __('Specify the number of causes you want to pull out.', 'gdlr-cause')), 'num-excerpt' => array('title' => __('Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '15', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt. <strong>Use 0 to hide the excerpt, -1 to show full posts and use the wordpress more tag</strong>.', 'gdlr-cause')), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-cause'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr-cause')), 'orderby' => array('title' => __('Order By', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('date' => __('Publish Date', 'gdlr-cause'), 'title' => __('Title', 'gdlr-cause'), 'rand' => __('Random', 'gdlr-cause'), 'nearly' => __('Almost Complete Cause', 'gdlr-cause'), 'finish' => __('Complete Funding Cause', 'gdlr-cause'))), 'order' => array('title' => __('Order', 'gdlr-cause'), 'type' => 'combobox', 'options' => array('desc' => __('Descending Order', 'gdlr-cause'), 'asc' => __('Ascending Order', 'gdlr-cause'))), 'pagination' => array('title' => __('Enable Pagination', 'gdlr-cause'), 'type' => 'checkbox'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-cause'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-cause'))));
     $page_builder['content-item']['options']['urgent-cause'] = array('title' => __('Urgent Cause', 'gdlr-cause'), 'type' => 'item', 'options' => array('title' => array('title' => __('Title', 'gdlr-cause'), 'type' => 'text', 'default' => __('Urgent Cause', 'gdlr-cause')), 'cause' => array('title' => __('Select Cause', 'gdlr-cause'), 'type' => 'combobox', 'options' => gdlr_get_post_list('cause')), 'num-excerpt' => array('title' => __('Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '40', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt.', 'gdlr-cause')), 'min-height' => array('title' => __('Min Height (Pixel)', 'gdlr-cause'), 'type' => 'text', 'default' => ''), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-cause'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-cause'))));
     return $page_builder;
 }
开发者ID:TheHiddenHaku,项目名称:fuzzy-waddle,代码行数:8,代码来源:gdlr-cause-option.php


示例3: gdlr_register_portfolio_admin_option

 function gdlr_register_portfolio_admin_option($array)
 {
     if (empty($array['general']['options'])) {
         return $array;
     }
     $portfolio_option = array('title' => __('Portfolio Style', 'gdlr_translate'), 'options' => array('portfolio-slug' => array('title' => __('Portfolio Slug ( Permalink )', 'gdlr_translate'), 'type' => 'text', 'default' => 'portfolio', 'description' => __('Only <strong>a-z (lower case), hyphen and underscore</strong> is allowed here <br><br>', 'gdlr_translate') . __('After changing, you have to set the permalink at the setting > permalink to default (to reset the permalink rules) as well.', 'gdlr_translate')), 'portfolio-category-slug' => array('title' => __('Portfolio Category Slug ( Permalink )', 'gdlr_translate'), 'type' => 'text', 'default' => 'portfolio_category'), 'portfolio-tag-slug' => array('title' => __('Portfolio Tag Slug ( Permalink )', 'gdlr_translate'), 'type' => 'text', 'default' => 'portfolio_tag'), 'portfolio-comment' => array('title' => __('Enable Comment On Portfolio', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'disable'), 'portfolio-related' => array('title' => __('Enable Related Portfolio', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'enable'), 'portfolio-page-style' => array('title' => __('Portfolio Page Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('style1' => __('Portfolio Style 1', 'gdlr_translate'), 'style2' => __('Portfolio Style 2', 'gdlr_translate'), 'blog-style' => __('Blog Style', 'gdlr_translate'))), 'portfolio-thumbnail-size' => array('title' => __('Single Portfolio Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'post-thumbnail-size'), 'related-portfolio-style' => array('title' => __('Related Portfolio Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('classic-portfolio' => __('Portfolio Classic Style', 'gdlr_translate'), 'modern-portfolio' => __('Portfolio Modern Style', 'gdlr_translate'))), 'related-portfolio-size' => array('title' => __('Related Portfolio Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('2' => __('1/2', 'gdlr_translate'), '3' => __('1/3', 'gdlr_translate'), '4' => __('1/4', 'gdlr_translate'), '5' => __('1/5', 'gdlr_translate')), 'default' => '4'), 'related-portfolio-num-fetch' => array('title' => __('Related Portfolio Num Fetch', 'gdlr_translate'), 'type' => 'text', 'default' => '4'), 'related-portfolio-num-excerpt' => array('title' => __('Related Portfolio Num Excerpt', 'gdlr_translate'), 'type' => 'text', 'default' => '25'), 'related-portfolio-thumbnail-size' => array('title' => __('Related Portfolio Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'small-grid-size')));
     $array['general']['options']['portfolio-style'] = $portfolio_option;
     return $array;
 }
开发者ID:hoa32811,项目名称:wp_thanhtrung_hotel,代码行数:9,代码来源:gdlr-plugin-option.php


示例4: gdlr_register_post_admin_option

 function gdlr_register_post_admin_option($array)
 {
     if (empty($array['general']['options'])) {
         return $array;
     }
     global $gdlr_sidebar_controller;
     $post_option = array('title' => __('Blog Style', 'gdlr_translate'), 'options' => array('post-title' => array('title' => __('Default Post Title', 'gdlr_translate'), 'type' => 'text', 'default' => 'Single Blog Title'), 'post-caption' => array('title' => __('Default Post Caption', 'gdlr_translate'), 'type' => 'textarea', 'default' => 'This is a single blog caption'), 'post-thumbnail-size' => array('title' => __('Single Post Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'post-thumbnail-size'), 'post-meta-data' => array('title' => __('Disable Post Meta Data', 'gdlr_translate'), 'type' => 'multi-combobox', 'options' => array('date' => 'Date', 'tag' => 'Tag', 'category' => 'Category', 'comment' => 'Comment', 'author' => 'Author'), 'description' => __('Select this to remove the meta data out of the post.<br><br>', 'gdlr_translate') . __('You can use Ctrl/Command button to select multiple option or remove the selected option.', 'gdlr_translate')), 'single-post-author' => array('title' => __('Enable Single Post Author', 'gdlr_translate'), 'type' => 'checkbox'), 'post-sidebar-template' => array('title' => __('Default Post Sidebar', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('no-sidebar' => GDLR_PATH . '/include/images/no-sidebar.png', 'both-sidebar' => GDLR_PATH . '/include/images/both-sidebar.png', 'right-sidebar' => GDLR_PATH . '/include/images/right-sidebar.png', 'left-sidebar' => GDLR_PATH . '/include/images/left-sidebar.png'), 'default' => 'right-sidebar'), 'post-sidebar-left' => array('title' => __('Default Post Sidebar Left', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'left-sidebar-wrapper both-sidebar-wrapper post-sidebar-template-wrapper'), 'post-sidebar-right' => array('title' => __('Default Post Sidebar Right', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'right-sidebar-wrapper both-sidebar-wrapper post-sidebar-template-wrapper')));
     $array['general']['options']['blog-style'] = $post_option;
     return $array;
 }
开发者ID:TheHiddenHaku,项目名称:fuzzy-waddle,代码行数:10,代码来源:gdlr-post-options.php


示例5: gdlr_register_cause_admin_option

 function gdlr_register_cause_admin_option($array)
 {
     global $gdlr_sidebar_controller;
     if (empty($array['general']['options'])) {
         return $array;
     }
     $cause_option = array('title' => __('Cause Style', 'gdlr_translate'), 'options' => array('cause-slug' => array('title' => __('Cause Slug ( Permalink )', 'gdlr_translate'), 'type' => 'text', 'default' => 'cause', 'description' => __('Only <strong>a-z (lower case), hyphen and underscore</strong> is allowed here <br><br>', 'gdlr_translate') . __('After changing, you have to set the permalink at the setting > permalink to default (to reset the permalink rules) as well.', 'gdlr_translate')), 'cause-category-slug' => array('title' => __('Cause Category Slug ( Permalink )', 'gdlr_translate'), 'type' => 'text', 'default' => 'cause_category'), 'cause-thumbnail-size' => array('title' => __('Single Cause Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'post-thumbnail-size'), 'cause-recipient-name' => array('title' => __('Recipient Name (Appear in sending mail)', 'gdlr_translate'), 'type' => 'text', 'default' => 'ORGANIZATION NAME'), 'cause-donation-form' => array('title' => __('Default Donation Form', 'gdlr_translate'), 'type' => 'textarea', 'default' => '[gdlr_paypal user="[email protected]"]', 'description' => __('You may put the recipient\'s paypal account here.', 'gdlr_translate')), 'cause-money-format' => array('title' => __('Cause Money Format', 'gdlr_translate'), 'type' => 'text', 'default' => '$NUMBER'), 'cause-sidebar-template' => array('title' => __('Default Post Sidebar', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('no-sidebar' => GDLR_PATH . '/include/images/no-sidebar.png', 'both-sidebar' => GDLR_PATH . '/include/images/both-sidebar.png', 'right-sidebar' => GDLR_PATH . '/include/images/right-sidebar.png', 'left-sidebar' => GDLR_PATH . '/include/images/left-sidebar.png'), 'default' => 'right-sidebar'), 'cause-sidebar-left' => array('title' => __('Default Post Sidebar Left', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'left-sidebar-wrapper both-sidebar-wrapper cause-sidebar-template-wrapper'), 'cause-sidebar-right' => array('title' => __('Default Post Sidebar Right', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'right-sidebar-wrapper both-sidebar-wrapper cause-sidebar-template-wrapper')));
     $array['general']['options']['cause-style'] = $cause_option;
     return $array;
 }
开发者ID:TheHiddenHaku,项目名称:fuzzy-waddle,代码行数:10,代码来源:gdlr-plugin-option.php


示例6: gdlr_register_instructor_item

function gdlr_register_instructor_item($page_builder = array())
{
    if (!function_exists('gdlr_page_builder_title_option')) {
        function gdlr_page_builder_title_option()
        {
            return array();
        }
    }
    global $gdlr_spaces;
    $page_builder['content-item']['options']['instructor'] = array('title' => __('Instructor', 'gdlr-lms'), 'type' => 'item', 'options' => array_merge(gdlr_page_builder_title_option(true), array('instructor-type' => array('title' => __('Instructor Type', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('single' => __('Single Instructor', 'gdlr-lms'), 'multiple' => __('Instructor List', 'gdlr-lms'))), 'user' => array('title' => __('Select User', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_lms_get_user_list(), 'wrapper-class' => 'instructor-type-wrapper single-wrapper'), 'role' => array('title' => __('Role', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_lms_get_role_list(), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'instructor-style' => array('title' => __('Instructor Style', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('grid' => __('Grid Style', 'gdlr-lms'), 'grid-2' => __('Grid 2nd Style', 'gdlr-lms'))), 'num-fetch' => array('title' => __('Num Fetch', 'gdlr-lms'), 'type' => 'text', 'default' => '8', 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper', 'description' => __('Specify the number of instructor you want to pull out.', 'gdlr-lms')), 'num-excerpt' => array('title' => __('Num Excerpt', 'gdlr-lms'), 'type' => 'text', 'default' => '20'), 'instructor-size' => array('title' => __('Instructor Size', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('4' => '1/4', '3' => '1/3', '2' => '1/2', '1' => '1/1'), 'default' => '3', 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr-lms'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list()), 'orderby' => array('title' => __('Order By', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('display_name' => __('Display Name', 'gdlr-lms'), 'ID' => __('ID', 'gdlr-lms'), 'post_count' => __('Post Count', 'gdlr-lms')), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'order' => array('title' => __('Order', 'gdlr-lms'), 'type' => 'combobox', 'options' => array('asc' => __('Ascending Order', 'gdlr-lms'), 'desc' => __('Descending Order', 'gdlr-lms')), 'wrapper-class' => 'instructor-type-wrapper multiple-wrapper'), 'margin-bottom' => array('title' => __('Margin Bottom', 'gdlr-lms'), 'type' => 'text', 'default' => $gdlr_spaces['bottom-blog-item'], 'description' => __('Spaces after ending of this item', 'gdlr-lms')))));
    return $page_builder;
}
开发者ID:AnduZhang,项目名称:resource-center,代码行数:12,代码来源:gdlr-theme-sync.php


示例7: gdlr_create_admin_option

    function gdlr_create_admin_option()
    {
        global $theme_option, $gdlr_sidebar_controller;
        new gdlr_admin_option(array('page_title' => THEME_FULL_NAME . ' ' . __('Option', 'gdlr_translate'), 'menu_title' => THEME_FULL_NAME, 'menu_slug' => THEME_SLUG, 'save_option' => THEME_SHORT_NAME . '_admin_option', 'role' => 'edit_theme_options'), apply_filters('gdlr_admin_option', array('general' => array('title' => __('General', 'gdlr_translate'), 'icon' => GDLR_PATH . '/include/images/icon-general.png', 'options' => array('page-style' => array('title' => __('Page Style', 'gdlr_translate'), 'options' => array('enable-boxed-style' => array('title' => __('Container Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('full-style' => __('Full Style', 'gdlr_translate'), 'boxed-style' => __('Boxed Style', 'gdlr_translate'))), 'boxed-background-image' => array('title' => __('Background Image', 'gdlr_translate'), 'type' => 'upload', 'wrapper-class' => 'enable-boxed-style-wrapper boxed-style-wrapper'), 'container-width' => array('title' => __('Container Width', 'gdlr_translate'), 'type' => 'text', 'default' => '1140', 'data-type' => 'pixel', 'selector' => 'html.ltie9 body, body{ min-width: #gdlr#; } .container{ max-width: #gdlr#; } ' . '.gdlr-caption-wrapper .gdlr-caption-inner{ max-width: #gdlr#; }'), 'boxed-style-frame' => array('title' => __('Boxed Style Frame Width', 'gdlr_translate'), 'type' => 'text', 'data-type' => 'pixel', 'default' => '1220', 'selector' => '.body-wrapper.gdlr-boxed-style{ max-width: #gdlr#; overflow: hidden; } ' . '.body-wrapper.gdlr-boxed-style .gdlr-header-wrapper{ max-width: #gdlr#; margin: 0px auto; }', 'description' => __('Default value is container width + 80', 'gdlr_translate')), 'enable-responsive-mode' => array('title' => __('Enable Responsive', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'enable'), 'sidebar-size' => array('title' => __('Sidebar Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('2' => __('16 Percent', 'gdlr_translate'), '3' => __('25 Percent', 'gdlr_translate'), '4' => __('33 Percent', 'gdlr_translate'), '5' => __('41 Percent', 'gdlr_translate'), '6' => __('50 Percent', 'gdlr_translate')), 'default' => '4', 'descripton' => '1 column equals to around 80px'), 'both-sidebar-size' => array('title' => __('Both Sidebar Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('3' => __('25 Percent', 'gdlr_translate'), '4' => __('33 Percent', 'gdlr_translate')), 'default' => '3', 'descripton' => '1 column equals to around 80px'), 'date-format' => array('title' => __('Date Format', 'gdlr_translate'), 'type' => 'text', 'default' => 'd M Y', 'description' => __('See more details about the date format here. http://codex.wordpress.org/Formatting_Date_and_Time', 'gdlr_translate')), 'video-ratio' => array('title' => __('Default Video Ratio', 'gdlr_translate'), 'type' => 'text', 'default' => '16/9', 'description' => __('Please only fill number/number as default video ratio', 'gdlr_translate')), 'additional-style' => array('title' => __('Additional Style', 'gdlr_translate'), 'type' => 'textarea', 'class' => 'full-width'), 'additional-script' => array('title' => __('Additional Script ( no &lt;script> tag ) ', 'gdlr_translate'), 'type' => 'textarea', 'class' => 'full-width'))), 'analytics-favicon' => array('title' => __('Analytics / Favicon', 'gdlr_translate'), 'options' => array('favicon-id' => array('title' => __('Upload Favicon ( .ico file )', 'gdlr_translate'), 'button' => __('Select Icon', 'gdlr_translate'), 'type' => 'upload'), 'google-analytics' => array('title' => __('Analytic Script ( with the &lt;script> tag )', 'gdlr_translate'), 'type' => 'textarea', 'class' => 'full-width'))), 'blog-style' => array(), 'portfolio-style' => array(), 'search-archive-style' => array('title' => __('Search - Archive Style', 'gdlr_translate'), 'options' => array('archive-sidebar-template' => array('title' => __('Search - Archive Sidebar Template', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('no-sidebar' => GDLR_PATH . '/include/images/no-sidebar.png', 'both-sidebar' => GDLR_PATH . '/include/images/both-sidebar.png', 'right-sidebar' => GDLR_PATH . '/include/images/right-sidebar.png', 'left-sidebar' => GDLR_PATH . '/include/images/left-sidebar.png'), 'default' => 'no-sidebar'), 'archive-sidebar-left' => array('title' => __('Search - Archive Sidebar Left', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'left-sidebar-wrapper both-sidebar-wrapper archive-sidebar-template-wrapper'), 'archive-sidebar-right' => array('title' => __('Search - Archive Sidebar Right', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'right-sidebar-wrapper both-sidebar-wrapper archive-sidebar-template-wrapper'), 'archive-blog-style' => array('title' => __('Search - Archive Blog Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('blog-1-4' => '1/4 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-3' => '1/3 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-2' => '1/2 ' . __('Blog Grid', 'gdlr_translate'), 'blog-1-1' => '1/1 ' . __('Blog Grid', 'gdlr_translate'), 'blog-medium' => __('Blog Medium', 'gdlr_translate'), 'blog-full' => __('Blog Full', 'gdlr_translate')), 'default' => 'blog-1-3'), 'archive-num-excerpt' => array('title' => __('Search - Archive Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '25', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt. <strong>Use 0 to hide the excerpt, -1 to show full posts and use the wordpress more tag</strong>.', 'gdlr_translate')), 'archive-thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'small-grid-size', 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr_translate')), 'archive-portfolio-style' => array('title' => __('Archive Portfolio Style', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('classic-portfolio' => __('Portfolio Classic Style', 'gdlr_translate'), 'modern-portfolio' => __('Portfolio Modern Style', 'gdlr_translate'))), 'archive-portfolio-size' => array('title' => __('Portfolio Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1/4' => '1/4', '1/3' => '1/3', '1/2' => '1/2', '1/1' => '1/1'), 'default' => '1/3', 'wrapper-class' => 'classic-portfolio-wrapper modern-portfolio-wrapper archive-portfolio-style-wrapper'), 'archive-portfolio-num-excerpt' => array('title' => __('Portfolio Num Excerpt (Word)', 'gdlr_translate'), 'type' => 'text', 'default' => '25', 'wrapper-class' => 'classic-portfolio-wrapper archive-portfolio-style-wrapper', 'description' => __('This is a number of word (decided by spaces) that you want to show on the post excerpt. <strong>Use 0 to hide the excerpt, -1 to show full posts and use the wordpress more tag</strong>.', 'gdlr_translate')), 'archive-portfolio-thumbnail-size' => array('title' => __('Thumbnail Size', 'gdlr_translate'), 'type' => 'combobox', 'options' => gdlr_get_thumbnail_list(), 'default' => 'small-grid-size', 'description' => __('Only effects to <strong>standard and gallery post format</strong>', 'gdlr_translate')))), 'woocommerce-style' => array('title' => __('Woocommerce Style', 'gdlr_translate'), 'options' => array('all-products-per-row' => array('title' => __('Products Per Row', 'gdlr_translate'), 'type' => 'combobox', 'options' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'), 'default' => '3'), 'all-products-sidebar' => array('title' => __('All Products Sidebar', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('no-sidebar' => GDLR_PATH . '/include/images/no-sidebar.png', 'both-sidebar' => GDLR_PATH . '/include/images/both-sidebar.png', 'right-sidebar' => GDLR_PATH . '/include/images/right-sidebar.png', 'left-sidebar' => GDLR_PATH . '/include/images/left-sidebar.png'), 'default' => 'no-sidebar'), 'all-products-sidebar-left' => array('title' => __('All Products Sidebar Left', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'left-sidebar-wrapper both-sidebar-wrapper all-products-sidebar-wrapper'), 'all-products-sidebar-right' => array('title' => __('All Products Sidebar Right', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'right-sidebar-wrapper both-sidebar-wrapper all-products-sidebar-wrapper'), 'single-products-sidebar' => array('title' => __('Single Products Sidebar', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('no-sidebar' => GDLR_PATH . '/include/images/no-sidebar.png', 'both-sidebar' => GDLR_PATH . '/include/images/both-sidebar.png', 'right-sidebar' => GDLR_PATH . '/include/images/right-sidebar.png', 'left-sidebar' => GDLR_PATH . '/include/images/left-sidebar.png'), 'default' => 'no-sidebar'), 'single-products-sidebar-left' => array('title' => __('Single Products Sidebar Left', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'left-sidebar-wrapper both-sidebar-wrapper single-products-sidebar-wrapper'), 'single-products-sidebar-right' => array('title' => __('Single products Sidebar Right', 'gdlr_translate'), 'type' => 'combobox', 'options' => $gdlr_sidebar_controller->get_sidebar_array(), 'wrapper-class' => 'right-sidebar-wrapper both-sidebar-wrapper single-products-sidebar-wrapper'))), 'footer-style' => array('title' => __('Footer - Copyright Style', 'gdlr_translate'), 'options' => array('show-footer' => array('title' => __('Show Footer', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'enable'), 'footer-layout' => array('title' => __('Footer Layout', 'gdlr_translate'), 'type' => 'radioimage', 'options' => array('1' => GDLR_PATH . '/include/images/footer-style1.png', '2' => GDLR_PATH . '/include/images/footer-style2.png', '3' => GDLR_PATH . '/include/images/footer-style3.png', '4' => GDLR_PATH . '/include/images/footer-style4.png', '5' => GDLR_PATH . '/include/images/footer-style5.png', '6' => GDLR_PATH . '/include/images/footer-style6.png'), 'default' => '2'), 'show-copyright' => array('title' => __('Show Copyright', 'gdlr_translate'), 'type' => 'checkbox', 'default' => 'enable'))), 'import-export-option' => array('title' => __('Import/Export Option', 'gdlr_translate'), 'options' => array('export-option' => array('title' => __('Export Option', 'gdlr_translate'), 'type' => 'custom', 'option' => '<input type="button" id="gdlr-export" class="gdl-button" value="' . __('Export', 'gdlr_translate') . '" />' . '<textarea class="full-width"></textarea>'), 'import-option' => array('title' => __('Import Option', 'gdlr_translate'), 'type' => 'custom', 'option' => '<input type="button" id="gdlr-import" class="gdl-button" value="' . __('Import', 'gdlr_translate') . '" />' . '<textarea class="full-width"></textarea>'))))), 'overall-elements' => array('title' => __('Overall Elements', 'gdlr_translate'), 'icon' => GDLR_PATH . '/include/images/icon-overall-elements.png', 'options' => array('top-bar' => array('title' => __('Top Bar', 'gdlr_translate'), 'options' => array('enable-top-bar' => array('title' => __('Enable Top Bar', 'gdlr_translate'), 'type' => 'checkbox'), 'top-bar-right-text' => array('title' => __('Top Bar Left Text', 'gdlr_translate'), 'type' => 'textarea'))), 'header-logo' => array('title' => __('Header - Logo', 'gdlr_translate'), 'options' => array('enable-float-menu' => array('title' => __('Enable Float Menu', 'gdlr_translate'), 'type' => 'checkbox'), 'logo-id' => array('title' => __('Upload Logo', 'gdlr_translate'), 'button' => __('Set As Logo', 'gdlr_translate'), 'type' => 'upload'), 'logo-max-width' => array('title' => __('Logo Width', 'gdlr_translate'), 'type' => 'text', 'default' => '320', 'data-type' => 'pixel', 'selector' => '.gdlr-logo{ max-width: #gdlr#; }', 'description' => __('You may upload 2x size image and limit the logo width for retina display', 'gdlr_translate')), 'logo-top-margin' => array('title' => __('Logo Top Margin', 'gdlr_translate'), 'type' => 'text', 'default' => '32', 'selector' => '.gdlr-logo{ margin-top: #gdlr#; }', 'data-type' => 'pixel'), 'logo-bottom-margin' => array('title' => __('Logo Bottom Margin', 'gdlr_translate'), 'type' => 'text', 'default' => '37', 'selector' => '.gdlr-logo{ margin-bottom: #gdlr#; }', 'data-type' => 'pixel'), 'navigation-top-margin' => array('title' => __('Navigation Top Margin', 'gdlr_translate'), 'type' => 'text', 'default' => '42', 'selector' => '.gdlr-navigation-wrapper{ margin-top: #gdlr#; }', 'data-type' => 'pixel'))), 'page-title-background' => array('title' => __('Page Title Background', 'gdlr_translate'), 'options' => array('default-page-title' => array('title' => __('Default Page Title Background', 'gdlr_translate'), 'type' => 'upload', 'selector' => '.gdlr-page-title-wrapper { background-image: url(\'#gdlr#\'); }', 'data-type' => 'upload'), 'default-post-title-background' => array('title' => __('Default Post Title Background', 'gdlr_translate'), 'type' => 'upload', 'selector' => 'body.single .gdlr-page-title-wrapper { background-image: url(\'#gdlr#\'); }', 'data-type' => 'upload'), 'default-portfolio-title-background' => array('title' => __('Default Portfolio Title Background', 'gdlr_translate'), 'type' => 'upload', 'selector' => 'body.single-portfolio .gdlr-page-title-wrapper { background-image: url(\'#gdlr#\'); }', 'data-type' => 'upload'), 'default-search-archive-title-background' => array('title' => __('Default Search Archive Title Background', 'gdlr_translate'), 'type' => 'upload', 'selector' => 'body.archive .gdlr-page-title-wrapper, body.search .gdlr-page-title-wrapper { background-image: url(\'#gdlr#\'); }', 'data-type' => 'upload'), 'default-404-title-background' => array('title' => __('Default 404 Title Background', 'gdlr_translate'), 'type' => 'upload', 'selector' => 'body.error404 .gdlr-page-title-wrapper { background-image: url(\'#gdlr#\'); }', 'data-type' => 'upload'))), 'header-social' => array(), 'social-shares' => array(), 'copyright' => array('title' => __('Copyright', 'gdlr_translate'), 'options' => array('copyright-left-text' => array('title' => __('Copyright Left Text', 'gdlr_translate'), 'type' => 'textarea', 'class' => 'full-width'), 'copyright-right-text' => array('title' => __('Copyright Right Text', 'gdlr_translate'), 'type' => 'textarea', 'class' => 'full-width'))))), 'font-settings' => array('title' => __('Font Setting', 'gdlr_translate'), 'icon' => GDLR_PATH . '/include/images/icon-font-settings.png', 'options' => array('font-family' => array(), 'font-size' => array('title' => __('Font Size', 'gdlr_translate'), 'options' => array('content-font-size' => array('title' => __('Content Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '14', 'selector' => 'body{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h1-font-size' => array('title' => __('H1 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '30', 'selector' => 'h1{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h2-font-size' => array('title' => __('H2 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '25', 'selector' => 'h2{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h3-font-size' => array('title' => __('H3 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '20', 'selector' => 'h3{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h4-font-size' => array('title' => __('H4 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '18', 'selector' => 'h4{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h5-font-size' => array('title' => __('H5 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '16', 'selector' => 'h5{ font-size: #gdlr#; }', 'data-type' => 'pixel'), 'h6-font-size' => array('title' => __('H6 Size', 'gdlr_translate'), 'type' => 'sliderbar', 'default' => '15', 'selector' => 'h6{ font-size: #gdlr#; }', 'data-type' => 'pixel'))), 'upload-font' => array('title' => __('Upload Font', 'gdlr_translate'), 'options' => array('upload-font' => array('type' => 'uploadfont'))))), 'elements-color' => array('title' => __('Elements Color', 'gdlr_translate'), 'icon' => GDLR_PATH . '/include/images/icon-elements-color.png', 'options' => array('skin-settings' => array('title' => __('Cutom Skin', 'gdlr_translate'), 'options' => array('skin-settings' => array('title' => __('Skin Settings', 'gdlr_translate'), 'type' => 'skin-settings', 'options' => array('title' => __('Title Color', 'gdlr_translate'), 'title-hover' => __('Title (Link) Hover Color', 'gdlr_translate'), 'info' => __('Caption / Info Color', 'gdlr_translate'), 'link' => __('Link Color', 'gdlr_translate'), 'link-hover' => __('Link Hover Color', 'gdlr_translate'), 'element-background' => __('Element Background', 'gdlr_translate'), 'content' => __('Content Color', 'gdlr_translate'), 'icon' => __('Icon Color', 'gdlr_translate'), 'border' => __('Border Color', 'gdlr_translate'), 'button-text' => __('Button Text Color', 'gdlr_translate'), 'button-background' => __('Button Background Color', 'gdlr_translate'))))), 'top-bar-color' => array('title' => __('Top Bar / Header Bg', 'gdlr_translate'), 'options' => array('top-bar-text-color' => array('title' => __('Top Bar Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#bababa', 'selector' => '.top-navigation-wrapper{ color: #gdlr#; }'), 'top-bar-link-color' => array('title' => __('Top Bar Link', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#bababa', 'selector' => '.top-navigation-wrapper a{ color: #gdlr#; }'), 'top-bar-bottom-border' => array('title' => __('Top Bar Bottom Border', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#eeeeee', 'selector' => '.top-navigation-wrapper{ border-color: #gdlr#; }'), 'header-background-color' => array('title' => __('Header Background Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-header-inner, ' . '.header-style-transparent .gdlr-fixed-header .gdlr-header-inner{ background-color: #gdlr#; }' . '@media only screen and (max-width: 767px) { .body-wrapper.header-style-transparent .gdlr-header-inner{ background-color: #gdlr#; } }'), 'main-navigation-text' => array('title' => __('Main Navigation Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#7f7f7f', 'selector' => '.gdlr-main-menu > li > a, ' . '.header-style-transparent .gdlr-fixed-header .gdlr-header-inner .gdlr-main-menu > li > a{ color: #gdlr#; }'), 'float-navigation-bottom-border' => array('title' => __('Float Menu Bottom Border', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f5f5f5', 'selector' => '.gdlr-fixed-header{ border-bottom: 2px solid #gdlr#; }'), 'main-navigation-text-hover' => array('title' => __('Main Navigation Text Hover/Current', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#555555', 'selector' => '.gdlr-main-menu > li:hover > a, .gdlr-main-menu > li.current-menu-item > a, ' . '.gdlr-main-menu > li.current-menu-ancestor > a, .gdlr-nav-search-form-button i, ' . '.header-style-transparent .gdlr-fixed-header .gdlr-header-inner .gdlr-main-menu > li:hover > a, ' . '.header-style-transparent .gdlr-fixed-header .gdlr-header-inner .gdlr-main-menu > li.current-menu-item > a, ' . '.header-style-transparent .gdlr-fixed-header .gdlr-header-inner .gdlr-main-menu > li.current-menu-ancestor > a{ color: #gdlr#; opacity: 1; filter: alpha(opacity=100); }'), 'menu-search-background' => array('title' => __('Menu Search Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f5f5f5', 'selector' => '.gdlr-nav-search-form{ background-color: #gdlr#; }'), 'menu-search-text' => array('title' => __('Menu Search Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#a2a2a2', 'selector' => '.gdlr-nav-search-form i, .gdlr-nav-search-form input[type="text"]{ color: #gdlr#; }'))), 'main-navigation-color' => array('title' => __('Main Menu / Search', 'gdlr_translate'), 'options' => array('sub-menu-top-border' => array('title' => __('Sub Menu Top Border', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#1c1c1c', 'selector' => '.gdlr-main-menu > .gdlr-normal-menu .sub-menu, .gdlr-main-menu > .gdlr-mega-menu ' . '.sf-mega{ border-top-color: #gdlr#; }'), 'sub-menu-background' => array('title' => __('Sub Menu Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#1f1f1f', 'selector' => '.gdlr-main-menu > .gdlr-normal-menu li , .gdlr-main-menu > .gdlr-mega-menu .sf-mega{ background-color: #gdlr#; }'), 'sub-menu-text' => array('title' => __('Sub Menu Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#bebebe', 'selector' => '.gdlr-main-menu > li > .sub-menu a, .gdlr-main-menu > li > .sf-mega a{ color: #gdlr#; }'), 'sub-menu-text-hover' => array('title' => __('Sub Menu Text Hover/Current', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-main-menu > li > .sub-menu a:hover, .gdlr-main-menu > li > .sub-menu .current-menu-item > a, ' . '.gdlr-main-menu > li > .sub-menu .current-menu-ancestor > a, .gdlr-main-menu > li > .sf-mega a:hover, ' . '.gdlr-main-menu > li > .sf-mega .current-menu-item > a, .gdlr-main-menu > li > .sf-mega .current-menu-ancestor > a{ color: #gdlr#; } ' . '.gdlr-main-menu .gdlr-normal-menu li > a.sf-with-ul:after { border-left-color: #gdlr#; } '), 'sub-mega-menu-text-hover' => array('title' => __('Sub Mega Menu Background Hover', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#232323', 'selector' => '.gdlr-main-menu .sf-mega-section-inner > ul > li > a:hover, ' . '.gdlr-main-menu .sf-mega-section-inner > ul > li.current-menu-item > a { background-color: #gdlr#; } '), 'sub-menu-divider' => array('title' => __('Sub Menu Divider', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#333333', 'selector' => '.gdlr-main-menu > li > .sub-menu *, .gdlr-main-menu > li > .sf-mega *{ border-color: #gdlr#; }'), 'sub-menu-mega-title' => array('title' => __('Sub (Mega) Menu Title', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-main-menu > li > .sf-mega .sf-mega-section-inner > a { color: #gdlr#; }'), 'sub-menu-mega-title-hover' => array('title' => __('Sub (Mega) Menu Title Hover/Current', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-main-menu > li > .sf-mega .sf-mega-section-inner > a:hover, ' . '.gdlr-main-menu > li > .sf-mega .sf-mega-section-inner.current-menu-item > a, ' . '.gdlr-main-menu > li > .sf-mega .sf-mega-section-inner.current-menu-ancestor > a { color: #gdlr#; }'), 'mobile-menu-background' => array('title' => __('Mobile Menu Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#353535', 'selector' => '#gdlr-responsive-navigation.dl-menuwrapper button { background-color: #gdlr#; }'), 'mobile-menu-background-hover' => array('title' => __('Mobile Menu Background Hover', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#0a0a0a', 'selector' => '#gdlr-responsive-navigation.dl-menuwrapper button:hover, ' . '#gdlr-responsive-navigation.dl-menuwrapper button.dl-active, ' . '#gdlr-responsive-navigation.dl-menuwrapper ul{ background-color: #gdlr#; }'))), 'body-color' => array('title' => __('Body', 'gdlr_translate'), 'options' => array('body-background' => array('title' => __('Body Background ( for boxed style )', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#dddddd', 'selector' => 'body{ background-color: #gdlr#; }'), 'container-backgrond' => array('title' => __('Container Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.body-wrapper, .gdlr-single-lightbox-container{ background-color: #gdlr#; }'), 'page-title-color' => array('title' => __('Page Title Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-page-title, .gdlr-page-title-gimmick{ color: #gdlr#; }'), 'page-caption-color' => array('title' => __('Page Caption Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.gdlr-page-caption{ color: #gdlr#; }'), 'heading-color' => array('title' => __('Heading Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#454545', 'selector' => 'h1, h2, h3, h4, h5, h6, .gdlr-title, .gdlr-title a{ color: #gdlr#; }'), 'item-title-color' => array('title' => __('Item Title Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#292929', 'selector' => '.gdlr-item-title-wrapper .gdlr-item-title{ color: #gdlr#; border-color: #gdlr#; }'), 'item-title-line' => array('title' => __('Item Title Divider', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#333333', 'selector' => '.gdlr-item-title-divider{ border-color: #gdlr#; }'), 'item-title-caption-color' => array('title' => __('Item Title Caption Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#9b9b9b', 'selector' => '.gdlr-item-title-wrapper .gdlr-item-caption{ color: #gdlr#; }'), 'body-text-color' => array('title' => __('Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#a4a4a4', 'selector' => 'body{ color: #gdlr#; }'), 'body-link-color' => array('title' => __('Link Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#72d5cd', 'selector' => 'a{ color: #gdlr#; }'), 'body-link-hover-color' => array('title' => __('Link Hover Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#82d6cc', 'selector' => 'a:hover{ color: #gdlr#; }'), 'border-color' => array('title' => __('Border Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#e9e9e9', 'selector' => 'body *{ border-color: #gdlr#; }'), '404-box-background' => array('title' => __('404 Box Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#d65938', 'selector' => '.page-not-found-block{ background-color: #gdlr#; }'), '404-box-text' => array('title' => __('404 Box Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.page-not-found-block{ color: #gdlr#; }'), '404-search-background' => array('title' => __('404 Search Box Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#963a20', 'selector' => '.page-not-found-search  .gdl-search-form input[type="text"]{ background-color: #gdlr#; }'), '404-search-text' => array('title' => __('404 Search Box Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#d57f5c', 'selector' => '.page-not-found-search  .gdl-search-form input[type="text"]{ color: #gdlr#; }'))), 'sidebar-color' => array('title' => __('Sidebar Color', 'gdlr_translate'), 'options' => array('sidebar-title-color' => array('title' => __('Sidebar Title Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#383838', 'selector' => '.gdlr-sidebar .gdlr-widget-title{ color: #gdlr#; }'), 'sidebar-border-color' => array('title' => __('Sidebar Border Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#eeeeee', 'selector' => '.gdlr-sidebar *{ border-color: #gdlr#; }'), 'sidebar-list-circle' => array('title' => __('Sidebar List Circle', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#bdbdbd', 'selector' => '.gdlr-sidebar ul li:before { border-color: #gdlr#; }'), 'search-form-background' => array('title' => __('Search Form Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#f7f7f7', 'selector' => '.gdl-search-form input{ background-color: #gdlr#; }'), 'search-form-text-color' => array('title' => __('Search Form Text Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#9d9d9d', 'selector' => '.gdl-search-form input{ color: #gdlr#; }'), 'search-form-border-color' => array('title' => __('Search Form Border Color', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ebebeb', 'selector' => '.gdl-search-form input{ border-color: #gdlr#; }'), 'tag-cloud-background' => array('title' => __('Tagcloud Background', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#72d5cd', 'selector' => '.tagcloud a{ background-color: #gdlr#; }'), 'tag-cloud-text' => array('title' => __('Tagcloud Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#ffffff', 'selector' => '.tagcloud a, .tagcloud a:hover{ color: #gdlr#; }'))), 'content-item-1' => array('title' => __('Content Elements', 'gdlr_translate'), 'options' => array('accordion-text' => array('title' => __('Accordion (Style 1) Title Text', 'gdlr_translate'), 'type' => 'colorpicker', 'default' => '#3c3c3c', 'selector' => '.gdlr-accordion-item.style-1 .pre-active .accordion-title{ color: #gdlr#; }'), 'accordion-title-active-col 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP gdo_db函数代码示例发布时间:2022-05-15
下一篇:
PHP gdlr_get_term_list函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap