Multi-language Responsive Contact Form
[resolved] Menu items error (3 posts)

  1. Martin Stehle
    Posted 2 years ago #

    The function wp_head() in the file ai-contact-form-template.php leads in some themes to the undesiderable effect not to close submenus after mouse hovering. By commenting out this function the error disappears and everything works fine.

    Seen with the theme "Pinboard".

    I recommend deleting this function in the file.


  2. August Infotech
    Plugin Author

    Posted 2 years ago #

    Hello Hinjiriyo,

    Thanks for suggestion.

    we used this function only because to load JS file into header section. If you remove this function then those JS file loads into footer section.

    Thanks & Regards,
    August Infotech

  3. Martin Stehle
    Posted 2 years ago #

    So, the template loads wp_head() within the content.

    I think it could be better. It is recommend for the most cases to load JS files in the footer section.

    And the call of wp_head() should only happen within the HEAD section of the HTML code.

    And if the theme has already called it in the HEAD section - as most themes do - ALL other scripts and action hooked on wp_head are called once more in your template. This leads to undesirable effects as described in my first post.

    So I think the call of wp_head() in your template can be omitted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.