user3490954 user3490954 - 1 year ago 81
CSS Question

How do I display authors on Wordpress Blog Posts?

I have a custom theme running Wordpress 4.6.1. I have a separated subdomain for my blog on the site, None of my blog posts are showing the author.

I have tried installing various different plugins, but there seems to be a coding issue with the theme that does not automatically display the author's name on each post. My posts show the date and title, but no author name. What code do I need to utilize to display the author name?

Answer Source

I think you will need to add

<?php the_author(); ?> 

to your template file.

Reference the WordPress codex for guidance -

Hope this helps!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download