• I have multiple authors on the Olsen Light theme and I don’t see an author name option to show for each post?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,
    you can open single.php and content-entry.php and paste
    <?php the_author(); ?>
    before
    <time class="entry-date" itemprop="datePublished" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time>

    Try installing the WP Editor plugin to enhance the default editor and then navigate to the /themes/olsenlight/ folder to find the file.

    Is there code I can put into a WordPress Add Custom CSS plugin to achieve this (having the author name show up under the post title)?

    Fotis

    (@markwaregr)

    Hi there,
    CSS is only meant for styling changes (color change, margins and paddings etc). If you need to show new data from WordPress you will need some html/php like noted above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Author Name’ is closed to new replies.