Totaly Broken Searchform in the Frontend

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

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13010
    Jannis Brandt
    Jannis 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 Marcinko
    Ernest 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!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #13012
    Jannis Brandt
    Jannis 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 Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.