Example #1
0
 *
 * @since PressWork 1.0
 */
if (comments_open()) {
    ?>
<div id="comments"> <!-- beging comments -->
	<?php 
    if (post_password_required()) {
        ?>
		<div class="nopassword"><?php 
        _e('This post is password protected. Enter the password to view any comments.', "presswork");
        ?>
</div>
		</div> <!-- end nopassword -->
	<?php 
        return;
    }
    if (have_comments()) {
        pw_actionCall('pw_comments_top');
        pw_actionCall('pw_comments_nav_top');
        pw_actionCall('pw_comments_middle');
        pw_actionCall('pw_comments_nav_bottom');
    } else {
        // this is displayed if there are no comments so far
        pw_actionCall('pw_comments_bottom');
    }
    pw_actionCall('pw_comments_reply');
    ?>
</div> <!-- end comments -->
<?php 
}
Example #2
0
<?php

/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #main-wrapper ul and the #body-wrapper div.
 * Includes all the action blocks for the footer.
 *
 * @since PressWork 1.0
 */
?>
   	</ul> <!-- end #main-wrapper ul -->
	<footer id="footer-main" class="clearfix fl" role="contentinfo"> <!-- begin footer -->
		<?php 
pw_actionBlock('pw_footer');
?>
	</footer> <!-- end footer -->
</div> <!-- end #body-wrapper -->
<?php 
pw_actionCall('pw_body_bottom');
wp_footer();
?>
<!-- PressWork framework created by c.bavota & Brendan Sera-Shriar - http://presswork.me -->
</body>
</html>
Example #3
0
body_class("ie6");
?>
> <![endif]-->
<!--[if IE 7 ]>    <body <?php 
body_class("ie7");
?>
> <![endif]-->
<!--[if IE 8 ]>    <body <?php 
body_class("ie8");
?>
> <![endif]-->
<!--[if IE 9 ]>    <body <?php 
body_class("ie9");
?>
> <![endif<]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body <?php 
body_class();
?>
> <!--<![endif]-->

<?php 
pw_actionCall('pw_body_top');
?>
<div id="body-wrapper" class="clearfix">
    <header id="header-main" role="banner"> <!-- begin header -->
		<?php 
pw_actionBlock('pw_header');
?>
    </header> <!-- end header -->
    <ul id="main-wrapper">