Remove “by” in the author in main page

EG Started by Emrah Gölbaşı · November 10, 2020 at 11:59 am · 4 replies 0 voices Last reply 5 years, 7 months ago
EG
Emrah Gölbaşı Original poster Member
#1

İn the front page, I want to remove some parts as below:

– “by:…” I only want to see the name of the author without “by” in the highlight area

– “posted on:…” and “posted by:…” in the posts in the main page

Thanks

ST
Spiracle Themes Original poster
#2

Hi Emrah,

the By in the highlight area can be removed easily by the CSS below

span.by {
display: none;
}

Copy and paste it in Appearance -> Customize -> Additonal CSS

For removing the Posted by and Posted on text, you’ll have to edit the code file. If you’re comfortable to edit then we can proceed further

Let us know if you have any questions

Best Regards

EG
Emrah Gölbaşı Original poster
#3

Hello again,
Thanks for sharing the CSS. It worked.
For the second issue;
I would like to keep the date and author information but only remove the “posted on” and “posted by” expressions from there.
I appreciate if you can guide me through code modification.

ST
Spiracle Themes Original poster
#4

Hi Emrah,

Please follow the steps below

1) Go to your theme root directory ie (wp-content/themes/purea-magazine)
2) Open folder template-parts/post/ and open file content-single.php with the text editor.
3) Find line number 31 and 32 and remove the text Posted on and Posted by

Let us know if you have any questions

Best Regards

Post a reply

Join the conversation. Be kind — this is a public forum.

Replying to Remove “by” in the author in main page

By posting, your reply becomes public (unless marked private).