Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #970422

    Hi.. On the site of my client there are two Contact Forms made with CF7. These forms does not works on mobile because there is present in both an “add file” control..

    The solution may be adding the following filter in functions.php “add_filter( ‘wpcf7_load_js’, ‘__return_false’ );” I’ve tried but it does not works..

    Where is the correct place to add the line in functions.php..?

    Thanks

    #970647

    Hey newmediologo,

    You could try that code at the very bottom of your functions.php file. We cannot provide support for third party plugins like Contact Form 7 though.

    Best regards,
    Rikard

    #970650

    Thanks Rikard, the question was were tu put the code.. Thanks

    #970689

    Hi,

    Yes, please try it at the very bottom of your functions.php file :-)

    Best regards,
    Rikard

    #970691

    Thanks Rikard I’ve tried but it does not works..

    #970954

    Hi,

    Thanks for the feedback, though like I pointed out, we’re unable to give you any detailed support for CF7. If the file upload functionality is the problem though, then maybe you could create separate forms to show for mobile only?

    Best regards,
    Rikard

    #970956

    May be an idea Rikard but I don’t know how..:)

    #971026

    Hi,

    If you add both contact forms on a page and post a link to it then I think we can help you out with some custom CSS.

    Best regards,
    Rikard

    #971036

    May be I can try to add a contact form in a text block then go to Screen Options and hide it on large screen and hide the main form on mobile screens..?

    #971063

    Hi @Rikard.. This solution works.. The main Contact Form visible only from desktop and hide on mobile and the copy without the “Send File” control visible only from mobile and hide on desktops.. Thanks to the wonderful functions of Enfold

    #971511

    Hi,

    Great, glad you found a solution :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #971561

    Thanks Rikard.. I think it’s ok for now..:)

    #972058

    Hi,

    Thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Problems with Contact Form 7 on Mobile.. How to add a line in functions,php’ is closed to new replies.