Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1483787

    Hi Enfold Team,
    I have only a few authors in my clients website, but sometimes one of the 300 medical professionals writes an article.
    So it looks kind of strange if it says by twice. please see the link blelow.

    April 10, 2018/by District Medical Group
    by Hollie Costello & Toni Eberhardt

    https://www.dmgaz.org/make-a-wish-arizona-and-district-medical-group-wishes/

    I think it would be fine if it just said:

    April 10, 2018/ District Medical Group
    by Hollie Costello & Toni Eberhardt
    so basically get rid if the first “by” how do I do this?

    #1483808

    Hey Tina,

    Thank you for the inquiry.

    You have to modify the includes > loop-index.php file, and look for this code around line 548:

    
    $meta_author  = '<span class="blog-author minor-meta">' . __( 'by', 'avia_framework' ) . ' ';
    

    Remove the word "by", or replace it with:

    
    $meta_author  = '<span class="blog-author minor-meta">';
    

    Best regards,
    Ismael

    #1483884

    Thanks Ismael,
    If I mess with the loop-index.php file won’t it be overwritten in the next update?
    or should I put a copy of it into the child theme?
    Thanks
    Tina

    #1483902

    Hi,

    Yes, you can put a copy of the includes > loop-index.php file in the child theme to override it. Make sure the folder structure is the same. Let us know the result.

    Best regards,
    Ismael

    #1483937

    Thank you Ismael it worked :https://www.dmgaz.org/detecting-breast-cancer-early/ the “by” is gone.
    Tina

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