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


PHP td_global::demo_list方法代码示例

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


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

示例1: array


//.........这里部分代码省略.........
        td_api_footer_template::add('td_footer_template_3', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-3.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_4', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-4.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_5', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-5.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_6', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-6.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_7', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-7.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_8', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-8.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_9', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-9.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_10', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-10.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_11', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-11.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_12', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-12.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        /**
         * set the custom css fields for the panel @see td_panel_custom_css.php
         * and also for the wp_footer hook @see td_bottom_code()
         */
        td_global::$theme_panel_custom_css_fields_list = array('tds_responsive_css_desktop' => array('text' => 'DESKTOP', 'description' => '1141px +', 'media_query' => '@media (min-width: 1141px)', 'img' => td_global::$get_template_directory_uri . ... //#注:代码行过长, 已省略后续字符...
        /**
         * The typography settings for the panel and css compiler
         */
        td_global::$typography_settings_list = array('Header' => array('top_menu' => array('text' => 'Top Menu', 'type' => 'default'), 'top_sub_menu' => array('text' => 'Top Sub-Menu', 'type' => 'default'), 'main_menu' => array('text' => 'Main Men ... //#注:代码行过长, 已省略后续字符...
        // end td_global::$typography_settings_list
        /**
         * the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
         */
        td_global::$default_google_fonts_list = array('438' => array('css_style_id' => 'google_font_open_sans', 'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700'), '521' = ... //#注:代码行过长, 已省略后续字符...
        if (is_admin()) {
            /*
             * the list with custom texts of the theme
             */
            td_global::$td_wp_admin_text_list = array('text_featured_video' => '
	                <div class="td-wpa-info">Paste a link from Vimeo or Youtube, it will be embedded in the post and the thumb used as the featured image of this post. <br/>You need to choose <strong>Video Format</strong> from above to use Featured V ... //#注:代码行过长, 已省略后续字符...
	                <div class="td-wpa-info"><strong>Notice:</strong> Use only with those post templates:
	                    <ul>
	                        <li>Post style default</li>
	                        <li>Post style 1</li>
	                        <li>Post style 2</li>
	                        <li>Post style 9</li>
	                        <li>Post style 10</li>
	                        <li>Post style 11</li>
	                    </ul>
	                </div>', 'text_header_logo' => 'Text logo for header Style 9, Style 10 and Style 11:', 'text_header_logo_description' => 'The text logo is used only by Style 9, Style 10 and Style 11 - full menu + text logo. The other header style ... //#注:代码行过长, 已省略后续字符...
                <ul>
                    <li>[tagDiv] Trending now</li>
                </ul>
                ');
            /**
             * the tiny mce image style list
             */
            td_global::$tiny_mce_image_style_list = array();
            /**
             * the tiny mce styles
             */
            td_api_tinymce_formats::add('td_tinymce_item_1', array('title' => 'Text padding'));
            td_api_tinymce_formats::add('td_tinymce_item_1_1', array('parent_id' => 'td_tinymce_item_1', 'title' => 'text ⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-0', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_2', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢ text', 'block' => 'div', 'classes' => 'td-paragraph-padding-4', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_3', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢ text ⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-1', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_4', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢ text ⇠⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-3', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_5', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢⇢ text ⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-6', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_6', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢⇢ text ⇠⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-2', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_1_7', array('parent_id' => 'td_tinymce_item_1', 'title' => '⇢⇢⇢ text ⇠⇠⇠', 'block' => 'div', 'classes' => 'td-paragraph-padding-5', 'wrapper' => true));
            td_api_tinymce_formats::add('td_tinymce_item_2', array('title' => 'Text scroll effects'));
            td_api_tinymce_formats::add('td_tinymce_item_2_1', array('parent_id' => 'td_tinymce_item_2', 'title' => 'Fade in gray background', 'selector' => 'p, h3, blockquote', 'classes' => 'td-scroll-e-text-1 td-scroll-effect', 'icon' => 'td-tes ... //#注:代码行过长, 已省略后续字符...
            td_api_tinymce_formats::add('td_tinymce_item_2_2', array('parent_id' => 'td_tinymce_item_2', 'title' => 'Fade in text color border', 'selector' => 'p, h3, blockquote', 'classes' => 'td-scroll-e-text-2 td-scroll-effect', 'icon' => 'td-t ... //#注:代码行过长, 已省略后续字符...
            td_api_tinymce_formats::add('td_tinymce_item_3', array('title' => 'Arrow list', 'selector' => 'ul', 'classes' => 'td-arrow-list'));
            td_api_tinymce_formats::add('td_blockquote', array('title' => 'Quotes'));
            td_api_tinymce_formats::add('td_blockquote_1', array('parent_id' => 'td_blockquote', 'title' => 'Quote left', 'block' => 'blockquote', 'classes' => 'td_quote td_quote_left', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_2', array('parent_id' => 'td_blockquote', 'title' => 'Quote right', 'block' => 'blockquote', 'classes' => 'td_quote td_quote_right', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_3', array('parent_id' => 'td_blockquote', 'title' => 'Quote box center', 'block' => 'blockquote', 'classes' => 'td_quote_box td_box_center', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_4', array('parent_id' => 'td_blockquote', 'title' => 'Quote box left', 'block' => 'blockquote', 'classes' => 'td_quote_box td_box_left', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_5', array('parent_id' => 'td_blockquote', 'title' => 'Quote box right', 'block' => 'blockquote', 'classes' => 'td_quote_box td_box_right', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_6', array('parent_id' => 'td_blockquote', 'title' => 'Pull quote center', 'block' => 'blockquote', 'classes' => 'td_pull_quote td_pull_center', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_7', array('parent_id' => 'td_blockquote', 'title' => 'Pull quote left', 'block' => 'blockquote', 'classes' => 'td_pull_quote td_pull_left', 'wrapper' => true));
            td_api_tinymce_formats::add('td_blockquote_8', array('parent_id' => 'td_blockquote', 'title' => 'Pull quote right', 'block' => 'blockquote', 'classes' => 'td_pull_quote td_pull_right', 'wrapper' => true));
            // two columns text
            td_api_tinymce_formats::add('td_text_columns', array('title' => 'Text columns'));
            td_api_tinymce_formats::add('td_text_columns_0', array('parent_id' => 'td_text_columns', 'title' => 'two columns', 'block' => 'div', 'classes' => 'td_text_columns_two_cols', 'wrapper' => true));
            // dropcap
            td_api_tinymce_formats::add('td_dropcap', array('title' => 'Dropcaps'));
            td_api_tinymce_formats::add('td_dropcap_0', array('parent_id' => 'td_dropcap', 'title' => 'Box', 'classes' => 'dropcap', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_dropcap_1', array('parent_id' => 'td_dropcap', 'title' => 'Circle', 'classes' => 'dropcap dropcap1', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_dropcap_2', array('parent_id' => 'td_dropcap', 'title' => 'Regular', 'classes' => 'dropcap dropcap2', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_dropcap_3', array('parent_id' => 'td_dropcap', 'title' => 'Bold', 'classes' => 'dropcap dropcap3', 'inline' => 'span'));
            // highlighter
            td_api_tinymce_formats::add('td_text_highlight', array('title' => 'Text highlighting'));
            td_api_tinymce_formats::add('td_text_highlight_0', array('parent_id' => 'td_text_highlight', 'title' => 'Black censured', 'classes' => 'td_text_highlight_0', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_text_highlight_red', array('parent_id' => 'td_text_highlight', 'title' => 'Red marker', 'classes' => 'td_text_highlight_marker_red td_text_highlight_marker', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_text_highlight_blue', array('parent_id' => 'td_text_highlight', 'title' => 'Blue marker', 'classes' => 'td_text_highlight_marker_blue td_text_highlight_marker', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_text_highlight_green', array('parent_id' => 'td_text_highlight', 'title' => 'Green marker', 'classes' => 'td_text_highlight_marker_green td_text_highlight_marker', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_text_highlight_yellow', array('parent_id' => 'td_text_highlight', 'title' => 'Yellow marker', 'classes' => 'td_text_highlight_marker_yellow td_text_highlight_marker', 'inline' => 'span'));
            td_api_tinymce_formats::add('td_text_highlight_pink', array('parent_id' => 'td_text_highlight', 'title' => 'Pink marker', 'classes' => 'td_text_highlight_marker_pink td_text_highlight_marker', 'inline' => 'span'));
            // clear elements
            td_api_tinymce_formats::add('td_clear_elements', array('title' => 'Clear element', 'selector' => 'a,p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img,code,blockquote', 'styles' => array('clear' => 'both')));
            td_global::$theme_plugins_list = array(array('name' => 'Visual Composer', 'slug' => 'js_composer', 'source' => td_global::$get_template_directory_uri . '/includes/plugins/js_composer.zip', 'required' => true, 'version' => '', 'force_ac ... //#注:代码行过长, 已省略后续字符...
            /**
             * the stacks are stored in /includes/stacks
             * stack_filename (without .txt) => stack_name
             * @var array
             */
            td_global::$demo_list = array('default' => array('text' => 'Default demo', 'folder' => td_global::$get_template_directory . '/includes/demos/default/', 'img' => td_global::$get_template_directory_uri . '/includes/demos/default/screensh ... //#注:代码行过长, 已省略后续字符...
        }
    }
开发者ID:tuanlibra,项目名称:thptxuanang,代码行数:101,代码来源:td_config.php

示例2: array


//.........这里部分代码省略.........
         * the td_api_footer
         */
        td_api_footer_template::add('td_footer_template_1', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-1.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_2', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-2.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_3', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-3.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_4', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-4.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_5', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-5.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_6', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-6.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_7', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-7.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_8', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-8.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_9', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-9.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templat ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_10', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-10.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_11', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-11.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        td_api_footer_template::add('td_footer_template_12', array('img' => td_global::$get_template_directory_uri . '/images/panel/footer_templates/icon-footer-12.png', 'file' => td_global::$get_template_directory . '/parts/footer/td_footer_templ ... //#注:代码行过长, 已省略后续字符...
        /**
         * set the custom css fields for the panel @see td_panel_custom_css.php
         * and also for the wp_footer hook @see td_bottom_code()
         */
        td_global::$theme_panel_custom_css_fields_list = array('tds_responsive_css_desktop' => array('text' => '桌面', 'description' => '1141px +', 'media_query' => '@media (min-width: 1141px)', 'img' => td_global::$get_template_directory_uri . '/in ... //#注:代码行过长, 已省略后续字符...
        /**
         * The typography settings for the panel and css compiler
         */
        td_global::$typography_settings_list = array('页眉' => array('top_menu' => array('text' => '顶部菜单', 'type' => 'default'), 'top_sub_menu' => array('text' => '顶部子菜单', 'type' => 'default'), 'main_menu' => array('text' => '主菜单', 'type' => 'defaul ... //#注:代码行过长, 已省略后续字符...
        // end td_global::$typography_settings_list
        /**
         * the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
         */
        td_global::$default_google_fonts_list = array('438' => array('css_style_id' => 'google_font_open_sans', 'url' => td_global::$http_or_https . '://fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700'), '521' => arr ... //#注:代码行过长, 已省略后续字符...
        /**
         * the stacks are stored in /includes/stacks
         * stack_filename (without .txt) => stack_name
         * @var array
         */
        td_global::$demo_list = array('default' => array('text' => '默认演示', 'folder' => td_global::$get_template_directory . '/includes/demos/default/', 'img' => td_global::$get_template_directory_uri . '/includes/demos/default/screenshot.png', 'de ... //#注:代码行过长, 已省略后续字符...
        if (is_admin()) {
            /**
             * generate the theme panel
             */
            td_global::$all_theme_panels_list = array('theme_panel' => array('title' => TD_THEME_NAME . ' - 主题面板', 'subtitle' => '版本: ' . TD_THEME_VERSION, 'panels' => array('td-panel-header' => array('text' => '页眉', 'ico_class' => 'td-ico-header' ... //#注:代码行过长, 已省略后续字符...
            /*
             * the list with custom texts of the theme
             */
            td_global::$td_wp_admin_text_list = array('text_featured_video' => '
	                <div class="td-wpa-info">从Vimeo或Youtube粘贴一个链接,它将嵌入到文章,且缩略用于此文章特色图像。<br/>你需要从上面使用精选视频选择<strong>视频格式</strong></div>
	                <div class="td-wpa-info"><strong>注意:</strong>仅用于这些文章模板:
	                    <ul>
	                        <li>文章风格模板</li>
	                        <li>文章风格 1</li>
	                        <li>文章风格 2</li>
	                        <li>文章风格 9</li>
	                        <li>文章风格 10</li>
	                        <li>文章风格 11</li>
	                    </ul>
	                </div>', 'text_header_logo' => '页眉风格9、风格10和风格11文字logo:', 'text_header_logo_description' => '文字LOGO仅用于风格9、风格10和风格11 - 完整菜单 + 文字LOGO。其它页眉风格仅使用图片', 'text_header_logo_mobile' => '风格 4, 风格 5, 风格 6, 风格 7, 风格 8 或 风格 12', 'text_header_log ... //#注:代码行过长, 已省略后续字符...
                <ul>
                    <li>[tagDiv] 现在趋势</li>
                </ul>
                ');
            /**
             * the tiny mce image style list
             */
            td_global::$tiny_mce_image_style_list = array();
            /**
             * the tiny mce styles
             */
            td_api_tinymce_formats::add('td_tinymce_item_1', array('title' => '文字填充'));
开发者ID:ryandong82,项目名称:colorfulladysite,代码行数:67,代码来源:td_config.php


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