• Resolved Jacquelyn Williams

    (@jacquelyn-williams)


    My comments link is near the post title, but I’d prefer it was at the bottom of the post, after the reader has gone through the article.

    http://www.stamphappy.co.nz

    How can I move this? I’m not versed in computer code and need step by step, please. thanks
    Jacque

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author TT Themes

    (@tomastoman)

    Dear Jacque,

    to move the post meta data (author’s name, publish date and comments number) at the bottom on your blog entries, you will need to edit the “content-archives-standard.php” theme file. You can edit it via the panel “Appearance > Editor” in your WordPress administration, but more convenient would be to create a child theme.

    Please search for the following code in “content-archives-standard.php”:

    <?php if ( $songwriter_display_meta_post_entry != 'Hide' ) { ?>
            <p class="post-meta">
              <span class="post-info-author"><i class="icon_pencil-edit" aria-hidden="true"></i><?php the_author_posts_link(); ?></span>
              <span class="post-info-date"><i class="icon_clock_alt" aria-hidden="true"></i><a href="<?php echo get_permalink(); ?>"><?php echo get_the_date(); ?></a></span>
    <?php if ( comments_open() ) : ?>
              <span class="post-info-comments"><i class="icon_comment_alt" aria-hidden="true"></i><a href="<?php comments_link(); ?>"><?php printf( _n( '1 Comment', '%1$s Comments', get_comments_number(), 'songwriter' ), number_format_i18n( get_comments_number() ), get_the_title() ); ?></a></span>
    <?php endif; ?>
            </p>
    <?php } ?>

    and move it just below this code:

    <?php global $more; $more = 0; ?><?php the_content(); ?>
    <?php } ?>

    Best regards,
    Tomas Toman

    Theme Author TT Themes

    (@tomastoman)

    I just realized that there is another one (and probably much simpler) solution. If you insert the following custom CSS into “Theme Options > Other Settings > Custom CSS”, it should move the post meta data at the bottom of your blog entries:

    #wrapper .post-entry .post-meta {position: absolute; bottom: 13px;}
    #wrapper .post-entry .post-entry-content {padding-bottom: 20px;}

    If you add this custom CSS, it will work also on your single posts, not only on the post summaries on your blog page:

    .single .entry-content-inner .post-meta {position: absolute; bottom: 5px;}
    .single .nav-wrapper {margin-top: 15px;}

    Best regards,
    Tomas Toman

    Thread Starter Jacquelyn Williams

    (@jacquelyn-williams)

    Thanks so much Tomas. I copied those two codes into the place specified. We’ll see how it goes! 🙂

    Thread Starter Jacquelyn Williams

    (@jacquelyn-williams)

    Yuuus! It worked. You’re brilliant – thank you so much.

    Theme Author TT Themes

    (@tomastoman)

    You are welcome!

    Best regards,
    Tomas Toman

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Move comments link’ is closed to new replies.