Title: Expiration Date Options
Last modified: August 20, 2016

---

# Expiration Date Options

 *  [Sebastien Sanz de Santamaria](https://wordpress.org/support/users/sebastiensanzdesantamaria/)
 * (@sebastiensanzdesantamaria)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/expiration-date-options/)
 * 1) Can a date picker be used for the expiration date option, instead of the current
   dropdown for amount of days? I see the code for this in wpuf-add-post.php on 
   line 272, but I don’t know what to replace it with.
 * 2) If a user chooses NOT to set an expiration date, can the post remain with 
   out it? Currently it seems that activating that option in the admin panel sets
   expiration of all generated posts to at least 2 days (first option in the dropdown)
 * 3) If question 2 is possible, can generic text be used instead to indicate that
   there is no end date? (i.e. _This post is ongoing_)
 * I’m trying to build a deadline/open call registry for artists and the expiration
   option is perfect for this, though some posts do not have a deadline, hence the
   need for an no-expiration option.
 * Thanks for your help and awesome plugin!
 * [http://wordpress.org/extend/plugins/wp-user-frontend/](http://wordpress.org/extend/plugins/wp-user-frontend/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Sebastien Sanz de Santamaria](https://wordpress.org/support/users/sebastiensanzdesantamaria/)
 * (@sebastiensanzdesantamaria)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349452)
 * I’ve figured out how to implement a jquery date picker via this thread: [http://wordpress.org/support/topic/how-to-add-jquery-datepicker?replies=9](http://wordpress.org/support/topic/how-to-add-jquery-datepicker?replies=9)
 * and attempted replacing code in wpuf-add-post.php on line 272 with date picker
   code.
 * I can see the date picker on frontend post, but it doesn’t get registered when
   post is submitted. I’m not a developer, so have no idea how to do this.
 * Also noted: the expiration date option is not available in Edit mode, once a 
   post is generated. How can a frontend user change expiration afterwards?
 * Thanks in advance for any input.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349571)
 * This is mostly fixed in the [development](http://wordpress.org/support/topic/frontend-updates-2rrr-fork)
   version
 *  Thread Starter [Sebastien Sanz de Santamaria](https://wordpress.org/support/users/sebastiensanzdesantamaria/)
 * (@sebastiensanzdesantamaria)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349612)
 * Thanks professor! I see that the development version does mostly fix these issues.
 * Is there anyway to place the Category selection and the Post Expiration fields
   to ABOVE the description? Like the custom fields? I tried editing the wpuf-add-
   post.php of your fork version, but got errors.
 * thanks for your really really great work.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349620)
 * Hi Sebastien. The only way to do this is to edit the wpuf-add-post.php and wpuf-
   edit-post.php files. Shouldn’t be too hard so try again. Tareq in the distant
   future is looking to add custom forms which would make this a breeze but don’t
   hold your breath as it involves a lot of work.
 *  Thread Starter [Sebastien Sanz de Santamaria](https://wordpress.org/support/users/sebastiensanzdesantamaria/)
 * (@sebastiensanzdesantamaria)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349625)
 * Hi professor!
 * I’ve pretty much figured things out, all things are pretty much dandy for my 
   needs.
 * BUT I don’t know what happened recently with the date expiration. It now sets
   the day to ONE day before the set date.. forcing me to set it one day forward
   to get the right day.
 * I edited heavily, but just to make sure it was not me.. I re-installed your fork
   from Github… like i did initially.. and it still sets it back one day.
 * do you see this happening anywhere else?
 * any help would be great.
 * thanks
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349629)
 * Haven’t noticed this. Also I note in another post you mentioned that it now works.
   Could you be getting local time and server time mixed up?.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Expiration Date Options’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [professor99](https://wordpress.org/support/users/professor99/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/expiration-date-options/#post-3349629)
 * Status: not resolved