/**
 * WARNING: This file is part of the core Genesis framework. DO NOT edit
 * this file under any circumstances. Please do all modifications
 * in the form of a child theme.
 *
 * This function is used to initialize the framework in the various
 * template files. It pulls in all the basic, necessary components
 * like Header/Footer, the basic markup structure, and hooks.
 *
 * @since 1.3
 */
function genesis()
{
    get_header();
    genesis_before_content_sidebar_wrap();
    ?>
	<div id="content-sidebar-wrap">
		<?php 
    genesis_before_content();
    ?>
		<div id="content" class="hfeed">
			<?php 
    genesis_before_loop();
    genesis_loop();
    genesis_after_loop();
    ?>
		</div><!-- end #content -->
		<?php 
    genesis_after_content();
    ?>
	</div><!-- end #content-sidebar-wrap -->
	<?php 
    genesis_after_content_sidebar_wrap();
    get_footer();
}
예제 #2
0
<?php

get_header();
genesis_before_loop();
?>
<div class="homepage">
	<div id="main-content">
	<?php 
if (!dynamic_sidebar('Home Main')) {
    ?>
		<div class="widget">
			<h4 class="widgettitle"><?php 
    _e('Home Main', 'familytree');
    ?>
</h4>
			<div class="wrap">
				<p><?php 
    _e('This is a widgeted area which is called Home Main. You can use the Genesis - Featured Posts, Genesis - Featured Page or Family Tree - Slider (Page or Post) widgets in this section. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag your selected widget into the Homepage Main widget area on the right hand side.', 'familytree');
    ?>
</p>
			</div><!-- end .wrap -->
		</div><!-- end .widget -->
	<?php 
}
?>
    </div>

    <div id="ad-block">
    <?php 
if (!dynamic_sidebar('Home Ads')) {
    ?>