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 7 years, 4 months ago.
- AuthorPosts
- May 8, 2017 at 10:46 am #13010
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?
May 8, 2017 at 11:12 am #13011Hi,
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 :)
May 8, 2017 at 11:24 am #13012Hello,
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
May 8, 2017 at 12:15 pm #13014You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.