Last active
December 16, 2015 04:38
-
-
Save TacoSteemers/5378038 to your computer and use it in GitHub Desktop.
Adding author name/link to WP Vintage Camera theme. content.php for main page, and content-single.php for the one post view
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
Just before the tags: | |
... | |
<footer class="entry-meta"> | |
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?> | |
<span>Written by: <?php the_author_link(); ?></span> | |
... | |
or just before the date: | |
<div class="entry-meta"> | |
<?php vintage_camera_posted_on(); ?> | |
<span style="float: right;"> | |
Written by <?php the_author_link(); ?> | |
</span> | |
</div><!-- .entry-meta --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment