Created
May 8, 2015 16:52
-
-
Save generatepress/c2b2ee0b36793b445571 to your computer and use it in GitHub Desktop.
custom content-custom.php file that shows full content (not excerpts).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @package Generate | |
*/ | |
$generate_settings = wp_parse_args( | |
get_option( 'generate_settings', array() ), | |
generate_get_defaults() | |
); | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemprop="blogPost" itemtype="http://schema.org/BlogPosting" itemscope="itemscope"> | |
<div class="inside-article"> | |
<?php do_action( 'generate_before_content'); ?> | |
<header class="entry-header"> | |
<?php the_title( sprintf( '<h2 class="entry-title" itemprop="headline"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> | |
<?php if ( 'post' == get_post_type() ) : ?> | |
<div class="entry-meta"> | |
<?php generate_posted_on(); ?> | |
</div><!-- .entry-meta --> | |
<?php endif; ?> | |
</header><!-- .entry-header --> | |
<?php do_action( 'generate_after_entry_header'); ?> | |
<div class="entry-content" itemprop="text"> | |
<?php the_content(); ?> | |
<?php | |
wp_link_pages( array( | |
'before' => '<div class="page-links">' . __( 'Pages:', 'generate' ), | |
'after' => '</div>', | |
) ); | |
?> | |
</div><!-- .entry-content --> | |
<?php do_action( 'generate_after_entry_content'); ?> | |
<footer class="entry-meta"> | |
<?php generate_entry_meta(); ?> | |
</footer><!-- .entry-meta --> | |
<?php do_action( 'generate_after_content'); ?> | |
</div><!-- .inside-article --> | |
</article><!-- #post-## --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment