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


PHP td_panel_generator类代码示例

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


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

示例1: __construct

 function __construct($post = '')
 {
     //big sections in witch the td_fonts::$typography_sections are nested
     $td_section_separator_array = array(0 => 'Header', 8 => 'Modules and Blocks General', 15 => 'Modules and Blocks Article Title', 41 => 'Post title', 50 => 'Post content', 60 => 'Post elements', 75 => 'Pages', 83 => 'Footer', 86 => 'Other', 95 => 'Body', 96 => 'bbPress - Forum');
     echo td_panel_generator::ajax_box('Header', array('start_section' => 0, 'end_section' => 7, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Modules and Blocks General', array('start_section' => 8, 'end_section' => 14, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Modules and Blocks Article Title', array('start_section' => 15, 'end_section' => 40, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Post title', array('start_section' => 41, 'end_section' => 49, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Post content', array('start_section' => 50, 'end_section' => 59, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Post elements', array('start_section' => 60, 'end_section' => 74, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Pages', array('start_section' => 75, 'end_section' => 82, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Footer', array('start_section' => 83, 'end_section' => 85, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Other', array('start_section' => 86, 'end_section' => 94, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('Body', array('start_section' => 95, 'end_section' => 95, 'td_ajax_view' => 'td_theme_fonts'));
     echo td_panel_generator::ajax_box('bbPress - Forum', array('start_section' => 96, 'end_section' => 1000, 'td_ajax_view' => 'td_theme_fonts'));
 }
开发者ID:vikasjain1595,项目名称:wordpresstheme,代码行数:16,代码来源:panel_theme_fonts.php

示例2: thumbs_panel

    static function thumbs_panel()
    {
        ob_start();
        ?>

        <div class="td-box-row">
            <div class="td-box-description td-box-full">
                <span class="td-box-title">More information:</span>
                <p>From here you can enable the thumbnail image that will be cropped for the modules &amp; blocks. If the thumbnail image is not enabled for a specific module that you use, the module will show a default placeholder with the size of the image and instructions about how to enable the thumb for that module</p>
                <p><strong style="color:red">Please regenerate your thumbnails if you change any of the thumb settings!</strong> - <a href="http://forum.tagdiv.com/existing-content/" target="_blank">read more</a></p>
            </div>
            <div class="td-box-row-margin-bottom"></div>
        </div>


        <?php 
        foreach (td_global::$thumbs_list as $thumb) {
            ?>
            <!-- THUMB -->
            <div class="td-box-row">
                <div class="td-box-description">
                    <span class="td-box-title"><?php 
            echo $thumb['width'] . ' x ' . $thumb['height'];
            ?>
</span>
                    <p>This thumb size is used for:</p>
                    <?php 
            echo "<ul><li>" . implode("</li><li>", $thumb['used_on']) . "</li></ul>";
            ?>
                </div>
                <div class="td-box-control-full">
                    <?php 
            echo td_panel_generator::checkbox(array('ds' => 'td_option', 'option_id' => 'tds_thumb_' . $thumb['name'], 'true_value' => 'yes', 'false_value' => ''));
            ?>
                </div>
            </div>
        <?php 
        }
        return ob_get_clean();
    }
开发者ID:vikasjain1595,项目名称:wordpresstheme,代码行数:40,代码来源:td_block_settings_ajax.php

示例3: render_inputs

    function render_inputs()
    {
        //creating the inputs
        foreach ($this->global_translations_array as $key_id => $value) {
            ?>
            <div class="td-box-row">
                <div class="td-box-description">
                    <span class="td-box-title td-title-on-row"><?php 
            echo $key_id;
            ?>
</span>
                    <p></p>
                </div>
                <div class="td-box-control-full">
                    <?php 
            echo td_panel_generator::input(array('ds' => 'td_translate', 'option_id' => $key_id));
            ?>
                </div>
            </div>

            <?php 
        }
    }
开发者ID:Vatia13,项目名称:wordpress,代码行数:23,代码来源:panel_translations.php

示例4:

        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_page_title_color', 'default_color' => '#111111'));
?>
    </div>
</div>

<!-- Page content -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">页面文字颜色</span>
        <p>选择页面文字颜色</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_page_content_color', 'default_color' => '#444444'));
?>
    </div>
</div>

<!-- Page content h -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">页面 H1, H2, H3, H4, H5, H6 颜色</span>
        <p>选择页面 h 颜色</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_page_h_color', 'default_color' => '#111111'));
?>
    </div>
</div>
开发者ID:ryandong82,项目名称:colorfulladysite,代码行数:31,代码来源:td_pages.php

示例5:

        ?>


        <?php 
        if (!empty($td_module_array['excerpt_content'])) {
            ?>
            <!-- CONTENT LENGTH LENGTH -->
            <div class="td-box-row">
                <div class="td-box-description">
                    <span class=" td-box-title td-title-on-row">CONTENT LENGTH</span>
                    <p></p>
                </div>
                <div class="td-box-control-full">
                    <?php 
            echo td_panel_generator::input(array('ds' => 'td_option', 'option_id' => $td_module_class . '_content_excerpt', 'placeholder' => $td_module_array['excerpt_content']));
            ?>
                </div>
            </div>
        <?php 
        }
        ?>


        <?php 
        echo td_panel_generator::box_end();
    }
}
?>


开发者ID:tuanlibra,项目名称:thptxuanang,代码行数:28,代码来源:td_panel_excerpts.php

示例6: get_category_link

                    $td_tmp_buffer = '<a href="' . get_category_link($parent_cat_obj->term_id) . '" target="_blank" data-is-category-link="yes">' . $parent_cat_obj->name . '</a>';
                    $last_cat_id = $parent_cat_obj->term_id;
                } else {
                    if ($this->td_category_hierarchy[$contor_array - 1]->term_id == $parent_cat_obj->parent) {
                        $td_tmp_buffer .= '<img src="' . get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/panel-breadcrumb.png" class="td-panel-breadcrumb"/>' . '<a href="' . get_category_link($parent_cat_obj->term_id) . '" target="_blank" data-is-category-link="yes">' . $parent_cat_obj->name . '</a>';
                        $last_cat_id = $parent_cat_obj->term_id;
                    }
                }
                $contor_array++;
            }
            //add child
            $this->td_category_buffer[$td_tmp_buffer] = $last_cat_id;
        }
    }
    function end_el(&$output, $page, $depth = 0, $args = array())
    {
    }
}
// get all the categories
$categories = get_categories(array('hide_empty' => 0, 'number' => 1000));
// 'walk' all the categories
$td_category_walker_panel = new td_category_walker_panel();
$td_category_walker_panel->walk($categories, 4);
// add each category panel
foreach ($td_category_walker_panel->td_category_buffer as $display_category_name => $category_id) {
    ?>
	<!-- LAYOUT SETTINGS -->
	<?php 
    echo td_panel_generator::ajax_box($display_category_name, array('td_ajax_calling_file' => basename(__FILE__), 'td_ajax_box_id' => 'td_get_category_section_by_id', 'category_id' => $category_id));
}
//end foreach
开发者ID:tuanlibra,项目名称:thptxuanang,代码行数:31,代码来源:td_panel_categories.php

