Support » Fixing WordPress » How to get the byline to not appear

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You want to edit the index.php file, (and any other pages, single.php, etc) and remove the section that has <?php the_author(); ?>

    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).

    Les Bessant


    keeper of the Tiggers

    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.

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

    When I click on 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?

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to get the byline to not appear’ is closed to new replies.