Skip to content

Instantly share code, notes, and snippets.

@quantazelle
Created December 8, 2018 05:15
Show Gist options
  • Select an option

  • Save quantazelle/8a1ce14c78dbf72fc06c938e220cac31 to your computer and use it in GitHub Desktop.

Select an option

Save quantazelle/8a1ce14c78dbf72fc06c938e220cac31 to your computer and use it in GitHub Desktop.
<?php
// =============================================================================
// VIEWS/RENEW/_CONTENT-POST-HEADER.PHP
// -----------------------------------------------------------------------------
// Standard <header> output for various posts.
// =============================================================================
?>
<header class="entry-header">
<center><img src="<?php site_url() . '/wp-content/uploads/lizrevision-swirl.png'; ?>"></center>
<?php if ( is_single() ) : ?>
<h1 class="entry-title"><center><?php the_title(); ?></center></h1>
<?php else : ?>
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><center><?php the_title(); ?></center></a>
</h2>
<?php endif; ?>
<?php x_renew_entry_meta(); ?>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment