WordPress.org

Forums

[resolved] "About Me" shows up on post and text under comment field (8 posts)

  1. Sock Mom
    Member
    Posted 4 years ago #

    My blog is new and I have to issues I'm dealing with at the moment:

    1) When you click on a post, at the bottom my "About Me" shows up in a grey box. I don't know why my "About Me" / bio shows up on every post, but it's annoying and I need to remove it.

    2) There is text under the "Comment Box" telling readers what codes they can use. I'd like to get rid of that, too.

    I'm not that skilled at changing code, so if there's some other way I could do it I'd appreciate the advice.

    site: http://www.sockitmama.com/

  2. Chelsea Otakan
    Member
    Posted 4 years ago #

    You'll need to go into your templates and change code for both of these.

    You'll want to remove this from loop-single.php:

    <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries  ?>
    					<div id="entry-author-info">
    						<div id="author-avatar">
    							<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>
    						</div><!-- #author-avatar -->
    						<div id="author-description">
    							<h2><?php printf( esc_attr__( 'About %s', 'twentyten' ), get_the_author() ); ?></h2>
    							<?php the_author_meta( 'description' ); ?>
    							<div id="author-link">
    								<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
    									<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() ); ?>
    								</a>
    							</div><!-- #author-link	-->
    						</div><!-- #author-description -->
    					</div><!-- #entry-author-info -->
    <?php endif; ?>

    the comments form edit would take a little more code messing if you're up to it. I'd recommend leaving it in so commenter's know why they're comments get filtered.

  3. Sock Mom
    Member
    Posted 4 years ago #

    Hi, Chexee:

    So, I just go into the Editor of my template and delete this code when I find it? Is the code exactly what's listed?

    Thanks so much and I apologize if this is a duplicate post. I couldn't find the post from the first time I asked the question.

  4. Sock Mom
    Member
    Posted 4 years ago #

    Okay, I just found this:

    Author Template
    (author.php)

    I'm going to look at the code right now.

  5. Sock Mom
    Member
    Posted 4 years ago #

    Here's all the code I found. Do I delete all of it? Or, just the entries pertaining to the author?

    [code moderated as per forum rules - a link to your site is sufficient to access the stylesheet.

    look into loop-single.php for the suggested code.]

  6. Sock Mom
    Member
    Posted 4 years ago #

    Chexee, the code you suggested I remove does not appear on my template and nothing remotely close to it does, as well. I'm still trying to figure this out.

  7. Sock Mom
    Member
    Posted 4 years ago #

    I eventually found the code and remmoved it. It wasn't under loop-single.php. It was on the single post editing page.

    Thank you.

  8. fashion2012
    Member
    Posted 3 years ago #

    single.php is the normal location of author link on post page. I had the same issue but now after using yoast, I disabled the author archive and link on my blog [link removed]

Topic Closed

This topic has been closed to new replies.

About this Topic