This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Totaly Broken Searchform in the Frontend

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Totaly Broken Searchform in the Frontend

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13010
    Jannis BrandtJannis Brandt
    Participant

    Hello,

    i installed Ajaxsearchpro and create a new Searchform, but on the Frontend there is only a completly broken form – you can see it on the screenshot. what is wrong?

    #13011
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The sceenshot didn’t came through, but I checked the page source on the URL you provided. From what I can see, it is very likely that the wordpress header and the footer is completely missing in the theme files, (and) or there is a caching active as well.
    Missing wp_head() and wp_footer() calls cause all the plugin scripts and files to be missing, resulting in a broken, unstyled search bar.

    1. After placing the search bar somewhere, make sure to clear all layers of cache, including page, asset, minify, cloudlare, cdn etc..
    2. Also, make sure to check if the:
    wp_head() function call is not missing from the theme header file (usually header.php in the theme directory)
    – and the wp_footer() function call is not missing from the theme footer file (usually footer.php in the theme directory)
    Those functions are very important for wordpress to run correctly, as they are responsible to print the enqueued CSS, JS and all other asset files and scripts as well, they must be included. I don’t see any of the blueprints of the function outputs in the theme source, so there is a good chance that these are missing in the theme files.

    Let me know what you can find!

    #13012
    Jannis BrandtJannis Brandt
    Participant

    Hello,

    thanks a lot!!! In my header.php and footer.php-files i forget the <?php wp_head(); ?> and <?php wp_foot(); ?> – it works now! Thank you!

    Best,

    Jannis

    #13014
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.