I assume this is the right place to ask this… I’m using twenty-twelve (child Theme) and I want the author and the date of each post to show up right under the title of each post. Right now by default it shows way down at the bottom with all the tags and categories. I don’t want to move all the tags and categories up top – just the author and the date. I have been looking all over for this and can’t find an answer anywhere.
I appreciate any help – but please know I’m a simpleton when it comes to php and all that so I request that you are very step by step in your replies… and I don’t know how to write code, but I can copy and paste like nobody’s business!
The first step is to make sure the following files are in your child theme folder: content.php and take the following method call on line 45:
<?php twentytwelve_entry_meta(); ?>
and paste this wherever you want the meta information to appear.
Hope this helps
Hey thanks I did what you said and it looks to be a start, but there seem to be some issues.
I moved the call up trying to get it under the post title (not sure where exactly that was)
<h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> <?php twentytwelve_entry_meta(); ?> <?php endif; // is_single() ?> <?php if ( comments_open() ) : ?> <div class="comments-link">
But now it looks like it moved all the info categories, tags, date, and author up top. I don’t like the look of that too much and am aiming to get it to just show the date and author under the title and leave the categories and tags at the very bottom.
Furthermore, it looks to have only changed the position on the page that shows all my posts and not on the actual post page.
List of posts – http://www.nerdycritics.com/category/reviews/movie-reviews/
Post (not on top or the bottom) – http://www.nerdycritics.com/artist/
Found the fix it was on this forum post
- The topic ‘Moving Byline – Author and Date from bottom to top in twenty twelve’ is closed to new replies.