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


PHP genesis_widget_area函数代码示例

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


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

示例1: onlinecrew_homepage

function onlinecrew_homepage()
{
    genesis_widget_area('home-slider', array('before' => '<section class="home-slider home-sections">', 'after' => '</section>'));
    genesis_widget_area('home-jcarousel', array('before' => '<section class="home-carousel home-sections">', 'after' => '</div></section>'));
    genesis_widget_area('home-map', array('before' => '<section class="home-hrsolution home-sections">', 'after' => '</div></section>'));
    genesis_widget_area('home-testimonials', array('before' => '<section class="home-testimonials home-sections">', 'after' => '</div></section>'));
}
开发者ID:hsagulo,项目名称:onlinecrew,代码行数:7,代码来源:front-page.php

示例2: executive_home_sections

function executive_home_sections()
{
    genesis_widget_area('home-slider', array('before' => '<div class="home-slider widget-area">', 'after' => '</div>'));
    genesis_widget_area('home-top', array('before' => '<div class="home-top widget-area">', 'after' => '</div>'));
    genesis_widget_area('home-cta', array('before' => '<div class="home-cta widget-area">', 'after' => '</div>'));
    genesis_widget_area('home-middle', array('before' => '<div class="home-middle widget-area">', 'after' => '</div>'));
}
开发者ID:treydonovan,项目名称:innergame-anna,代码行数:7,代码来源:front-page.php

示例3: eleven40_after_post

function eleven40_after_post()
{
    if (!is_singular('post')) {
        return;
    }
    genesis_widget_area('after-post', array('before' => '<div class="after-post widget-area">'));
}
开发者ID:hscale,项目名称:webento,代码行数:7,代码来源:functions.php

示例4: author_front_page_widgets

function author_front_page_widgets()
{
    genesis_widget_area('front-page-2', array('before' => '<div id="front-page-2" class="front-page-2"><div class="flexible-widgets widget-area' . author_widget_area_class('front-page-2') . '">', 'after' => '</div></div>'));
    genesis_widget_area('front-page-3', array('before' => '<div id="front-page-3" class="front-page-3"><div class="flexible-widgets widget-area' . author_widget_area_class('front-page-3') . '">', 'after' => '</div></div>'));
    genesis_widget_area('front-page-4', array('before' => '<div id="front-page-4" class="front-page-4"><div class="flexible-widgets widget-area' . author_widget_area_class('front-page-4') . '">', 'after' => '</div></div>'));
    genesis_widget_area('front-page-5', array('before' => '<div id="front-page-5" class="front-page-5"><div class="flexible-widgets widget-area' . author_widget_area_class('front-page-5') . '">', 'after' => '</div></div>'));
}
开发者ID:KaksiMedia,项目名称:Genesis-Author-Pro-JPC,代码行数:7,代码来源:front-page.php

示例5: tgd_hero_section

/**
 * Hero Text & Countdown
 *
 * @since 1.0.0
 */
function tgd_hero_section()
{
    $hero_text = get_option('tgd_hero');
    ?>

	<section id="home-hero" class="hero">
		<?php 
    if (isset($hero_text)) {
        echo '<h2 class="hero-title">' . get_option('tgd_hero') . '</h2>';
    }
    ?>
		<div class="hero-left">

		</div>

		<div class="hero-right">
			<?php 
    genesis_widget_area('home-cta', array('before' => '<div class="home-widgets">', 'after' => '</div>'));
    ?>
		</div>

	</section>

<?php 
}
开发者ID:BeardedGinger,项目名称:the-great-deluge,代码行数:30,代码来源:home.php

示例6: swank_homepage_widgets

function swank_homepage_widgets()
{
    genesis_widget_area('home-slider', array('before' => '<div class="home-slider widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('under-home-slider', array('before' => '<div class="under-home-slider widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('featured-circles', array('before' => '<div class="featured-circles widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-featured-area', array('before' => '<div class="home-featured-area widget-area"><div class="wrap">', 'after' => '</div></div>'));
}
开发者ID:joshrogersdesign,项目名称:genesis-swank-sass,代码行数:7,代码来源:home.php

示例7: utility_bar

function utility_bar()
{
    echo '<div class="utility-bar"><div class="wrap">';
    genesis_widget_area('utility-bar-left', array('before' => '<div class="utility-bar-left">', 'after' => '</div>'));
    genesis_widget_area('utility-bar-right', array('before' => '<div class="utility-bar-right">', 'after' => '</div>'));
    echo '</div></div>';
}
开发者ID:dkenzik,项目名称:genesis-starter-grunt-sass,代码行数:7,代码来源:theme-views.php

示例8: hueman_home_widgets

function hueman_home_widgets()
{
    echo '<div id="home-widgets" class="home-widgets">';
    genesis_widget_area('home-top', array('before' => '<div id="home-top" class="home-top widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-bottom', array('before' => '<div id="home-bottom" class="home-bottom widget-area"><div class="wrap">', 'after' => '</div></div>'));
    echo '</div>';
}
开发者ID:jasonbraun,项目名称:genesis-theme-development,代码行数:7,代码来源:front-page.php

示例9: metro_after_post

function metro_after_post()
{
    if (!is_singular('post')) {
        return;
    }
    genesis_widget_area('after-entry', array('before' => '<div class="after-entry widget-area"><div class="wrap">', 'after' => '</div></div>'));
}
开发者ID:stevepolitodesign,项目名称:nema-wordpress,代码行数:7,代码来源:functions.php

示例10: mpp_homepage_widgets

function mpp_homepage_widgets()
{
    genesis_widget_area('home-about', array('before' => '<div id="about"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-portfolio', array('before' => '<div id="portfolio"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-services', array('before' => '<div id="services"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-blog', array('before' => '<div id="blog"><div class="wrap">', 'after' => '</div></div>'));
}
开发者ID:magreen03,项目名称:mg-modern-portfolio,代码行数:7,代码来源:front-page.php

示例11: simple_staff_sidebar

function simple_staff_sidebar()
{
    if (is_active_sidebar('after-staff')) {
        echo '<div class="after-staff">';
        genesis_widget_area('after-staff');
        echo '</div>';
    }
}
开发者ID:Bobcatou,项目名称:simple-staff,代码行数:8,代码来源:single-staff.php

示例12: sk_show_posts

function sk_show_posts()
{
    if (is_front_page()) {
        printf('<div %s>', genesis_attr('home-below-content'));
        genesis_widget_area('home-below-content');
        echo '</div>';
    }
}
开发者ID:CarmenGrantham,项目名称:genesis-cg-theme,代码行数:8,代码来源:functions.php

示例13: parallax_homepage_widgets

function parallax_homepage_widgets()
{
    genesis_widget_area('home-section-1', array('before' => '<div class="home-odd home-section-1 widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-section-2', array('before' => '<div class="home-even home-section-2 widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-section-3', array('before' => '<div class="home-odd home-section-3 widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-section-4', array('before' => '<div class="home-even home-section-4 widget-area"><div class="wrap">', 'after' => '</div></div>'));
    genesis_widget_area('home-section-5', array('before' => '<div class="home-odd home-section-5 widget-area"><div class="wrap">', 'after' => '</div></div>'));
}
开发者ID:dbs4405,项目名称:cloudbase,代码行数:8,代码来源:front-page.php

示例14: home_featured

function home_featured()
{
    /** Do nothing on page 2 or greater */
    if (get_query_var('paged') >= 2) {
        return;
    }
    genesis_widget_area('home-featured', array('before' => '<div class="home-featured widget-area">'));
}
开发者ID:adisonc,项目名称:MaineLearning,代码行数:8,代码来源:home.php

示例15: front_page_widgets

function front_page_widgets()
{
    genesis_widget_area('front-page-1', array('before' => '<div id="front-page-1" class="front-page-1"><div class="image-section"><div class="flexible-widgets widget-area front-page"><div class="wrap">', 'after' => '</div></div></div></div>'));
    genesis_widget_area('front-page-2', array('before' => '<div id="front-page-2" class="front-page-2"><div class="solid-section"><div class="flexible-widgets widget-area front-page"><div class="wrap">', 'after' => '</div></div></div></div>'));
    genesis_widget_area('front-page-3', array('before' => '<div id="front-page-3" class="front-page-3"><div class="image-section"><div class="flexible-widgets widget-area front-page"><div class="wrap">', 'after' => '</div></div></div></div>'));
    genesis_widget_area('front-page-4', array('before' => '<div id="front-page-4" class="front-page-4"><div class="solid-section"><div class="flexible-widgets widget-area front-page"><div class="wrap">', 'after' => '</div></div></div></div>'));
    genesis_widget_area('front-page-5', array('before' => '<div id="front-page-5" class="front-page-5"><div class="image-section"><div class="flexible-widgets widget-area front-page"><div class="wrap">', 'after' => '</div></div></div></div>'));
}
开发者ID:arkadiusjonczek,项目名称:wordcampberlin15,代码行数:8,代码来源:front-page.php


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