Title: [Plugin: Quick Post Widget] Custom tinyMCE and custom DatePicker usage
Last modified: August 20, 2016

---

# [Plugin: Quick Post Widget] Custom tinyMCE and custom DatePicker usage

 *  Resolved [krama757](https://wordpress.org/support/users/krama757/)
 * (@krama757)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/)
 * Hey Inapan,
 * Been figuring out a lot about the quick post plugin but I’m still stuck on a 
   few things.
 * 1. **Where do you initialize tinyMCE?**
    I wanted to customize the initialization
   so that I could include and exclude buttons in the visual editor tinyMCE.
 * 2. **Where do you class the date picker?**
    I love how the date picker shows 
   up when I click on the post-date text box. But I also want it to show up with
   some other text boxes. Where is the call to open the date picker when a user 
   clicks on a textbox?
 * These should be very quick questions to answer. Hope I am not bothering ya 🙂
 * [http://wordpress.org/extend/plugins/quick-post-widget/](http://wordpress.org/extend/plugins/quick-post-widget/)

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

 *  Thread Starter [krama757](https://wordpress.org/support/users/krama757/)
 * (@krama757)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/#post-2113467)
 * Sorry..in the previous post…”Where do you class the date picker” should be “Where
   do you call* the date picker?”
 *  Plugin Author [inapan](https://wordpress.org/support/users/inapan/)
 * (@inapan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/#post-2113476)
 * The TinyMCE editor is initialized in the qpw.js javascript
 * The information however which buttons to include or exclude and which editor 
   plugins to load, is configured in some hidden fields in the quick-post-widget.
   php file (line 1052 for plugins and lines 1053 and 1054 for buttons).
 * The datetimepicker for the post-date has an id (quick_post_date). The function
   to open the datetimepicker is on line 38 of the qpw.js file.
 * I don’t know whether you need a datepicker with or without time component. If
   you need a datetimepicker you can just copy the function on line 38 of the qpw.
   js file and configure it for another field.
 * If you only need a datepicker I think it is possible to just call the datepicker.
   Perhaps we’ll have to work that out.
 * Hope this helps.
 * inapan
 *  Thread Starter [krama757](https://wordpress.org/support/users/krama757/)
 * (@krama757)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/#post-2113700)
 * Thanks a bunch inapan. As always your help is appreciated.
 *  Plugin Author [inapan](https://wordpress.org/support/users/inapan/)
 * (@inapan)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/#post-2113703)
 * You’re welcome!
 * inapan

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

The topic ‘[Plugin: Quick Post Widget] Custom tinyMCE and custom DatePicker usage’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-post-widget.svg)
 * [Quick Post Widget](https://wordpress.org/plugins/quick-post-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-post-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-post-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-post-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-post-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-post-widget/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [inapan](https://wordpress.org/support/users/inapan/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-tinymce-and-custom-datepicker-usage/#post-2113703)
 * Status: resolved