This topic has 11 replies, 4 voices, and was last updated 8 years, 6 months ago ago by Stan Russell
Hello,
I would like to remove the author name for the blog posts.
Thanks!
Kris
Hello Kris,
please specify where do you want to remove author name for posts – on Blog page, in footer blog posts widget or in both places?
Regards,
Stan Russell.
Stan,
In both places please and anywhere the name shows up.
Thank you,
Kris
Hello,
Please comment out this code in \wp-content\themes\legenda\framework\widgets.php file on line 368
<?php _e('by', ETHEME_DOMAIN) ?> <strong><?php the_author(); ?></strong><br>
and use this code in custom.css file
.blog-post .post-info {
display: none;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Robert,
I will try that now. Thank you
Kris
Hello Kris,
we will be waiting for your reply.
Regards,
Stan Russell.
Hello Stan,
I went ahead and commented out the php that you said and also added the css and it didn’t seem to work. Now it shows up like this http://s17.postimg.org/we55zaebj/author.png
Thanks,
Kris
Hello,
You commented the code incorrectly.
Please refer to this article:
https://codex.wordpress.org/Commenting_Code
Best regards,
Jack Richardson.
Jack,
Thanks! I did it. but is there anyway to add padding to the date so that it sits a little closer to the blog title?
Kris
Hello,
I’ve commented
tag on line 368 in the /wp-content/themes/legenda/framework/widgets.php file.
Please check your site now.
Best regards,
Jack Richardson.
Hello Kris,
please show on screenshot what results do you want to achieve.
Regards,
Stan Russell.
You must be logged in to reply to this topic.Log in/Sign up