Contact Form 7 Modules
[resolved] shortcodes does not work with WP 3.8 (9 posts)

  1. M
    Posted 1 year ago #

  2. carlopucci
    Posted 1 year ago #

    I have just updated contact form 7 to the latest version... unfortunately the Contact Form 7 plugin doesn't work... I have added this code [hidden ArticoloProvenienza "post_title"] but the code is not processed and visible on the front end.... anybody has the same problem ?
    Thank you for your help

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    @carlopucci: If you require assistance then, as per the Forum Welcome, please post your own topic.

  4. Li-An
    Posted 1 year ago #

  5. rgilman
    Posted 1 year ago #

    This may just be a hack, but I was able to get the hidden fields to work again by changing the 'add_action' priority from 10 to 11.

    In more detail:
    1) Open the file hidden.php within the contact-form-7-modules folder.
    2) Go to line 28 where you will find:
    add_action('plugins_loaded', 'contact_form_7_hidden_fields', 10);
    3) Change the 10 to an 11 and save the file.

    This will force contact-form-7-modules to load after contact-form-7, which it needs to do so that the shortcode will function. I guessing that some change in 3.8 somehow changed the load order of plugins -- or at least this pair of plugins.

  6. asplash
    Posted 1 year ago #

    Thank you rgilman, this worked on my sites.

  7. nicoolass
    Posted 1 year ago #

    @rgilman Thank you !

  8. padmagv
    Posted 1 year ago #

    Thanks i changed 10 to 11 now it is working fine.

    1) I want to map this hidden value to the url.

    [hidden hidden-885 id:downloadURL "custom_field-downloadURL"]
    downloadURL is the path to pdf file.

    on_sent_ok: "location.replace('http://www.mysite.com/download.php?filename=downloadURL');"
    so that after submitting the form the pdf get downloaded.

    2) If downloaded once then no need to display form second time. Directly clicking on link should download the PDF. (Someway of storing in sessions i guess).

    Can you please tell me the solution for this.

  9. Zack Katz
    Plugin Author

    Posted 1 year ago #

    Thanks @rgilman - I changed this in 1.3.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Modules
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic