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?
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
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
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
Thank you Ismael it worked :https://www.dmgaz.org/detecting-breast-cancer-early/ the “by” is gone.
Tina