Title: [Plugin: Quick Post Widget] Custom fields?
Last modified: August 19, 2016

---

# [Plugin: Quick Post Widget] Custom fields?

 *  Resolved [clockwood](https://wordpress.org/support/users/clockwood/)
 * (@clockwood)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/)
 * How do you add wordpress Custom Fields to the quick-post form? I’m talking about
   accessing existing custom fields, not adding new ones. For example, I have a “
   Source URL” field that authors use to put the URL of articles they post, etc.
   It would be great to have this field available on the quick post form.
 * Thanks for your work on this plugin. It’s very helpful.
 * [http://wordpress.org/extend/plugins/quick-post-widget/](http://wordpress.org/extend/plugins/quick-post-widget/)

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/page/2/?output_format=md)

 *  Plugin Author [inapan](https://wordpress.org/support/users/inapan/)
 * (@inapan)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552766)
 * Hi clockwood,
    I will have to look in to it. If I can sort out how it works I
   can try to put in in a future release. Perry
 *  [poulsen](https://wordpress.org/support/users/poulsen/)
 * (@poulsen)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552783)
 * Fantastic widget, thank you!
    I’m also quite desperate to be able to add one 
   of my custom fields to the widget. If anyone knows how, I’d be most grateful 
   for your help!
 *  [poulsen](https://wordpress.org/support/users/poulsen/)
 * (@poulsen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552807)
 * I’ve hardcoded it for now. [@inapan](https://wordpress.org/support/users/inapan/)
   if you haven’t found a solution yet, this is what I did:
    in the quick-post-widget.
   php I put in the following code at line 394:
 *     ```
       <label for="quick_post_customfield" class="quick_post_label" style="<?php echo $label_style; ?>"><?php echo 'type your label to be displayed'; ?></label>
       						<br />
       						<input type="text" name="quick_post_customfield" id="quick_post_tags" style="<?php echo $post_tags_style; ?>" value="" />
       ```
   
 * then on line 559 after `echo "<meta http-equiv='Refresh' Content='1'; url='".
   $_SERVER['PHP_SELF']."'>";` I added:
    `update_post_meta($post_id, 'build', $_POST['
   quick_post_customfield']);` This solution is for a pure text custom field, and
   worked on my install, but use at own risk.
 *  [poulsen](https://wordpress.org/support/users/poulsen/)
 * (@poulsen)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552808)
 * oops, in the code for line 559 replace ‘build’ with the name of your custom field.
   Sorry about that!
 *  [wordpress_expert](https://wordpress.org/support/users/wordpress_expert/)
 * (@wordpress_expert)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552822)
 * Thanks a Bunch!!
    Above customfield thing in quick post widget works,
 *  [zebradaddy](https://wordpress.org/support/users/zebradaddy/)
 * (@zebradaddy)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552839)
 * I’m trying to use this fix (I need to show a custom field) but the syntax listed
   above (specifically the part line 559) isn’t there.
 * How do I add a custom field?
 * THANKS!
 *  Plugin Author [inapan](https://wordpress.org/support/users/inapan/)
 * (@inapan)
 * [15 years ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552842)
 * [@all](https://wordpress.org/support/users/all/)
    The next version will have 
   custom fields. They are working now but I’m still working on some other issues
   before I can release this new version. inapan
 *  [NOKYARD](https://wordpress.org/support/users/nokyard/)
 * (@nokyard)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552846)
 * On my site the Excerpt is more important than both the title and description.
   Is there any chance one of these additional fields will be for the Excerpt?
 *  Plugin Author [inapan](https://wordpress.org/support/users/inapan/)
 * (@inapan)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552847)
 * [@nokyard](https://wordpress.org/support/users/nokyard/)
 * Please mail me (address in the quick-post-widget.php file) to find out what it
   is exactly that you need.
 * inapan
 *  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-fields/#post-1552848)
 * [@all](https://wordpress.org/support/users/all/)
    Just uploaded version 1.8 with
   the ability to use custom fields.
 * [@nokyard](https://wordpress.org/support/users/nokyard/)
    Version 1.8 also has
   an option to use the excerpt.
 * inapan
 *  [NOKYARD](https://wordpress.org/support/users/nokyard/)
 * (@nokyard)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552849)
 * Thank you. The Excerpt field input works perfectly with the ability to add a 
   custom label.
 * Sadly, i am getting js errors which cause the Visual Editor to break. And, when
   the plugin is installed the TinyMCE editor in my Simple:Press Forum breaks. You
   both have the same philosophy regarding the use of WP’s built in js libraries
   but i can’t seem to get both versions of TinyMCE working at the same time (WP’s
   TinyMCE editor works fine).
 * [http://highspeedhalo.net/](http://highspeedhalo.net/)
 *  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-fields/#post-1552850)
 * [@nokyard](https://wordpress.org/support/users/nokyard/),
 * Sorry to hear about the TinyMCE problems. Could you send me an email (address
   in the quick-post-widget.php file) so we can work this out over mail? We’ll post
   the solution here. Also, is it possible for you to set up an account for me with
   the ability to test the widget?
    I just regsistered on your site but I can’t 
   seem to find the widget.
 * Thanks!
    inapan
 *  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-fields/#post-1552851)
 * [@nokyard](https://wordpress.org/support/users/nokyard/),
 * Update: I managed to get both copies of TinyMCE working by changing in the quick-
   post-widget.php file the line which says
 *     ```
       wp_enqueue_script('tinymce', get_bloginfo('wpurl') . '/wp-includes/js/tinymce/tiny_mce.js');
       ```
   
 * to
 *     ```
       wp_enqueue_script('tinymce', get_bloginfo('wpurl') . '/wp-content/plugins/simple-forum/editors/tinymce/tiny_mce.js');
       ```
   
 * The Visual Editor of the Quick Post Widget loads with a different style and the
   language of the TinyMCE advanced theme doesn’t load, but I think we can make 
   it work by ‘hacking’.
 * By the way, Simple:Press, which is a beautiful plugin, uses it’s own copy of 
   TinyMCE (not the one shipped with WordPress).
 * To be continued….
 * inapan
 *  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-fields/#post-1552852)
 * [@nokyard](https://wordpress.org/support/users/nokyard/)
 * Another update:
    I tried a, I think dirty, hack and have both plugins work together.
   The only drawback is that you cannot have the Quick Post Widget displayed on 
   the same page as the forum. I tried WordPress conditional tags but couldn’t get
   it working. That’s why I tried some server variables.
 * The hack which worked for me: on line 1215 in version 1.8 of the quick-post-widget.
   php insert
 * `if ( '/wptest/forum/test-forum' != $_SERVER['REQUEST_URI'] ) {`
 * and end the block with a `}` (just above the `} else {` line.
 * Of course you need to replace the url part with your own and perhaps modify it
   a bit (use a like construcion for instance).
 * Again, this only works when the forum is on a page without sidebar or when for
   instance you use a plugin which conditionally shows widgets on certain pages.
 * Anyone who has a more elegant solution: please respond.
 * inapan
 *  [NOKYARD](https://wordpress.org/support/users/nokyard/)
 * (@nokyard)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/#post-1552853)
 * Thank you i will give that a try right now.
 * I am using a custom page template for the forum based on page.php, and another
   custom page template for my submission form based on page-with-sidebar.php so
   there should be no further conflicts. The widget, which i use for user submitted
   gaming video, will only display on the sidebar of page with the accompanying 
   instructions.
 * I must say here that it has been a long and bothersome search for a simple, elegant,
   and highly customizable plugin to accept user submissions. This is exactly the
   plugin that i and my staff have been waiting for as it fits our workflow perfectly.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-quick-post-widget-custom-fields/page/2/?output_format=md)

The topic ‘[Plugin: Quick Post Widget] Custom fields?’ 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/)

 * 20 replies
 * 6 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-fields/page/2/#post-1552858)
 * Status: resolved