• Resolved bmd9999

    (@bmd9999)


    i have the twentysixteen default wordpress theme installed, latest version and latest version of wordpress. The default page is set to show latest posts which is the default setting in the reading settings. The question I have is how can I show the author for each post on that page? If I click an individual post it shows the author there but not on the default page.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moin

    (@moinrrahmed)

    Hi @bmd9999, To show author name in the default post, you have to edit some code in the theme files.

    Go to /themes/twentysixteen/template-parts & open content.php
    At the bottom of the code, you’ll find Footer TAG with ‘entry-footer’ class.

    put this code <?php echo get_the_author(); ?> after this code <?php twentysixteen_entry_meta(); ?>

    Let me know if this helps.

    • This reply was modified 1 year, 3 months ago by Moin.
    Thread Starter bmd9999

    (@bmd9999)

    Thanks Moe, worked like a charm!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author Display on homepage displaying latest posts’ is closed to new replies.