Remove author name in blog posts - by Kris

This topic has 11 replies, 4 voices, and was last updated 8 years, 6 months ago ago by Stan Russell

  • Avatar: Kris
    Kris
    Participant
    September 29, 2015 at 18:49

    Hello,

    I would like to remove the author name for the blog posts.

    Thanks!

    Kris

    10 Answers
    Avatar: stan
    Stan Russell
    Participant
    September 30, 2015 at 07:22

    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.

    Avatar: Kris
    Kris
    Participant
    September 30, 2015 at 17:41

    Stan,

    In both places please and anywhere the name shows up.

    Thank you,

    Kris

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 30, 2015 at 18:20

    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.

    Avatar: Kris
    Kris
    Participant
    September 30, 2015 at 23:28

    Robert,

    I will try that now. Thank you

    Kris

    Avatar: stan
    Stan Russell
    Participant
    October 1, 2015 at 07:49

    Hello Kris,

    we will be waiting for your reply.

    Regards,
    Stan Russell.

    Avatar: Kris
    Kris
    Participant
    October 1, 2015 at 19:14

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 2, 2015 at 07:21

    Hello,

    You commented the code incorrectly.

    Please refer to this article:
    https://codex.wordpress.org/Commenting_Code

    Best regards,
    Jack Richardson.

    Avatar: Kris
    Kris
    Participant
    October 2, 2015 at 18:47

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 5, 2015 at 08:12

    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.

    Avatar: stan
    Stan Russell
    Participant
    October 5, 2015 at 08:31

    Hello Kris,

    please show on screenshot what results do you want to achieve.

    Regards,
    Stan Russell.

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.