Your Time:
Our Time:
← Back to discussions

Need to remove all Post dates

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 6 replies, 2 voices, and was last updated 9 years, 8 months ago by Anonymous.

  • 2016-06-05 at 9:41 pm
    Support Expired
    #14675
    getyler2
    Participant
    • Topics: 15
    • Replies: 38
    • Total posts: 53
    • Post count: 50

    I need to remove all references to Post dates. Have tried using CSS display:none on all standard WP classes for dates but can’t hide them. Please advise. Thx

    2016-06-06 at 1:08 pm
    #14683
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Can you tell me where you wish to remove the post dates whether it’s in all the blog posts or in some other place? Send me the screenshot so that I can advise you.

    2016-06-06 at 6:47 pm
    Support Expired
    #14722
    getyler2
    Participant
    • Topics: 15
    • Replies: 38
    • Total posts: 53
    • Post count: 50

    Like I said… everywhere. I don’t need them at all for this website. Specifically, I need them removed from the “You might also like” links, screenshot attached. My site is about a 3-day music festival in October. Showing blog post dates will confuse everyone and my client will not like it.

    2016-06-07 at 11:17 am
    #14743
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Replace this line echo '<a href="'.esc_url( get_permalink( $post->ID ) ).'">'. get_the_title(). '</a> - <span>'.get_the_date().'</span>';

    with
    echo '<a href="'.esc_url( get_permalink( $post->ID ) ).'">'. get_the_title(). '</a>';

    in iva-generator.php and see.

    Also add this in style.css or in theme options custom css section.

    .iva-pm-postin {
        display: none !important;
    }
    2016-06-07 at 5:31 pm
    Support Expired
    #14758
    getyler2
    Participant
    • Topics: 15
    • Replies: 38
    • Total posts: 53
    • Post count: 50

    Thanks! It works if I make the change to iva-generator.php in the main theme. Again, this doesn’t work in the child theme so there’s 2 edits I’ll now have to re-change when theme updates happen. Wish it would work in the child theme. Thanks for the fix though. It was really important to get rid of those dates to avoid confusion on the actual concert dates.

    2016-06-08 at 11:02 am
    #14782
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Unable to access your files through wpide plugin. Allow access to edit the files so that I can fix the issue in child theme.

    2017-01-04 at 2:50 pm
    #18496
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved because of no reply. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.