Title: erishv's Replies | WordPress.org

---

# erishv

  [  ](https://wordpress.org/support/users/icode794/)

 *   [Profile](https://wordpress.org/support/users/icode794/)
 *   [Topics Started](https://wordpress.org/support/users/icode794/topics/)
 *   [Replies Created](https://wordpress.org/support/users/icode794/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/icode794/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/icode794/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/icode794/engagements/)
 *   [Favorites](https://wordpress.org/support/users/icode794/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Edit Previously Submitted CF7](https://wordpress.org/support/topic/edit-previously-submitted-cf7/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/edit-previously-submitted-cf7/#post-11015072)
 * Hi Aurovrata,
 * I reload the form by unchecking the form submitted checkbox.
    Then press the 
   Save as Draft button, this will reload the form value back when the user logs
   in. Logs in the user that submitted the form, try to commit some changes on the
   form, resubmits the form, then it created another draft post when it should not.
 * Thank you for clearing out that when posts are published the reloaded form will
   set a new post, I am good with the default.
 * Please help.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Post My CF7 Form] Great Extension for CF7](https://wordpress.org/support/topic/great-extension-for-cf7/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/great-extension-for-cf7/#post-10951459)
 * Hi Aurovrata,
 * Thank you so much for the help and replies!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Login User as Post Author](https://wordpress.org/support/topic/login-user-as-post-author/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/login-user-as-post-author/#post-10947556)
 * Hi Aurovrata,
 * > you need to use the action that is fired after the form is saved to your post.
   > The post Id is passed along and you can therefore programmatically assign the
   > term to your saved post. The action is documented in the actions & filter metabox(
   > screenshot) #16 in your form mapping edit page.
 * Alright, I think this is the action I need
 *     ```
       <?php
       add_action('cf7_2_post_form_submitted_to_post', 'new_post_mapped',10,3);
       /**
       * Function to take further action once form has been submitted and saved as a post.  Note this action is only fired for submission which has been submitted as opposed to saved as drafts.
       * @param string $post_id new post ID to which submission was saved.
       * @param array $cf7_form_data complete set of data submitted in the form as an array of field-name=>value pairs.
       * @param string $cf7form_key unique key to identify your form.
       */
       function new_post_mapped($post_id, $cf7_form_data, $cf7form_key){
          // do something
       }
       ```
   
 * On the do something, what are the parameters or values I should put in to save
   the post to a category?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Login User as Post Author](https://wordpress.org/support/topic/login-user-as-post-author/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/login-user-as-post-author/#post-10943993)
 * Hi Aurovrata, Sorry for the late response.
    Been busy with other projects and
   just came to thank you for the updates on the plugin and for developing the features
   we need. Thank you so much,
 * In response to
 * > that’s what I thought, however it is still not clear how. Please see my previous
   > msg. Are you wanting to display a dropdown list with your existing category
   > terms and allow a user to select a value? Or do you want to set the category
   > term systemically when a form is submitted, irrespective of the submitted values?
 * Yes, I am trying to save map the posts to a category named “Testing”, so every
   post that is being submitted via Contact Form 7, will be posted on the default
   taxonomy Post, and a category of Testing.
 * Reference:
    [http://prntscr.com/lqe53c](http://prntscr.com/lqe53c)
 * How can I achieve it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Login User as Post Author](https://wordpress.org/support/topic/login-user-as-post-author/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/login-user-as-post-author/#post-10878422)
 * I am hoping to do the following:
    1. Map the submitted form to an existing post
   type, post – which is done 2. Map the submitted form to a taxonomy, category 
   not a CPT. 3. Map the logged in user as the author to be able to edit the submitted
   form.
 * Here is the link how it is now: [http://prntscr.com/li4oau](http://prntscr.com/li4oau)
   
   2. Taxonomy is being set as Uncategorized, default by WP 3. Author is set to 
   the administrator, even if the user logged in before submitting the form.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Login User as Post Author](https://wordpress.org/support/topic/login-user-as-post-author/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/login-user-as-post-author/#post-10878391)
 * Hi Aurovrata Venet,
 * Thank you for the time to reply on this thread. I appreciate it.
    Alright, I 
   will try to construct it the best that I can.
 * 1. Form UI is the default of CF7 but I added a hidden field with a value of “
   casting-calls” to use as the category slug. ([CF7 Form Screenshot](http://prntscr.com/li4h5t))
 * 2. I mapped the form to an existing post type (post) ([CF7 Mapping Screenshot](http://prntscr.com/li4gg1))
 * 3. After submitting the form, the contents are being mapped to existing post,
   but not mapping the taxonomy (category) which is set as a hidden field, and not
   mapping the author which is a logged in user that submitted the post ([All Posts Screenshot](http://prntscr.com/li4hfw))
 * 4. I am trying to map the taxonomy (category) via a hook filter, it is not showing
   the hidden field, not able to select it as the taxonomy ([Taxonomy Mapping](http://prntscr.com/li4jiw),
   [snippet code](http://prntscr.com/li4jpg)).
 * Please help. Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Product Gallery & Image Zoom] Zoom Function not working, only loading label](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/#post-6360252)
 * For Loading Labels only. Check jquery and add this code on your script.
 * jQuery.browser = {};
    (function () { jQuery.browser.msie = false; jQuery.browser.
   version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.
   msie = true; jQuery.browser.version = RegExp.$1; } })();
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Product Gallery & Image Zoom] Zoom Function not working, only loading label](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/#post-6360251)
 * Thanks for the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Product Gallery & Image Zoom] Zoom Function not working, only loading label](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/)
 *  Thread Starter [erishv](https://wordpress.org/support/users/icode794/)
 * (@icode794)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/zoom-function-not-working-only-loading-label/#post-6360042)
 * Hi, I just found this plugin really usable. But unfortunately, when trying to
   develop on other site. it did not work
 * here is the link of the product
    [http://industrialmall2u.com/test/product/vfd-f-series/](http://industrialmall2u.com/test/product/vfd-f-series/)
 * Here are the things that I tried and did not work so far.
    - [https://wordpress.org/support/topic/zoom-not-functioning?replies=6](https://wordpress.org/support/topic/zoom-not-functioning?replies=6)
    - [https://wordpress.org/support/topic/zoom-and-slider-not-working?replies=4](https://wordpress.org/support/topic/zoom-and-slider-not-working?replies=4)
 * [https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier/)

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