示例7: foreach

                    }
                }
                break;
            case 'enabled_on_more_articles_box':
                // all modules that are enabled on the more articles box
                foreach (td_api_module::get_all() as $module_class => $module_array) {
                    if ($module_array['enabled_on_more_articles_box'] === true) {
                        $modules_array[] = array('text' => '', 'title' => '', 'val' => td_util::get_module_loop_id($module_class), 'img' => $module_array['img']);
                    }
                }
                break;
        }
        return $modules_array;
    }
    static function helper_generate_used_on_block_list($used_on_block_list_array)
    {
        if (is_array($used_on_block_list_array) and count($used_on_block_list_array)) {
            $excerpt_list = '<span class="td-excerpt-arrow"></span>';
            foreach ($used_on_block_list_array as $block_list => $block_list_val) {
                $excerpt_list .= ' <span>' . $block_list_val . '</span>';
            }
            return $excerpt_list;
        }
        return '';
    }
    static function helper_generate_header_style_list()
    {
    }
}
td_panel_generator::init_class();
开发者ID:Che234,项目名称:quant-desarrollo,代码行数:30,代码来源:td_panel_generator.php

示例8: foreach

                    }
                }
                break;
            case 'enabled_on_more_articles_box':
                // all modules that are enabled on the more articles box
                foreach (td_api_module::get_all() as $module_class => $module_array) {
                    if ($module_array['enabled_on_more_articles_box'] === true) {
                        $modules_array[] = array('text' => '', 'title' => '', 'val' => td_util::get_module_loop_id($module_class), 'img' => $module_array['img']);
                    }
                }
                break;
        }
        return $modules_array;
    }
    static function helper_generate_used_on_block_list($used_on_block_list_array)
    {
        if (is_array($used_on_block_list_array) and count($used_on_block_list_array)) {
            $excerpt_list = '<span class="td-excerpt-arrow"></span>';
            foreach ($used_on_block_list_array as $block_list => $block_list_val) {
                $excerpt_list .= ' <span class="td-box-title-label">' . $block_list_val . '</span>';
            }
            return $excerpt_list;
        }
        return '';
    }
    static function helper_generate_header_style_list()
    {
    }
}
td_panel_generator::init();
开发者ID:tuanlibra,项目名称:thptxuanang,代码行数:30,代码来源:td_panel_generator.php

