WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move 'posted by' (3 posts)

  1. makta112
    Member
    Posted 2 years ago #

    Hello

    I want to move the "posted by"-text below the title on my site: http://www.geimaku.com/2012/04/20/hello-world/

    Also, I want it to appear on the front-page: http://www.geimaku.com/ (For some reason, it doesn't appear here.)

    I'm using the Twenty Eleven child theme.

    Thanks.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    move the "posted by"-text below the title

    add this to style.css of your child theme:

    .singular .entry-header .entry-meta { position: relative; }

    to appear on the front-page

    compare content.php of the child tehme with content.php of Twenty Eleven;

    if it is missing, add this into content.php of the child theme (below the entry-title codes):

    <?php if ( 'post' == get_post_type() ) : ?>
    			<div class="entry-meta">
    				<?php twentyeleven_posted_on(); ?>
    			</div><!-- .entry-meta -->
    			<?php endif; ?>
  3. makta112
    Member
    Posted 2 years ago #

    It worked! Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic