algaroke
Member
Posted 2 years ago #
Can anyone help with this, I am using the Theme "WordPress Default - kubrick"
I want to display the name of author for each post, so I edited single.php and within "The Loop" I added:
<h2><?php the_title(); ?></h2><small><?php the_author(); ?></small>
but it doesn't work. Maybe I edited the wrong php file?
thanks,
al
algaroke
Member
Posted 2 years ago #
I edited
wp-content/themes/default/index.php
pasted in the lines to test the_author() info right after:
<p class="postmetadata">Posted in <?php the_category(', ') ?>...
saved the file and loaded the page into the browser and nothing about the_author was displayed. The site has multiple users and several of them have Role set to Administrator (but not all). Any other ideas on how to debug this?