示例9:

        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_post_content_color', 'default_color' => '#444444'));
?>
    </div>
</div>

<!-- Post h color -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">POST H1, H2, H3, H4, H5, H6 COLOR</span>
        <p>Select in post h color</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_post_h_color', 'default_color' => '#222222'));
?>
    </div>
</div>

<!-- Post blockquote color -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">POST BLOCKQUOTE COLOR</span>
        <p>Select in post blockquote color</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_post_blockquote_color', 'default_color' => ''));
?>
    </div>
</div>
开发者ID:luxifel,项目名称:Bionerd,代码行数:31,代码来源:td_posts.php

示例10:

        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_menu_color', 'default_color' => ''));
?>
    </div>
</div>

<!-- Submenu Hover color -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">ACTIVE & HOVER COLOR</span>
        <p>Select the active and hover color for menu and submenu</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_submenu_hover_color', 'default_color' => ''));
?>
    </div>
</div>

<!-- Menu text color -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">MENU TEXT COLOR</span>
        <p>Select menu text color</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_menu_text_color', 'default_color' => '#000000'));
?>
    </div>
</div>
开发者ID:weerapat,项目名称:wp-daily,代码行数:31,代码来源:td_main_menu.php

示例11:

        <div class="td-meta-box-row">
            <span class="td-page-o-custom-label">
                Layout:
                <?php 
