WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Sports Club Lite – Author does not show under posts

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20211
    Cesar Vazquez
    Participant

    The blog page didn’t show the Author of the post only shows “ PUBLISHED BY %S”, I tested creating new post and it didn’t show the Author.

    #20212
    Cesar Vazquez
    Participant

    I was able to fix this issue, I edited the file sports-club-lite/content.php ->Lines->
    <div class=”post-author”><i class=”fas fa-user”></i>
    <?php printf(
    /* translators: %s: post author */
    esc_html_e( ‘Published by %s’, ‘sports-club-lite’ ),
    esc_html( get_the_author() )
    );
    ?>
    I changed to

    <div class=”post-author”><i class=”fas fa-user”></i>
    <?php printf(
    /* translators: %s: post author */
    esc_html_e( ‘Published by ‘, ‘sports-club-lite’ ),
    esc_html_e( get_the_author() )
    );
    ?>

    I know this is not the best way to fix it but I didn’t find any other way to do it, and I think this part can be removed n the next update, so please let me know if there is other way to fix it.
    Thank you!!

    #20221
    Grace Themes
    Member

    That’s great. The changes you did is right.

    We will solve this issue in our next theme update.
    Also thanks for letting us about this issue.

    Regards
    Grace Themes

    #20320
    Tom Geldner
    Participant

    You also have to change ‘content-single.php’ the same way.

    #20340
    Grace Themes
    Member

    Yes, thanks for your feedback.

    #20372
    Cesar Vazquez
    Participant

    Thank you for the feedback you can mark this post like solved
    Thank you

    #20375
    Grace Themes
    Member

    You are most welcome!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.