Recent posts widget - by michele - on WordPress WooCommerce support

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

  • Avatar: michele
    michele
    Participant
    August 20, 2015 at 10:40

    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
    Support staff
    August 20, 2015 at 11:26

    Hello,

    Try to use this code in custom.css file:

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

    Regards,
    Eva Kemp.

    Avatar: michele
    michele
    Participant
    August 20, 2015 at 11:46

    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
    Support staff
    August 20, 2015 at 11:56

    Hello,

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

    Regards,
    Eva Kemp.

    Avatar: michele
    michele
    Participant
    August 20, 2015 at 12:47

    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
    August 20, 2015 at 15:33

    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
    August 21, 2015 at 09:38

    It works, thank you!

    Regards

    Michele

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 21, 2015 at 10:25

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

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

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

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