Recent posts widget - by michele - on WordPress WooCommerce support

Solved7 replies3 participantsUpdated by Jack Richardson

  • Avatar: michele
    michele
    Participant

    Hello.

    Is there a way to hide, in recent posts widget, the post info “from” (author) or date? I tried with custom css but I don’t see specific class for author and date.

    Thank you.

    Michele

    7 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Try to use this code in custom.css file:

    .blog-post .post-info {
        display: none;
    }

    Regards,
    Eva Kemp.

    Avatar: michele
    michele
    Participant

    Thank you for your answer, but it doesn’t work… 🙁
    The div class is <div class=”recent-post-mini”> and there aren’t other class style inside… maybe in not possible with custom css.

    Michele

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: michele
    michele
    Participant

    I am working on a local server with MAMP on Mac… because I use the same theme in another website try this credential:

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    If you use “Recent Posts widget” to show posts you need edit the file wp-content/themes/legenda/framework/widgets.php to hide an author, find the line 368 and comment or remove the code <?php _e('by', ETHEME_DOMAIN) ?> <strong><?php the_author(); ?></strong><br>

    Best regards,
    Jack Richardson.

    Avatar: michele
    michele
    Participant

    It works, thank you!

    Regards

    Michele

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

The issue related to '‘Recent posts widget’' has been successfully resolved, and the topic is now closed for further responses