td_util::tooltip_html('
                        <h3>Layout select:</h3>
                        <p>Select a custom module to be used in the loop of this page.</p>
                        <ul>
                            <li>If you want to make you own modules, please go to our <a href="http://forum.tagdiv.com/api-modules-introduction/" target="_blank">API section</a> of the documentation</li>
                        </ul>
                    ', 'right');
?>
            </span>
                <div class="td-page-o-visual-select-modules">
                    <?php 
echo td_panel_generator::visual_select_o(array('ds' => 'td_homepage_loop', 'item_id' => '', 'option_id' => 'td_layout', 'values' => td_panel_generator::helper_display_modules('default+enabled_on_loops'), 'selected_value' => $mb->get_the_value('td_layout')));
?>
                </div>
        </div>

        <!-- show or hide the title -->
        <div class="td-meta-box-row">
            <?php 
$mb->the_field('list_custom_title_show');
?>
            <span class="td-page-o-custom-label">
                Show list title:
                <?php 
td_util::tooltip_html('
                        <h3>Show the list title:</h3>
                        <p>Hide or show the loop title. It can be something like "Latest articles" etc.</p>
开发者ID:Che234,项目名称:andreatelo,代码行数:31,代码来源:td_set_page_with_loop.php

示例12:

                        <p>How to make an item:</p>
                        <ul>
                            <li><strong>add a text wrapped in H3</strong> - this will be the title of the item</li>
                            <li><strong>add any picture</strong> from the media library</li>
                            <li>in a new paragraph below the picture, <strong>add some text</strong></li>
                            <li><i>repeat the last 3 steps for each item that you want to add</i></li>
                        </ul>

                        <p>The system will use the H3 from the tiles to split your article and make each individual slide or numbered item</p>
                    ', 'right');
?>
                </span>

                <div class="td-inline-block-wrap">
                    <?php 
echo td_panel_generator::visual_select_o(array('ds' => 'td_post_theme_settings', 'item_id' => '', 'option_id' => 'smart_list_template', 'values' => td_api_smart_list::_helper_td_smart_list_api_to_panel_values(), 'selected_value' => $mb->get_the_value('smart_list_template')));
?>
                </div>
            </div>


            <!-- title tag -->
            <div class="td-meta-box-row">
                <span class="td-page-o-custom-label">
                    Title tags:
                    <?php 
td_util::tooltip_html('
                        <h3>Smart lists title tags:</h3>
                        <p>Customize what tag is used for <i>Title</i> lookup. This setting is useful if for example, you already have articles that use H2 for items</p>
                    ', 'right');
?>
开发者ID:Che234,项目名称:quant-desarrollo,代码行数:31,代码来源:td_set_post_settings.php

示例13:

        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_top_menu_text_hover_color', 'default_color' => ''));
?>
    </div>
</div>

<!-- SOCIAL ICONS COLOR -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">SOCIAL ICONS COLOR</span>
        <p>Select social icons color</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_top_social_icons_color', 'default_color' => ''));
?>
    </div>
</div>

<!-- SOCIAL ICONS HOVER COLOR -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title td-title-on-row">SOCIAL ICONS HOVER COLOR</span>
        <p>Select social icons hover color</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::color_picker(array('ds' => 'td_option', 'option_id' => 'tds_top_social_icons_hover_color', 'default_color' => ''));
?>
    </div>
</div>
开发者ID:tuanlibra,项目名称:thptxuanang,代码行数:31,代码来源:td_top_menu.php

示例14: render_categories_form

    /**
     * render the categories forms
     */
    static function render_categories_form()
    {
        //get all categories from database
        $categories = get_categories(array('hide_empty' => 0));
        $td_category_walker_panel = new td_category_walker_panel();
        $td_category_walker_panel->walk($categories, 4);
        //print_r($rawalker->td_category_buffer);
        //die;
        //get_categories(array('hide_empty' => 0));//wordpress way
        $categories = td_util::get_category2id_array(false);
        //our function
        foreach ($td_category_walker_panel->td_category_buffer as $display_category_name => $category_id) {
            ?>
            <!-- LAYOUT SETTINGS -->
            <?php 
            echo td_panel_generator::box_start($display_category_name, false);
            ?>

                <!-- DISPLAY VIEW -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">ARTICLE DISPLAY VIEW</span>
                        <p>Select a module type, this is how your article list will be displayed</p>
                    </div>
                    <div class="td-box-control-full td-panel-module">
                        <?php 
            echo td_panel_generator::visual_select_o(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_layout', 'values' => array(array('text' => '', 'title' => '', 'val' => '', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-default.png'), array('text' => '', 'title' => '', 'val' => '1', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-1.png'), array('text' => '', 'title' => '', 'val' => '2', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-2.png'), array('text' => '', 'title' => '', 'val' => '3', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-3.png'), array('text' => '', 'title' => '', 'val' => '4', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-4.png'), array('text' => '', 'title' => '', 'val' => '5', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-5.png'), array('text' => '', 'title' => '', 'val' => '6', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-6.png'), array('text' => '', 'title' => '', 'val' => '7', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-7.png'), array('text' => '', 'title' => '', 'val' => '8', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-8.png'), array('text' => '', 'title' => '', 'val' => '9', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-9.png'), array('text' => '', 'title' => '', 'val' => 'search', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/module-10.png'))));
            ?>
                    </div>
                </div>

                <!-- Custom Sidebar + position -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">CUSTOM SIDEBAR + POSITION</span>
                        <p>Sidebar position and custom sidebars</p>
                    </div>
                    <div class="td-box-control-full td-panel-sidebar-pos">
                        <div class="td-display-inline-block">
                            <?php 
            echo td_panel_generator::visual_select_o(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_sidebar_pos', 'values' => array(array('text' => '', 'title' => '', 'val' => '', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/sidebar-default.png'), array('text' => '', 'title' => '', 'val' => 'sidebar_left', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/sidebar-left.png'), array('text' => '', 'title' => '', 'val' => 'no_sidebar', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/sidebar-full.png'), array('text' => '', 'title' => '', 'val' => 'sidebar_right', 'img' => get_template_directory_uri() . '/wp-admin/images/panel/sidebar-right.png'))));
            ?>
                            <div class="td-panel-control-comment td-text-align-right">Select sidebar position</div>
                        </div>
                        <div class="td-display-inline-block td_sidebars_pulldown_align">
                            <?php 
            echo td_panel_generator::sidebar_pulldown(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_sidebar_name'));
            ?>
                            <div class="td-panel-control-comment td-text-align-right">Create or select an existing sidebar</div>
                        </div>
                    </div>
                </div>

                <!-- Show Featured slider -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">SHOW FEATURED SLIDER</span>
                        <p>Enable or disable the featured slider (only posts that are in the Featured category are showed in slider)</p>
                    </div>
                    <div class="td-box-control-full">
                        <?php 
            echo td_panel_generator::checkbox(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_slider', 'true_value' => '', 'false_value' => 'yes'));
            ?>
                    </div>
                </div>

                <!-- Category color -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">CATEGORY TAG COLOR ON POST PAGE</span>
                        <p>Pick a color for this category tag on post page</p>
                    </div>
                    <div class="td-box-control-full">
                        <?php 
            echo td_panel_generator::color_piker(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_color', 'default_color' => ''));
            ?>
                    </div>
                </div>

                <!-- BACKGROUND UPLOAD -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">BACKGROUND UPLOAD</span>
                        <p>Upload your logo (300 x 100px) .png</p>
                    </div>
                    <div class="td-box-control-full">
                        <?php 
            echo td_panel_generator::upload_image(array('ds' => 'td_category', 'item_id' => $category_id, 'option_id' => 'tdc_image'));
            ?>
                    </div>
                </div>

                <!-- BACKGROUND STYLE -->
                <div class="td-box-row">
                    <div class="td-box-description">
                        <span class="td-box-title">BACKGROUND STYLE</span>
                        <p>How the background will be dispalyed</p>
//.........这里部分代码省略.........
开发者ID:Vatia13,项目名称:wordpress,代码行数:101,代码来源:panel_categories.php

示例15: __td



<div class="td-box-section-separator"></div>

<!-- tag spot: select taxonomy -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">tag spot taxonomy</span>
        <p>What taxonomy should show up in the tag spot</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::dropdown(array('ds' => 'td_cpt', 'item_id' => $custom_post_type, 'option_id' => 'tds_tag_spot_taxonomy', 'values' => $td_registered_taxonomies));
?>
    </div>
</div>

<!-- tag spot: text -->
<div class="td-box-row">
    <div class="td-box-description">
        <span class="td-box-title">tag spot text</span>
        <p>If you are using custom taxonomies, you can replace the default TAG label</p>
    </div>
    <div class="td-box-control-full">
        <?php 
echo td_panel_generator::input(array('ds' => 'td_cpt', 'item_id' => $custom_post_type, 'option_id' => 'tds_tag_spot_text', 'placeholder' => __td('TAGS')));
?>
    </div>
</div>

开发者ID:luxifel,项目名称:Bionerd,代码行数:27,代码来源:td_get_cpt_settings_by_post_type.php


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