本文整理汇总了PHP中evolve_get_option函数的典型用法代码示例。如果您正苦于以下问题:PHP evolve_get_option函数的具体用法?PHP evolve_get_option怎么用?PHP evolve_get_option使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了evolve_get_option函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: get_header
<?php
get_header();
$evolve_layout = evolve_get_option('evl_layout', '2cl');
$evolve_post_layout = evolve_get_option('evl_post_layout', 'two');
if (evolve_lets_get_sidebar_2() == true) {
get_sidebar('2');
}
?>
<div id="primary" class="<?php
evolve_layout_class($type = 2);
?>
">
<?php
if (have_posts()) {
the_post();
?>
<div id="post-<?php
the_ID();
?>
" <?php
post_class();
?>
>
<span class="entry-title" style="display: none;"><?php
the_title();
?>
</span>
开发者ID:Typikall,项目名称:memotsix,代码行数:31,代码来源:bbpress.php
示例2: VerifyCaptcha
public function VerifyCaptcha($response)
{
$response = isset($_POST['g-recaptcha-response']) ? esc_attr($_POST['g-recaptcha-response']) : '';
$remote_ip = $_SERVER["REMOTE_ADDR"];
$secret = evolve_get_option('evl_recaptcha_private', '');
$request = wp_remote_get('https://www.google.com/recaptcha/api/siteverify?secret=' . $secret . '&response=' . $response . '&remoteip=' . $remote_ip);
$response_body = wp_remote_retrieve_body($request);
$res = json_decode($response_body, TRUE);
if ($res['success'] == 'true') {
return TRUE;
} else {
return FALSE;
}
}
开发者ID:migumuno,项目名称:obesity,代码行数:14,代码来源:functions.php
示例3: the_author_posts_link
?>
">
<span class="vcard" style="display: none;"><span class="fn"><?php
the_author_posts_link();
?>
</span></span>
<span class="updated" style="display: none;"><?php
the_time('c');
?>
</span>
<?php
if (has_post_thumbnail()) {
?>
<div class="image" aria-haspopup="true">
<?php
$evl_portfolio_rollover = evolve_get_option('evl_portfolio_rollover');
if ($evl_portfolio_rollover == 0) {
?>
<a href="<?php
echo $permalink;
?>
"><?php
the_post_thumbnail('full');
?>
</a>
<?php
} else {
?>
<a href="<?php
echo $permalink;
?>
开发者ID:berniecultess,项目名称:infirev,代码行数:31,代码来源:portfolio-one-column.php
示例4: evolve_get_option
<?php
/* Widgetized Area */
if (is_single() || is_page() || is_404() || is_search() || is_bbpress()) {
if (is_bbpress()) {
if (evolve_get_option('evl_bbpress_global_sidebar') == 1) {
$sidebar = evolve_get_option('evl_ppbress_sidebar');
generated_dynamic_sidebar($sidebar);
} else {
generated_dynamic_sidebar();
}
} else {
generated_dynamic_sidebar();
}
} elseif (is_archive() || is_author()) {
$blog_archive_sidebar = evolve_get_option('evl_blog_archive_sidebar', 'None');
if ($blog_archive_sidebar != '0' && function_exists('dynamic_sidebar')) {
generated_dynamic_sidebar($blog_archive_sidebar);
}
} elseif (is_home()) {
$name = get_post_meta(get_option('page_for_posts'), 'sbg_selected_sidebar_replacement', true);
if ($name) {
generated_dynamic_sidebar($name[0]);
} else {
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-1')) {
}
}
} elseif (is_front_page()) {
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-1')) {
}
}
开发者ID:berniecultess,项目名称:infirev,代码行数:30,代码来源:sidebar.php
示例5: evolve_print_fonts
.sub-menu{
border:none !important;
}
.menu-item a{
border:none !important;
}
';
//make sticky menu background-color white, added by denzel
$evolve_css_data .= '
body #header.sticky-header {
background:#' . $evolve_menu_back_color . '!important;
border:0;
}
';
}
//Widget title font
$evolve_css_data .= evolve_print_fonts('evl_widget_title_font', '.widget-title', $additional_css = '');
//Widget content font
$evolve_css_data .= evolve_print_fonts('evl_widget_content_font', '.widget-content, .aside, .aside a', $additional_css = '', $additional_color_css_class = '.widget-content, .widget-content a, .widget-content .tab-holder .news-list li .post-holder a, .widget-content .tab-holder .news-list li .post-holder .meta');
//H1 font, H2 font, H3 font, H4 font, H5 font and H6 font
for ($i = 1; $i < 7; $i++) {
//we get all h1 to h6 fonts, evl_content_h1_font ... to evl_content_h6_font values.
$evolve_css_data .= evolve_print_fonts('evl_content_h' . $i . '_font', ".entry-content h{$i}", $additional_css = '');
}
$evolve_css_content = evolve_get_option('evl_css_content', '');
$evolve_css_data .= $evolve_css_content;
if (method_exists($wp_customize, 'is_preview') and !is_admin()) {
} else {
echo $evolve_css_data;
}
开发者ID:berniecultess,项目名称:infirev,代码行数:31,代码来源:custom-css.php
示例6: evolve_get_option
}
}
?>
</ul>
</div>
<div class="es-nav"><span class="es-nav-prev"></span><span class="es-nav-next"></span></div>
</div>
</div>
<?php
}
?>
<?php
}
?>
<?php
$evl_portfolio_comments = evolve_get_option('evl_portfolio_comments');
?>
<?php
if ($evl_portfolio_comments) {
?>
<?php
wp_reset_query();
comments_template('', true);
?>
<?php
}
?>
<?php
}
?>
开发者ID:berniecultess,项目名称:infirev,代码行数:30,代码来源:single-evolve_portfolio.php
示例7: comments_link
<span class="comment-count"><a href="<?php
comments_link();
?>
"><?php
comments_popup_link(__('Leave a Comment', 'evolve'), __('1 Comment', 'evolve'), __('% Comments', 'evolve'));
?>
</a></span>
<?php
} else {
// comments are closed
}
?>
<span class="author vcard">
<?php
$evolve_author_avatar = evolve_get_option('evl_author_avatar', '0');
if ($evolve_author_avatar == "1") {
echo get_avatar(get_the_author_meta('email'), '30');
}
?>
<?php
_e('Written by', 'evolve');
?>
<strong><?php
printf('<a class="url fn" href="' . get_author_posts_url($authordata->ID, $authordata->user_nicename) . '" title="' . sprintf('View all posts by %s', $authordata->display_name) . '">' . get_the_author() . '</a>');
?>
</strong>
</span>
<!--END .entry-meta .entry-header-->
</div>
开发者ID:berniecultess,项目名称:infirev,代码行数:31,代码来源:search.php
示例8: evolve_get_option
</div>
</div>
</div>
</div>
</div>
<!--END body-->
<?php
$evolve_pos_button = evolve_get_option('evl_pos_button', 'right');
if ($evolve_pos_button == "disable" || $evolve_pos_button == "") {
?>
<?php
} else {
?>
<div id="backtotop"><a href="#top" id="top-link"></a></div>
<?php
}
?>
<?php
$evolve_custom_background = evolve_get_option('evl_custom_background', '0');
if ($evolve_custom_background == "1") {
?>
</div>
<?php
}
?>
<?php
wp_footer();
?>
</body>
<!--END html(kthxbye)-->
</html>
开发者ID:migumuno,项目名称:obesity,代码行数:31,代码来源:footer.php
示例9: get_header
get_header();
$xyz = "";
$evolve_layout = evolve_get_option('evl_layout', '2cl');
$evolve_post_layout = evolve_get_option('evl_post_layout', 'two');
$evolve_nav_links = evolve_get_option('evl_nav_links', 'after');
$evolve_header_meta = evolve_get_option('evl_header_meta', 'single_archive');
$evolve_category_page_title = evolve_get_option('evl_category_page_title', '1');
$evolve_excerpt_thumbnail = evolve_get_option('evl_excerpt_thumbnail', '0');
$evolve_share_this = evolve_get_option('evl_share_this', 'single');
$evolve_post_links = evolve_get_option('evl_post_links', 'after');
$evolve_similar_posts = evolve_get_option('evl_similar_posts', 'disable');
$evolve_featured_images = evolve_get_option('evl_featured_images', '1');
$evolve_edit_post = evolve_get_option('evl_edit_post', '0');
$evolve_thumbnail_default_images = evolve_get_option('evl_thumbnail_default_images', '0');
$evolve_posts_excerpt_title_length = intval(evolve_get_option('evl_posts_excerpt_title_length', '40'));
$evolve_blog_featured_image = evolve_get_option('evl_blog_featured_image', '0');
if (evolve_lets_get_sidebar_2() == true) {
get_sidebar('2');
}
?>
<!--BEGIN #primary .hfeed-->
<div id="primary" class="<?php
evolve_layout_class($type = 1);
?>
">
<?php
if (have_posts()) {
while (have_posts()) {
开发者ID:prkirby,项目名称:AbsolutePressure,代码行数:31,代码来源:page-our-work.php
示例10: get_option
$first = "";
?>
<?php
global $authordata;
$xyz = "";
$options = get_option('evolve');
$evolve_layout = evolve_get_option('evl_layout', '2cl');
$evolve_post_layout = evolve_get_option('evl_post_layout', 'two');
$evolve_nav_links = evolve_get_option('evl_nav_links', 'after');
$evolve_header_meta = evolve_get_option('evl_header_meta', 'single_archive');
$evolve_excerpt_thumbnail = evolve_get_option('evl_excerpt_thumbnail', '0');
$evolve_share_this = evolve_get_option('evl_share_this', 'single');
$evolve_post_links = evolve_get_option('evl_post_links', 'after');
$evolve_similar_posts = evolve_get_option('evl_similar_posts', 'disable');
if ($evolve_layout == "1c") {
$imagewidth = "960";
} elseif ($evolve_layout == "2cl" || $evolve_layout == "2cr") {
$imagewidth = "620";
} else {
$imagewidth = "506";
}
if ($evolve_layout == "1c") {
?>
<?php
} else {
?>
开发者ID:thejasonhsu,项目名称:Illumin,代码行数:30,代码来源:blog-page.php
示例11: evolve_get_option
if ($evolve_pos_logo == "disable") {
?>
<?php
} else {
?>
<?php
$evolve_header_logo = evolve_get_option('evl_header_logo', '');
if ($evolve_header_logo) {
echo "<a class='logo-url' href=" . home_url() . "><img id='logo-image' src=" . $evolve_header_logo . " /></a>";
}
?>
<?php
}
?>
<?php
$evolve_blog_title = evolve_get_option('evl_blog_title', '0');
if ($evolve_blog_title == "0") {
?>
<div id="logo"><a class='logo-url-text' href="<?php
echo home_url();
?>
"><?php
bloginfo('name');
?>
</a></div>
<?php
}
?>
<nav id="nav" class="nav-holder">
<?php
wp_nav_menu(array('theme_location' => 'primary-menu', 'menu_class' => 'nav-menu'));
开发者ID:migumuno,项目名称:obesity,代码行数:31,代码来源:sticky-header.php
示例12: add_sidebar
function add_sidebar()
{
global $post;
if (is_shop()) {
$pageID = get_option('woocommerce_shop_page_id');
} elseif (is_product_category() || is_product_tag()) {
$pageID = '';
} else {
$pageID = $post->ID;
}
$custom_fields = get_post_custom_values('_wp_page_template', $pageID);
if (is_array($custom_fields) && !empty($custom_fields)) {
$page_template = $custom_fields[0];
} else {
$page_template = '';
}
$evolve_layout = evolve_get_option('evl_layout', '2cl');
$sidebar_css = '';
if (class_exists('Woocommerce')) {
if ($evolve_layout == "1c" || is_cart() || is_checkout() || is_account_page() || get_option('woocommerce_thanks_page_id') && is_page(get_option('woocommerce_thanks_page_id'))) {
$sidebar_css = 'display:none';
}
}
echo '<div id="secondary" class="aside ';
if ($evolve_layout == "1c") {
}
if ($evolve_layout == "3cm" || $evolve_layout == "3cl" || $evolve_layout == "3cr") {
echo 'col-xs-12 col-sm-6 col-md-3';
} else {
echo 'col-sm-6 col-md-4';
}
echo '"';
if (class_exists('Woocommerce')) {
echo 'style="' . $sidebar_css . '"';
}
echo '>';
wp_reset_query();
if (is_product()) {
generated_dynamic_sidebar();
} elseif (is_product_category() || is_product_tag()) {
$shop_page_id = get_option('woocommerce_shop_page_id');
$name = get_post_meta($shop_page_id, 'sbg_selected_sidebar_replacement', true);
if ($name) {
generated_dynamic_sidebar($name[0]);
}
} else {
$shop_page_id = get_option('woocommerce_shop_page_id');
$name = get_post_meta($shop_page_id, 'sbg_selected_sidebar_replacement', true);
if ($name) {
generated_dynamic_sidebar($name[0]);
}
}
echo '</div>';
}
开发者ID:berniecultess,项目名称:infirev,代码行数:54,代码来源:woo-config.php
示例13: widget
function widget($args, $instance)
{
global $data;
extract($args);
$title = apply_filters('widget_title', $instance['title']);
echo $before_widget;
if ($title) {
echo $before_title . $title . $after_title;
}
$style = '';
if (!isset($instance['linktarget'])) {
$instance['linktarget'] = '';
}
$nofollow_social_links = evolve_get_option('evl_nofollow_social_links', '0');
$nofollow = '';
if ($nofollow_social_links) {
$nofollow = ' rel="nofollow"';
}
if (!isset($instance['tooltip_pos'])) {
$instance['tooltip_pos'] = 'top';
}
if (isset($instance['icon_color']) && $instance['icon_color']) {
$style .= sprintf('color:%s!important;', $instance['icon_color']);
}
if (isset($instance['boxed_icon']) && $instance['boxed_icon'] == 'Yes' && isset($instance['boxed_color']) && $instance['boxed_color']) {
$style .= sprintf('background-color:%s;border-color:%s;', $instance['boxed_color'], $instance['boxed_color']);
}
if (isset($instance['boxed_icon']) && isset($instance['boxed_icon_radius']) && $instance['boxed_icon'] == 'Yes' && ($instance['boxed_icon_radius'] || $instance['boxed_icon_radius'] === '0')) {
if ($instance['boxed_icon_radius'] == 'round') {
$instance['boxed_icon_radius'] = '50%';
}
$style .= sprintf('border-radius:%s;', $instance['boxed_icon_radius']);
}
foreach ($instance as $name => $value) {
if (strpos($name, '_link')) {
$social_networks[$name] = str_replace('_link', '', $name);
}
}
if (isset($smof_data['social_sorting']) && $smof_data['social_sorting']) {
$ordered_array = $smof_data['social_sorting'];
if (is_array($ordered_array)) {
$social_networks_old = $social_networks;
$social_networks = array();
foreach ($ordered_array as $key) {
$field_name = str_replace('_link', '', $key);
if ($field_name == 'google') {
$field_name = 'googleplus';
} elseif ($field_name == 'email') {
$field_name = 'mail';
}
if (!isset($social_networks_old[$field_name])) {
continue;
}
$social_networks[$field_name] = $social_networks_old[$field_name];
}
}
}
?>
<?php
$boxed_icons = '';
if (isset($instance['boxed_icon']) && $instance['boxed_icon'] == 'Yes' && isset($instance['boxed_color']) && $instance['boxed_color']) {
$boxed_icons = ' boxed-icons';
}
if (isset($instance['boxed_icon']) && isset($instance['boxed_icon_radius']) && $instance['boxed_icon'] == 'Yes' && ($instance['boxed_icon_radius'] || $instance['boxed_icon_radius'] === '0')) {
if ($instance['boxed_icon_radius'] == 'round') {
$instance['boxed_icon_radius'] = '50%';
}
$style_radius = '';
$style_radius .= sprintf('border-radius:%s;', $instance['boxed_icon_radius']);
$print_css_radius = '<style type="text/css">.t4p-social-networks-widget.t4p-social-networks.boxed-icons a:after {' . $style_radius . '}</style>';
echo $print_css_radius;
}
?>
<div class="t4p-social-networks-widget t4p-social-networks<?php
echo $boxed_icons;
?>
">
<?php
foreach ($social_networks as $name => $value) {
if ($instance[$name]) {
if ($value == 'fb') {
$value = 'facebook';
} elseif ($value == 'rss') {
$value = 'rss';
} elseif ($value == 'google') {
$value = 'googleplus';
}
?>
<span class="t4p-icon-holder"><a class="t4p-social-network-icon t4p-tooltip t4p-<?php
echo $value;
?>
t4p-icon-<?php
echo $value;
?>
" href="<?php
echo $instance[$name];
?>
" data-placement="<?php
echo strtolower($instance['tooltip_pos']);
//.........这里部分代码省略.........
开发者ID:berniecultess,项目名称:infirev,代码行数:101,代码来源:social_links.php
示例14: evolve_get_option
?>
<?php
} else {
}
?>
</div><!-- /.container -->
</div><!--/.menu-back-->
<?php
$evolve_width_layout = evolve_get_option('evl_width_layout', 'fixed');
if ($evolve_width_layout == "fluid") {
?>
</div><!-- /.fluid-width -->
<?php
}
?>
<!--BEGIN .content-->
<div class="content <?php
semantic_body();
?>
">
开发者ID:migumuno,项目名称:obesity,代码行数:30,代码来源:header.php
示例15: evolve_get_option
<?php
$evolve_show_rss = evolve_get_option('evl_show_rss', '1');
$evolve_rss_feed = evolve_get_option('evl_rss_feed', '');
$evolve_newsletter = evolve_get_option('evl_newsletter', '');
$evolve_facebook = evolve_get_option('evl_facebook', '');
$evolve_twitter_id = evolve_get_option('evl_twitter_id', '');
$evolve_googleplus = evolve_get_option('evl_googleplus', '');
$evolve_instagram = evolve_get_option('evl_instagram', '');
$evolve_skype = evolve_get_option('evl_skype', '');
$evolve_youtube = evolve_get_option('evl_youtube', '');
$evolve_flickr = evolve_get_option('evl_flickr', '');
$evolve_linkedin = evolve_get_option('evl_linkedin', '');
$evolve_pinterest = evolve_get_option('evl_pinterest', '');
$evolve_tumblr = evolve_get_option('evl_tumblr', '');
?>
<ul class="sc_menu">
<?php
if ($evolve_show_rss == '1') {
?>
<li><a target="_blank" href="<?php
if ($evolve_rss_feed != "") {
echo $evolve_rss_feed;
} else {
bloginfo('rss_url');
}
?>
开发者ID:renzotello,项目名称:gitWebTrevor,代码行数:31,代码来源:social-buttons.php
示例16: evolve_get_option
<?php
$evolve_layout = evolve_get_option('evl_layout', '2cr');
$evolve_widgets_header = evolve_get_option('evl_widgets_header', 'one');
$evolve_widgets_footer = evolve_get_option('evl_widgets_num', 'disable');
if ($evolve_layout == "2cr" || $evolve_layout == "2cl" || $evolve_layout == "3cr" || $evolve_layout == "3cl" || $evolve_layout == "3cm") {
if (function_exists('register_sidebar')) {
register_sidebar(array('name' => __('Sidebar 1', 'evolve'), 'id' => 'sidebar-1', 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<div class="before-title"><div class="widget-title-background"></div><h3 class="widget-title">', 'after_title' => '</h3></div>'));
}
} else {
register_sidebar(array('name' => __('Sidebar Widgets Disabled', 'evolve'), 'id' => 'sidebar-1', 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<div class="before-title"><div class="widget-title-background"></div><h3 class="widget-title">', 'after_title' => '</h3></div>', 'description' => __('You are using one column layout. Please visit theme settings page and change layout to enable sidebar widgets. Widgets placed on this area won\'t be active.', 'pure-line')));
}
if ($evolve_layout == "3cr" || $evolve_layout == "3cl" || $evolve_layout == "3cm") {
if (function_exists('register_sidebar')) {
register_sidebar(array('name' => __('Sidebar 2', 'evolve'), 'id' => 'sidebar-2', 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<div class="before-title"><div class="widget-title-background"></div><h3 class="widget-title">', 'after_title' => '</h3></div>'));
}
}
function evolve_header1()
{
if (function_exists('register_sidebar')) {
register_sidebar(array('name' => __('Header 1', 'evolve'), 'id' => 'header-1', 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<div class="before-title"><div class="widget-title-background"></div><h3 class="widget-title">', 'after_title' => '</h3></div>'));
}
}
function evolve_header2()
{
if (function_exists('register_sidebar')) {
register_sidebar(array('name' => __('Header 2', 'evolve'), 'id' => 'header-2', 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<div class="before-title"><div class="widget-title-background"></div><h3 class="widget-title">', 'after_title' => '</h3></div>'));
}
}
function evolve_header3()
{
开发者ID:thejasonhsu,项目名称:Illumin,代码行数:31,代码来源:widgets.php
示例17: evolve_get_option
$evolve_thumbnail_default_images = evolve_get_option('evl_thumbnail_default_images', '0');
$evolve_posts_excerpt_title_length = intval(evolve_get_option('evl_posts_excerpt_title_length', '40'));
$evolve_blog_featured_image = evolve_get_option('evl_blog_featured_image', '0');
if (evolve_lets_get_sidebar_2() == true) {
get_sidebar('2');
}
?>
<!--BEGIN #primary .hfeed-->
<div id="primary" class="<?php
evolve_layout_class($type = 1);
?>
">
<?php
$evolve_breadcrumbs = evolve_get_option('evl_breadcrumbs', '1');
if ($evolve_breadcrumbs == "1") {
if (is_home() || is_front_page()) {
} else {
evolve_breadcrumb();
}
}
?>
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
?>
<!--BEGIN .hentry-->
开发者ID:George323,项目名称:njhykcy,代码行数:31,代码来源:page.php
示例18: trackback_rdf
">
</form>
<!--END .entry-content .article-->
<div class="clearfix"></div>
<!-- Auto Discovery Trackbacks
<?php
trackback_rdf();
?>
-->
</div><!--END .hentry-->
<?php
$evolve_share_this = evolve_get_option('evl_share_this', 'single');
if ($evolve_share_this == "all") {
evolve_sharethis();
}
?>
<?php
comments_template('', true);
?>
<?php
}
}
?>
开发者ID:Typikall,项目名称:memotsix,代码行数:29,代码来源:contact.php
示例19: evolve_get_option
<?php
/**
* Template: Navigation.php
*
* @package EvoLve
* @subpackage Template
*/
$evolve_pagination_type = evolve_get_option('evl_pagination_type', 'pagination');
if (is_singular() and !is_page()) {
$temp = $_SERVER['REQUEST_URI'];
$temp = substr($temp, 0, 8);
if (strpos($temp, '/es/') !== false || strpos($temp, '/es') !== false) {
$lang = 'es';
} else {
if (strpos($temp, '/en/') !== false || strpos($temp, '/en') !== false) {
$lang = 'en';
} else {
if (strpos($temp, '/de/') !== false || strpos($temp, '/de') !== false) {
$lang = 'de';
}
}
}
$text = array("es" => array("prev" => "Anterior", "next" => "Siguiente"), "en" => array("prev" => "Previous", "next" => "Next"), "de" => array("prev" => "Nächster", "next" => "Vorheriger"));
?>
<!--BEGIN .navigation-links-->
<div class="navigation-links single-page-navigation clearfix row">
<div class="col-sm-6 col-md-6 nav-previous"><?php
previous_post_link('%link', '<div class="btn btn-left icon-arrow-left icon-big">' . $text[$lang]['prev'] . '</div>');
?>
</div>
开发者ID:migumuno,项目名称:obesity,代码行数:31,代码来源:navigation.php
示例20: get_header
<?php
/**
* Template Name: Blog
*
* @package EvoLve
* @subpackage Template
*/
get_header();
$evolve_layout = evolve_get_option('evl_layout', '2cl');
if (evolve_lets_get_sidebar_2() == true) {
get_sidebar('2');
}
get_template_part('content', 'blog');
wp_reset_query();
if (evolve_lets_get_sidebar() == true) {
get_sidebar();
}
get_footer();
开发者ID:Typikall,项目名称:memotsix,代码行数:19,代码来源:blog-page.php
注:本文中的evolve_get_option函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论