monicaDC
Member
Posted 10 months ago #
Hi there! I needed some help please. I am looking to add a custom date field in the wp-admin which would update the published date of a particular post (say post id=233). This field would be updated on a regular basis. The date field in the wp-admin would also have a date-picker calendar. Any ideas on how to go about doing this? Please advise. Thanks!
monicaDC
Member
Posted 10 months ago #
Anyone please? This is what I have in the admin site:
<form action="" id="menu_date" method="post" enctype="multipart/form-data">
<label for="menu_date">Menu Date</label>
<input class="mydatepicker" type="date" name="menu_date" />
<button class="button submit" type="submit">ADD</button>
</form>
I'm looking to update the post_modified date for the same post (post id=233) each time a new date is submitted through this form.
Any ideas?