Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin conflict with Scripts to Footer
This topic contains 7 replies, has 2 voices, and was last updated by anfeloga 10 years, 9 months ago.
- AuthorPosts
- June 6, 2013 at 6:33 am #378
Hi
Your plugin works excellent, I’m having just one problem, it’s a conflict with the plugin Scripts to footer, this plugin put the css in header, improving the load performance but the scripts to footer. Is there any way to add your plugin script to header in order to not deactivate the other plugin?
The other plugin has not the option to exclude a file.
Oh, and another thing is a black bar in the middle of content, I think is just a CSS minor problem.
Thanks in advance!
testing.quehaypahacer.com
June 6, 2013 at 8:42 am #379Hi!
Can you please provide me the password to see the site? You can edit the topic and add it to the private details if you want it to remain private.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 8, 2013 at 12:05 am #487Hi and sorry for the delay
the user is quehaypahacer but the field doesn’t let me write it, the pass is there.
Thanks for your support and please be careful because even when it’s a test site, I have some real users there in order to make some tests.!
July 8, 2013 at 11:05 am #488Hi!
I can see the problem now. The solution would be if you add the following line to the header.php file in your template file:
<script src="://testing.quehaypahacer.com/wp-content/plugins/ajax-search-pro/js/jquery.ajaxsearchpro.min.js"></script>
As for the box that is appearing, it’s coming from the template css files, but there is a simple solution for that. Add these lines also to the header.php file:
.probox .loading { border: none !important; opacity: 1 !important; padding: 0 !important; position: static !important; z-index: 10100; }
- This reply was modified 10 years, 9 months ago by Ernest Marcinko. Reason: fix
- This reply was modified 10 years, 9 months ago by Ernest Marcinko.
- This reply was modified 10 years, 9 months ago by Ernest Marcinko.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 8, 2013 at 4:41 pm #493Hi and thanks for your quick reply
I tried this and doesn’t worked. I tried adding all the code in header.php and then try changing the css part to my style.css file and it doesn’t yet.
I updated the topic with ftp credentials if You can try it. is in the subdomain “testing” and in themes in “Que-hay-pa-hacer-2013-3”. This is the route public_html/testing/wp-content/themes/Que-hay-pa-hacer-2013-3
Thanks for your time!
July 15, 2013 at 4:41 pm #519Hi
Any update about this?
July 15, 2013 at 4:50 pm #520Hi!
The only way to fix this is to add extra lines to the header.php file. The search will not work if the jquery and other scripts are loaded in the footer, because the $(document).ready event is never fired.
Add exactly the following lines to the header:
<script src="http://testing.quehaypahacer.com/wp-content/plugins/ajax-search-pro/js/jquery.ajaxsearchpro.min.js"></script>
<style> .probox .loading { border: none !important; opacity: 1 !important; padding: 0 !important; position: static !important; z-index: 10100; } </style>
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 15, 2013 at 4:59 pm #521Excellent!! it worked!!!
Thanks a lot!!!
- AuthorPosts
The topic ‘Plugin conflict with Scripts to Footer’ is closed to new replies.