How to remove author on recent post widget

This topic has 9 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Jack Richardson

  • Avatar: Val
    Val
    Participant
    July 23, 2014 at 16:41

    Hello, we have a wesite built using your theme – http://sharmgroup.by/
    On the home page (right column) – we placed recent post widget (first tab) and we would like to remove the author name (in our case its “smeg_user”) and a comma infront of it.

    Can you point us on where we can do it (what file and what code to change).

    Thanks in advance.

    8 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 23, 2014 at 16:45

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content and we’ll help you with the issue.

    Regards,
    Jack Richardson

    Avatar: Val
    Val
    Participant
    July 23, 2014 at 17:06

    Send you website admin data.

    Please, contact administrator
    for this information.
    Avatar: johntheone
    johntheone
    Participant
    July 23, 2014 at 17:08

    can you share the method as well? I have same problem too! thanks!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 23, 2014 at 17:21

    Hello @Val,

    You didn’t provide us with FTP credentials that’s why we can not edit your files. But you can do it yourself – just edit legenda/framework/widgets.php file and comment out line number 368.

    Regards,
    Jack Richardson

    Avatar: Val
    Val
    Participant
    July 23, 2014 at 17:35

    I found it.
    But I dont know how to “comment out line”

    Here is what i see on line 368
    <?php _e(‘by’, ETHEME_DOMAIN) ?> <?php the_author(); ?><br>

    What should I add/replace here?

    thank you.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 23, 2014 at 17:45

    Hello,

    This article should be helpful for you: http://php.about.com/od/learnphp/qt/php_comments.htm.
    Or you can just remove this line from the code.

    Regards,
    Jack Richardson

    Avatar: Val
    Val
    Participant
    July 23, 2014 at 17:47

    Got it handled myself.
    For people like me that don’t know how to comment out code – here is a very usefull link
    http://codex.wordpress.org/Commenting_Code

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 23, 2014 at 17:50

    We’re glad to hear it!
    If you have any questions feel free to contact us.

    Regards,
    Jack Richardson

  • Viewing 9 results - 1 through 9 (of 9 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.