This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved email address to main content area, required new content template.
- Loading branch information
andrewmbacon
committed
Sep 29, 2015
1 parent
29a2347
commit 44c5a1c
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* The template used for displaying page content in page.php | ||
* | ||
* @package cornerstone | ||
*/ | ||
?> | ||
|
||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> | ||
<header class="entry-header"> | ||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> | ||
<?php | ||
$email = get_the_author_meta('user_email'); | ||
|
||
echo '<p><a href="mailto:'.$email.'">'.$email.'</a></p>'; | ||
?> | ||
</header><!-- .entry-header --> | ||
|
||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
<?php | ||
wp_link_pages( array( | ||
'before' => '<div class="page-links">' . __( 'Pages:', 'cs' ), | ||
'after' => '</div>', | ||
) ); | ||
?> | ||
</div><!-- .entry-content --> | ||
<footer class="entry-footer"> | ||
<?php edit_post_link( __( 'Edit', 'cs' ), '<span class="edit-link">', '</span>' ); ?> | ||
</footer><!-- .entry-footer --> | ||
</article><!-- #post-## --> |
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
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
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