• Resolved pavsma

    (@pavsma)


    On twenty twelve theme instead of the author-name/catagory/date displaying on the footer of every post, this is what I want to do:

    – I want the it to be displayed like this Category/date/authorname
    – I want it to be right under the title
    – I want it to be the same on single post and on main index
    – I wan to completely remove author-name/catagory/date at the bottom of both single post and main index.

    How do I doit? I have played around with many wordpress theme in past 5-6 years, but twenty twelve is one of the best minimalistic theme out there and at the same time one of the most annoying theme to customize.

    Right now I am trying to customize by putting

    <div style="margin-top:5px">
    <small> by <?php the_author_posts_link() ?> </small>
    </div>

    Right under on content.php:

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

    but it doesn’t solve the problem as it only displays author name on main index but not on single post.

    Any help is much appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter pavsma

    (@pavsma)

    Put my custom post meta under:

    <?php endif; // is_single() ?>

    And removed everything under

    <footer class="entry-meta">

    And it fixed my problem. For anyone interested the custom meta date info I used was this:

    <?php the_category(' ');?></span> <?php the_time('m/j/y') ?> <small> by <?php the_author_posts_link() ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Twenty Twelve Meta Customization’ is closed to new replies.