• I have a custom footer and the Leave a Comment link seems to be in the footer too and is obscured. How do I move the Leave a Comment link out of the footer and to the bottom of the post itself? I am running Decode theme.

    I think that since the footer is centered this is the reason why the Leave a Comment, Author, and post tags are all centered too, which is not good. I need those left justified, with all the post tags on one line. The link is https://lallabee.com/backstage/

    I found the following code in the content.php file. Is there a way to change this in CSS? Thank you so very much for your help!

    <footer class="entry-footer below-content">
    		<?php if (get_theme_mod( 'enable_comments', true ) == true && ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
    			<div class="comments-link <?php echo get_theme_mod( 'enable_comments', '' ); ?>"><?php comments_popup_link( __( 'Leave a comment', 'decode' ), __( '1 Comment', 'decode' ), __( '% Comments', 'decode' ) ); ?></div>
    		<?php endif; ?>
    		<?php edit_post_link( __( 'Edit', 'decode' ), '<div class="edit-link">', '</div>' ); ?>
    		<?php if (get_theme_mod( 'show_tags', false ) == true ) : ?>
    			<p class="tags"><?php the_tags(__( 'Tagged as: ', 'decode' ),', '); ?></p>
    		<?php endif; ?>
    		<?php if (get_theme_mod( 'show_categories', false ) == true ) : ?>
    			<p class="categories"><?php _e( 'Categorized in: ', 'decode' ) . the_category(', '); ?></p>
    		<?php endif; ?>
    		<?php if ( get_theme_mod( 'entry_date_position', 'below' ) == 'below' ) : ?>
    			<p class="date"><?php decode_posted_on(); ?></p>
    		<?php endif; ?>
    	</footer><!-- .entry-footer -->
Viewing 2 replies - 1 through 2 (of 2 total)
  • Looking at the link you provided, that page is a Page and not a post.
    Looking at the demo, there doesn’t seem to be links on pages:
    https://decode-wp-demo.scotthsmith.com/?page_id=74

    Anyhow, looking at the source code as well, I don’t see anything in the <footer> tag.

    Thread Starter Scott Foshee

    (@scott-foshee)

    Thank you very much for looking. It is the blog page. The custom footer at the bottom obscures the Leave a comment link at the bottom, which for some reason has each word in the link centered on a separate line. Click the link and you can see how the blog poster’s name and the tags are all centered on separate lines as well.

    1. How to keep the comment link above the footer?

    2. How to keep the comment link, poster name and tags from centering on separate lines?

    3. How to put the post date in?

    I’m sure there is a setting for this somewhere but I cannot seem to find it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Leave a Comment, Author and Tags are in footer – how to move to bottom of post?’ is closed to new replies.