• Resolved AC

    (@soco)


    Hi
    So when I first activated the plugin it didn’t work, then I edited the post- post date to include a span and then all of my dates stopped working.

    This is what the code looks like
    <p><?php _e( 'By', 'mvp-text' ); ?> <?php the_author_posts_link(); ?> <span class="post-date"> <?php _e( 'on', 'mvp-text' ); ?> <?php the_time(get_option('date_format')); ?></span></p>

    https://wordpress.org/plugins/wp-old-post-date-remover/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Hey AC!

    Can you sent along a link to your site? It would be easiest if I have a link to both a post that should have the date, and one that shouldn’t have the date, based on the number you entered on the settings page for my plugin.

    Ben

    Thread Starter AC

    (@soco)

    Ok so like I said all the dates are missing they so up for a second then disappear.

    In the settings I have it set for 30days and here are two articles

    this was written 10 days ago
    http://www.madamesque.com/how-to-wake-up-to-life/

    This was written in August
    http://www.madamesque.com/why-it-is-so-hard-to-forgive-someone/

    as you can see they both have the same results.

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Thanks for sending those along.

    This is a weird one!

    Are you running any sort of caching on the site? The way my plugin works is that it uses the date that the server outputs to calculate whether or not to load a stylesheet to hide the date.

    Your site is inaccurately declaring the date of that newer post (somehow) which is most often caused by a caching plugin, which functionally removes the server from the equation by delivering a “snapshot” of the post content to save on the server hit, which speeds up your site for visitors.

    The best way to narrow down the issue is to deactivate plugins to see if one of them is causing a conflict. Start with caching plugins.

    Your code above looks good, and the plugin is “working” in that it is loading that stylesheet. Now we just have to help it only deliver that stylesheet to the correct posts. So that narrows it down to an issue with either another plugin, or how that theme calls for the date. Because it’s a pay theme, I can’t download it to my dev environment and poke through it.

    We’ll get it figured out, though.

    Plugin Author Ben Meredith

    (@benmeredithgmailcom)

    Following up here. Were you able to get this resolved?

    Let me know if I can help. I’ll go ahead and mark this issue as resolved, but I’m still available to help you if you need me.

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All my dates are missing’ is closed to new replies.