You’ll need to check your single.php file to see if the author name is enabled. Should be:
<?php the_author_posts_link();'' ?>
More info on the function can be found here:
https://codex.wordpress.org/Function_Reference/the_author_posts_link
Thank you for your help! I’m not kidding when I said I don’t have a clue about coding. I finally found where the single.php file is (it took me all day, sheesh I feel dumb!). I do not see:
<?php the_author_posts_link();” ?>
Where do I insert it? This is what it looks like now:
<?php
/**
* The Template for displaying all single posts.
*
* @package Omega
*/
get_header(); ?>
<main class=”<?php echo omega_apply_atomic( ‘main_class’, ‘content’ );?>” <?php omega_attr( ‘content’ ); ?>>
<?php
do_action( ‘omega_before_content’ );
do_action( ‘omega_content’ );
do_action( ‘omega_after_content’ );
?>
</main><!– .content –>
<?php get_footer(); ?>
Hello,
Hope you are well.
I don’t know that much about php, but I would insert it after this line.
do_action( 'omega_before_content' );
Just make sure you have FTP access in case of a syntax error.
Thanks.
The author name is located in the header banner.
Dlorascr this is a theme specific question, rather than a WordPress question. You’d be better contacting the theme developer for an adequate answer. Contact Theme Hall
I’ve just had a look at the theme and it seems that
do_action( 'omega_content' ); calls content.php, which in turn calls partials/entry-byline.php
There is a line of code in there that looks like it should be displaying the author name.
<span <?php omega_attr( 'entry-author' ); ?>><?php echo __('by ', 'omega'); the_author_posts_link(); ?></span>
So you don’t need to add the code I suggested. It’s already there.
Thank you everyone! I will contact Theme Hall as suggested. Hopefully this will be resolved very soon.