当前位置: 首页>>代码示例>>PHP>>正文


PHP td_global::header_style_list方法代码示例

本文整理汇总了PHP中td_global::header_style_list方法的典型用法代码示例。如果您正苦于以下问题:PHP td_global::header_style_list方法的具体用法?PHP td_global::header_style_list怎么用?PHP td_global::header_style_list使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在td_global的用法示例。


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

示例1: array

 /**
  * setup the global theme specific variables
  * @depends td_global
  */
 static function td_global_after()
 {
     /**
      * we need the post list array to be in this format for fast lookup in single.php via the array key
      * the array is used in the theme via the @see td_panel_generator::helper_td_global_list_to_panel_values converter
      *
      * 'plugin_id' => array(
      * 'text' => 'Single template 1',
      * 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-1.png'
      * 'file' => 'this is the full path if we define the template form a tagDiv plugin'
      * ),
      *
      */
     td_global::$post_templates_list = array('' => array('text' => 'Default', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/post-templates-icons-0.png'), 'single_template_1' => array('text' => 'Single ... //#注:代码行过长, 已省略后续字符...
     td_global::$smart_lists = array('' => array('text' => 'Default', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/post-templates/smart-list-0.png'), 'td_smart_list_1' => array('text' => 'Smart list 1', 'img' => ge ... //#注:代码行过长, 已省略后续字符...
     // array (module_id => array(module_properties))
     td_global::$modules_list = array('td_module_1' => array('text' => 'Module 1', 'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-1.png', 'used_on_blocks' => array('td_block_3'), 'excerpt_title' => 12, ' ... //#注:代码行过长, 已省略后续字符...
     //print_r(td_global::$post_templates_list);
     td_global::$js_files = array_merge(td_global::$js_files, array('td_main' => '/includes/js_files/td_main.js'));
     /** add our theme specific javascript files, we just marge them to the existing ones from wp booster @see td_global */
     /**
      * the thumbs used by the theme
      * Thumb id => array parameters. Wp booster only cuts if the option is set from theme panel
      */
     td_global::$thumbs_list = array(array('name' => 'td_0x420', 'width' => 0, 'height' => 420, 'crop' => array('center', 'top'), 'used_on' => array('tagDiv Image Gallery')), array('name' => 'td_80x60', 'width' => 80, 'height' => 60, 'crop' => arr ... //#注:代码行过长, 已省略后续字符...
     td_global::$header_style_list = array('' => array('text' => '<strong>Style 1 - </strong> default'), '2' => array('text' => '<strong>Style 2 - </strong> logo on colored box'), '3' => array('text' => '<strong>Style 3 - </strong> full top menu') ... //#注:代码行过长, 已省略后续字符...
     td_global::$blocks_map_list = array('td_block_1' => array("name" => 'Block 1', "base" => 'td_block_1', "class" => 'td_block_1', "controls" => "full", "category" => 'Blocks', 'icon' => 'icon-pagebuilder-td_block_1', "params" => array_merge(td_ ... //#注:代码行过长, 已省略后续字符...
     if (is_admin()) {
         /**
          * the stacks are stored in /includes/stacks
          * stack_filename (without .txt) => stack_name
          * @var array
          */
         td_global::$stacks_list = array('classic_blog' => 'Classic blog', 'fashion' => 'Fashion', 'sport' => 'Sport', 'tech' => 'Tech', 'video' => 'Video');
     }
 }
开发者ID:vikasjain1595,项目名称:wordpresstheme,代码行数:40,代码来源:td_config.php


注:本文中的td_global::header_style_list方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。