[resolved] Moving Byline - Author and Date from bottom to top in twenty twelve (4 posts)

  1. nerdycritics
    Posted 3 years ago #

    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!

  2. Sunny Johal
    Posted 3 years ago #

    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

  3. nerdycritics
    Posted 3 years ago #

    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>
    <?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/

    Any help?

  4. nerdycritics
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic