• Resolved lself

    (@lself)


    You can see it on the link/page I posted, but on every post I make, it says “byby Libby” for the author. I cannot find where to change that. All of the author places I have looked at just say “Libby.”

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    In your childtheme, copy the post-meta.php.
    You will have to replace this part :
    <span><?php echo esc_html__( ‘by’, ‘dosislite’ ) ?>by</span> <?php the_author() ?>

    With the following if you want one by:
    <span><?php echo esc_html__( ‘by’, ‘dosislite’ ) ?></span> <?php the_author() ?>

    With the following if you don’t want any “by”:
    <span><?php the_author() ?>

    Hope this helped!
    Flo

    Thread Starter lself

    (@lself)

    Thanks! I am new to WordPress and just really beginning to find my way around. Can you tell me where to go to make this change?

    Thanks again!

    Thread Starter lself

    (@lself)

    I got it figured out. Thank you again!

    How did you fix this? I’m noticing the same thing and would love to fix it.

    Hi,

    you need to apply the change indicated within the php file directly.
    Find the file named post-meta.php (under dosislite / template-parts ) and replace.

    If you did not make a child theme then your changes might be erase when the them will update.

    A child theme means you will use the theme of your choice as your base, and you will have a dedicated space to make modification that will not be erased by any update.

    Best Regards,

    Could you give a step by step of how to do that? Sorry, I am new to this.

    @marvinpierre On your wp-admin, go to: Appearance > Theme Editor > On the right-hand side is all the files in the theme > Find the folder called ‘template-parts’ and click on it to open it > Click on ‘post-meta.php’ which should have just appeared > On the left-hand side the file will open and show text > On line 3 of the text (starts with ‘<span>’) delete the ‘by’ between the ‘?>’ and ‘</span>’ > Press ‘Update File’. Should be fixed! 🙂
    If that gives you an error, then do it via FTP or cPanel File Manager and edit the file in the same way (it is in wp-content > themes > dosislite > template-parts > ‘post-meta.php’ – edit the file in exactly the same way as above)
    This is how I fixed it, hope it helps,
    Eddie

    • This reply was modified 4 years, 4 months ago by eddiestech.
    • This reply was modified 4 years, 4 months ago by eddiestech.
    • This reply was modified 4 years, 4 months ago by eddiestech.

    @eddiestech That worked! Thank you so much!!! 😀

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“Error” in Dosislite theme’ is closed to new replies.