Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter dschlapa

    (@dschlapa)

    Thanks that help me a lot, but without it I get also in Firefox or IE an error that the date input is wrong.

    So they can’t use the date box.

    Thread Starter dschlapa

    (@dschlapa)

    Now I add the line:

    add_filter( 'wpcf7_support_html5_fallback', '__return_true' );

    and i get the calender on IE and Firefox but:

    I can’t input the date in german format (dd.mm.yyyy) only in english (yyyy-mm-dd) by hand.

    @dschiapa

    Where did you add that line of code to make it work?

    Thread Starter dschlapa

    (@dschlapa)

    @omnoogle

    If you use the date or number input fields and wish to use this jQuery UI-based fallback feature, add the following code into your theme’s functions.php file and activate the feature:

    add_filter( 'wpcf7_support_html5_fallback', '__return_true' );

    @dschiapa

    Please excuse my ignorance, I’m not good with php. If I’m using the theme’s child theme, how would I enter it in the child’s function.php file?

    Thread Starter dschlapa

    (@dschlapa)

    @omnoogle

    First my name is
    dschlapa ??

    first use ftp or use your backend editor
    and open the functions.php

    You find it under /wordpress/wp-content/themes/THEME_NAME

    Then add it after:
    <?php

    Hi dschlapa … My name is Kevin =)

    I know how to get to the function.php file, but I want to use the child theme’s function.php file. When I create a function.php file in the child theme folder and add just that line of code after the <?php tag, it has no effect. When I duplicate the main theme’s function.php file and add that line, it gives me the following error:

    Fatal error: Cannot redeclare pn_get_attachment_id_from_url() (previously declared in /home3/bchen888/public_html/wp-content/themes/kallyas-child/functions.php:104) in /home3/bchen888/public_html/wp-content/themes/kallyas/functions.php on line 131

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Date (calender) didn't work in Chrome’ is closed to new replies.