WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Electric Studio Auto Post Expire] Expiry Date not showing – Electric Studio Post Expire plu

[Resolved] [Plugin: Electric Studio Auto Post Expire] Expiry Date not showing – Electric Studio Post Expire plu

  • My plugin never showed stored value of expiry date. With testing, I was never sure if expiry really happened.

    First: I realised the post really expired AFTER the nominated date, not ON it. And it did work, I just still couldn’t read back the date I set.

    Second, I patched the plugin as follows:
    File lib/metabox.php line 46:
    <input type="text" id="expirydate" name="expirydate" value="<?php echo get_post_meta($post->ID,"_es_expirydate",true); ?>" readonly="readonly" size="11" /> @23:59

    Note 2 changes:
    A. The @23:59 reminds me the date was last date of showing, not first date of not showing.
    B. (more important) Note the added word “echo” which now displays my set dates correctly on the metabox field.

    Now, if only there were a way to CLEAR the expiry date to blank.

    Brian

    http://wordpress.org/extend/plugins/electric-studio-auto-expire-post/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Electric Studio Auto Post Expire] Expiry Date not showing – Electric Studio Post Expire plu’ is closed to new replies.