예제 #1
0
파일: index.php 프로젝트: ninthlink/edtech
?>
" <?php 
omega_attr('content');
?>
>

		<?php 
omega_do_atomic('before_content');
// omega_before_content
if (have_posts()) {
    /* Start the Loop */
    while (have_posts()) {
        the_post();
        /* Include the Post-Format-specific template for the content.
         * If you want to overload this in a child theme then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        get_template_part('partials/content', get_post_format());
    }
    omega_content_nav('nav-below');
} else {
    get_template_part('partials/no-results', 'index');
}
omega_do_atomic('after_content');
// omega_after_content
?>

	</main><!-- .content -->

<?php 
get_footer();
예제 #2
0
파일: header.php 프로젝트: ninthlink/edtech
  <div id="content-top">
    <div class="wrap clearfix">
      <?php 
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Content Top')) {
}
?>
    </div>
  </div>
<div class="featured-image"><?php 
the_post_thumbnail($size, $attr);
?>
</div>
  <div id="subheader">
      <?php 
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Subheader')) {
}
?>
  </div>

<div class="breadcrumbs">
    <?php 
if (function_exists('bcn_display')) {
    bcn_display();
}
?>
</div>
  <div class="site-inner">

    <?php 
omega_do_atomic('before_main');
// omega_before_main
예제 #3
0
<article <?php 
omega_attr('post');
?>
>

	<div class="entry-wrap">

		<?php 
omega_do_atomic('before_entry');
// omega_before_entry
?>

		<div class="entry-content">

			<?php 
omega_do_atomic('entry');
// omega_entry
?>

		</div><!-- .entry-content -->

		<?php 
omega_do_atomic('after_entry');
// omega_after_entry
?>

	</div><!-- .entry-wrap -->

</article><!-- #post-## -->
예제 #4
0
파일: footer.php 프로젝트: ninthlink/edtech
?>

	</div><!-- .site-inner -->

	<?php 
omega_do_atomic('before_footer');
// omega_before_footer
?>
	<?php 
omega_do_atomic('footer');
// omega_footer
?>
	
	<?php 
omega_do_atomic('after_footer');
// omega_after_footer
?>

</div><!-- .site-container -->

<?php 
omega_do_atomic('after');
// omega_after
?>

<?php 
wp_footer();
?>

</body>
</html>
예제 #5
0
<?php

/**
 * Primary Menu Template
 */
?>
	
<nav class="nav-primary" <?php 
omega_attr('menu');
?>
>
	
	<?php 
omega_do_atomic('before_primary_menu');
// omega_before_primary_menu
?>

	<?php 
wp_nav_menu(array('theme_location' => 'primary', 'container' => '', 'menu_class' => 'menu omega-nav-menu menu-primary', 'fallback_cb' => 'omega_default_menu'));
?>

	<?php 
omega_do_atomic('after_primary_menu');
// omega_after_primary_menu
?>

	
</nav><!-- .nav-primary -->
예제 #6
0
/**
 * @since      0.7.0
 * @deprecated 0.9.0
 */
function do_atomic($tag = '', $arg = '')
{
    //_deprecated_function( __FUNCTION__, '0.9.0', 'omega_do_atomic' );
    omega_do_atomic($tag, $arg);
}
예제 #7
0
<?php

/**
 * Secondary Menu Template
 */
?>
	
<nav class="nav-secondary" <?php 
omega_attr('menu');
?>
>
	
	<?php 
omega_do_atomic('before_secondary_menu');
// omega_before_secondary_menu
?>

	<?php 
wp_nav_menu(array('theme_location' => 'secondary', 'container' => '', 'menu_class' => 'menu omega-nav-menu menu-secondary'));
?>

	<?php 
omega_do_atomic('after_secondary_menu');
// omega_after_secondary_menu
?>

	
</nav><!-- .nav-secondary -->
예제 #8
0
			<a href="<?php 
echo esc_url(get_comment_link($comment->comment_ID));
?>
"><?php 
printf(__('%1$s at %2$s', 'omega'), get_comment_date(), get_comment_time());
?>
</a>
				<?php 
edit_comment_link(__('(Edit)', 'omega'), '');
?>
		<p>
		<div class="comment-content">
			<?php 
comment_text();
?>
		</div><!-- .comment-content -->

		<div class="reply">
			<?php 
comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
?>
		</div>

		<?php 
omega_do_atomic('omega_after_comment');
?>
		
	</article>	

<?php 
/* No closing </li> is needed.  WordPress will know where to add it. */