WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 Modules » [Resolved] shortcodes does not work with WP 3.8

[Resolved] shortcodes does not work with WP 3.8

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    esmi

    @esmi

    Forum Moderator

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

    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.

    Thank you rgilman, this worked on my sites.

    @rgilman Thank you !

    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.

    Plugin Author Zack Katz

    @katzwebdesign

    Thanks @rgilman – I changed this in 1.3.3.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] shortcodes does not work with WP 3.8’ is closed to new replies.
Skip to toolbar