WordPress.org

Ready to get started?Download WordPress

Forums

How to get the byline to not appear (7 posts)

  1. eschuman
    Member
    Posted 8 years ago #

    On my main blog page, I'm looking for an option to turn off the automatic display of the byline. For the moment, I am writing all the blog items so it looks silly to have my name appear underneath every blog post. Any way to make that change? I've looked in options and can't find anything that seems to address this.

  2. Michael Bishop

    Posted 8 years ago #

    You want to edit the index.php file, (and any other pages, single.php, etc) and remove the section that has <?php the_author(); ?>

  3. happyhorror
    Member
    Posted 8 years ago #

    I was wondering how to turn a byline ON.. for some reason my pages never seems to display them. I don't remember turning this option off, though. Is there a way to turn it on?

    Thank you :)

    (Oh and I am using the newest version of WP with several plug-ins in case that makes a difference, I can list them).

  4. It all depends on the theme you're using. Some include it, some don't. Others have it commented out like this:

    <!--<?php the_author(); ?>-->

    But all you need to do is the reverse of what miklb mentioned. Add <?php the_author(); ?> where you want the name to appear.

  5. happyhorror
    Member
    Posted 8 years ago #

    LesBessant, that worked flawlessly! Thank you very much. Oh and I am using default theme.

  6. strength
    Member
    Posted 8 years ago #

    When I click on noemail@noemail.org I get this error.

    parser error: syntax error, unexpected T_STRING in .../blog/wp-content/themes/cork-notes/index.php on line 34 - when I look on line 34, there is nothing so I am assuming I should put something there?

    I have read the above and added the code suggested in my theme on the Main Template Index. My first name only appears in parentheses but how do I get my email to not only appear but function properly?

  7. moshu
    Member
    Posted 8 years ago #

    @strength,
    Why are you hijacking a 6 months old topic that is not even remotely related to your question???

    Edit your index.php's line 34.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.