Example #1
0
?>
/admin/images/favicon.ico" />	

<?php 
if (is_singular() && get_option('thread_comments')) {
    wp_enqueue_script('comment-reply');
}
wp_enqueue_script('effects_js');
if (current_user_can('manage_options')) {
    wp_enqueue_style('farbtastic');
}
wp_head();
?>
</head>

<body <?php 
body_class();
?>
>
<?php 
actionCall('pw_body_top');
?>
<div id="body-wrapper">
    <header> <!-- begin header -->
		<?php 
actionBlock('pw_header');
?>
    </header> <!-- end header -->
    <section> <!-- begin section -->
	    <ul id="main-wrapper">
	
Example #2
0
    	</ul><!-- end wrapper ul -->
    </section><!-- end section -->
	<footer class="clear fl"> <!-- begin footer -->
		<?php 
actionBlock('pw_footer');
?>
	</footer> <!-- end footer -->
	<br class="clear" />
</div> <!-- end #body-wrapper -->
<?php 
actionCall('pw_body_bottom');
wp_footer();
?>
<!-- PressWork Framework created by c.bavota & Brendan Sera-Shriar - http://presswork.me -->
</body>
</html>
Example #3
0
<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()) {
    actionCall('pw_comments_top');
    actionCall('pw_comments_nav_top');
    actionCall('pw_comments_middle');
    actionCall('pw_comments_nav_bottom');
} else {
    // this is displayed if there are no comments so far
    actionCall('pw_comments_bottom');
}
actionCall('pw_comments_reply');
?>
</div> <!-- end comments -->