WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. M Szatkowski
    Member
    Posted 7 months ago #

  2. carlopucci
    Member
    Posted 7 months ago #

    Hi
    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 7 months ago #

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

  4. Li-An
    Member
    Posted 7 months ago #

  5. rgilman
    Member
    Posted 7 months 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
    Member
    Posted 7 months ago #

    Thank you rgilman, this worked on my sites.

  7. nicoolass
    Member
    Posted 7 months ago #

    @rgilman Thank you !

  8. padmagv
    Member
    Posted 6 months 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
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks @rgilman - I changed this in 1.3.3.

Reply

You must log in to post.

About this Plugin

About this Topic