• Hey guys,

    I’m using the Twenty Eleven theme, and I want to move the date & time of a post, so that it shows on the bottom of the post, instead of the top.

    So instead of “Posted on June 16, 2012” on the top, it shows at the bottom.

    I’ve searched for this, and found similar cases, but not for this theme, and I haven’t been able to locate which file(s) I have to edit.

    Anyone who can help out? ??

    Much appreciated!

Viewing 1 replies (of 1 total)
  • start by creating a child theme of Twenty Eleven – https://codex.www.ads-software.com/Child_Themes
    – don’t edit the default theme directly.

    for the index pages, edit the content.php template within the child theme;

    find:

    <?php if ( 'post' == get_post_type() ) : ?>
    			<div class="entry-meta">
    				<?php twentyeleven_posted_on(); ?>
    			</div><!-- .entry-meta -->
    			<?php endif; ?>

    and move this for instance to before this line:

    <footer class="entry-meta">

    for single posts, edit content-single.php;
    and do the same.

    the exact location might depend on your idea of ‘at the bottom’;
    if you need further suggestions, please post a link to your site to illustrate what you have so far.

Viewing 1 replies (of 1 total)
  • The topic ‘How to move date & time to the bottom of post instead of on the top?’ is closed to new replies.