• Resolved rainer23

    (@rainer23)


    Don’t know what happened, suddenly below each article appears the first paragraph of the About Page of my blog with a link to the About Page.

    Any idea how to turn this off? Thanks for any suggestion!

Viewing 4 replies - 1 through 4 (of 4 total)
  • some themes, such as twenty ten, are showing the author description below each single post:
    for twenty ten, the code is in loop-single.php and starts with:
    <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
    and ends with <?php endif; ?> about 15 lines further down.

    you theme might be different

    Thread Starter rainer23

    (@rainer23)

    Thanks alchymyth, right I’m using the twenty ten theme. You mean to say by putting a // before <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?> in loop-single.php file this will be turned off?

    nope – you will just get an error message, because you are commenting the start of an if statement, but leave the end of it open.

    https://php.net/manual/en/language.basic-syntax.comments.php

    this might work:

    <?php /* if ( get_the_author_meta(............
    …..
    <?php endif; */ ?>

    Thread Starter rainer23

    (@rainer23)

    Thanks, that worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘About Page at the bottom of each article’ is closed to new replies.