• Resolved dman1302

    (@dman1302)


    I am looking to remove the date from the virtue recent posts widget is there any custom css to complete this? I have tried the WP date remover and it removes every date from the site. I would only like the recent posts widget dates removed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter dman1302

    (@dman1302)

    Forgot to add using Virtue 1.8.4 free version

    Thread Starter dman1302

    (@dman1302)

    Removed

    ‘<span class=”recentpost_date”><?php echo get_the_date(get_option( ‘date_format’ )); ?></span>’

    from widgets.php

    worked like a charm. Still would like to know if there is some custom css that can be added because updates will remove this.

    Thanks again.

    Here you go, sorry about the delay – busy season ??

    .kadence_recent_posts .recentpost_date {
    display: none;
    }

    Kadence Themes

    Thread Starter dman1302

    (@dman1302)

    Its all good. I appreciate it. Just didn’t want to have to create a child theme for that little code! Thank you again!

    Hi.. can you tell me exactly where to put this code? Is it in the “custom.php” or “custom-css.php”? And what needs to proceed the line of code provided? Sorry I have to have it spelled out for me.. I tried tinkering around and got a syntax error. Thanks.

    While we’re at it, is there anyway to remove the date in the permalink URL of posts?

    You put css in the custom css box in the theme options > advanced settings. Don’t edit php files and don’t add css to theme files.

    Permalink settings are part of the wordpress settings. themes don’t control this go to settings permalinks and choose an option without a date.

    Please in the future create new topic so your question is not missed.

    Kadence Themes

    Thank you.. suppose I should have known that, but I only use it sparingly, and it’s been a while.

    However, it’s not working for me. I’ve copied & pasted what you posted here. I’m thinking we’re actually talking about two different things.

    I’d like to remove the date from the “Latest Blog Posts” widget on the front page. Under where it says “inspirational writings & reflections of the soul”:

    https://www.awakeningtobeauty.com

    Thx,
    BBB

    (noted re: starting new topic, w/do in future)

    hannah

    (@hannahritner)

    Hey buddhaburke, try adding this to your custom css box in appearance > theme options > advanced settings:

    .home .postdate {
    display: none;
    }

    Hope this helps!
    Hannah

    Yes that did it! ty so very much! ?? … so happy to receive such prompt support from admins and community

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove Date from Recent Posts Widget’ is closed to new replies.