WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display contributor within post (8 posts)

  1. lp002g
    Member
    Posted 7 years ago #

    Hi - can someone let me know if there is a setting that would automatically display the author / contributor when they post? Thankyou!

  2. moshu
    Member
    Posted 7 years ago #

    Yes, if you let us know what theme are you using.

  3. lp002g
    Member
    Posted 7 years ago #

    Thank you for the quick response!

    I am using WordPress Default 1.6 by Michael Heilemann

  4. moshu
    Member
    Posted 7 years ago #

    Then open the relevant template file(s) - like index, arhive, single...- and find the_author template tag.
    Most likely it is commented out with
    <!-- tag here... -->
    Remove the comment out.

  5. lp002g
    Member
    Posted 7 years ago #

    Thank you again for responding so quickly!

    Unfortunately I am not at all tech saavy ... I'm not 100% sure what I need to do or where the change needs to be made ... is there a specific file I need to adjust within the Theme editor?

  6. moshu
    Member
    Posted 7 years ago #

    Well, for starters... I wouldn't touch that theme editor: it doesn't have an undo button!

    I always edit my template files on my computer in a plain text editor (Notepad would do it).

    1. You download the template files from your theme:
    example.com/wp-content/themes/default through a FTP client/sotware.
    (the same one you used to upload the WP files).
    2. Open the index.php file and find this in line 11:
    <!-- by <?php the_author() ?> -->
    Make it to llok like this:
    by <?php the_author() ?>

    3. Upload the modified file.

    Note. It is always advisable to make a backup copy of all the files you modify - just in case something goes wrong, you can revert to the unchanged version.

  7. lp002g
    Member
    Posted 7 years ago #

    Thank you!!

    I will give it a shot and hope for the best!

    (And of course make backups, just in case!)

  8. lp002g
    Member
    Posted 7 years ago #

    Wahoo! It worked! Thank you SO much!!!! :)

    Have a great weekend.

Topic Closed

This topic has been closed to new replies.

About this Topic