Skip to content

Instantly share code, notes, and snippets.

@fovoc
Created January 27, 2014 12:48
Show Gist options
  • Save fovoc/8647975 to your computer and use it in GitHub Desktop.
Save fovoc/8647975 to your computer and use it in GitHub Desktop.
function my_shoestrap_content_override() {
?>
<article <?php post_class(); ?>>
<?php do_action( 'shoestrap_in_article_top' ); ?>
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php do_action( 'shoestrap_entry_meta_override' ); ?>
</header>
<div class="entry-content">
<?php do_action( 'shoestrap_single_pre_content' ); ?>
<?php the_content(); ?>
<div class="clearfix"></div>
<?php do_action( 'shoestrap_single_after_content' ); ?>
</div>
<?php
if ( has_action( 'shoestrap_entry_footer' ) ) :
echo '<footer class="entry-footer">';
do_action( 'shoestrap_entry_footer' );
echo '</footer>';
endif;
?>
<?php do_action( 'shoestrap_in_article_bottom' ); ?>
</article>
<?php
}
add_action( 'shoestrap_content_override', 'my_shoestrap_content_override' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment