Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax searcher to navigation bar
- This topic has 6 replies, 2 voices, and was last updated 12 years, 4 months ago by
thomaskrel.
-
AuthorPosts
-
January 8, 2014 at 12:38 am #897
thomaskrel
ParticipantHi, , I need help to put the ajax searcher to my header navigation bar..
I already replace in header.php the<?php if($theme_search_form == "0") { get_search_form(); } ?>with
<?php echo do_shortcode('[wpdreams_ajaxsearchpro id=1]'); ?>but its not working correctly i attached the ss about the issue ..
Thanks ..
January 8, 2014 at 2:16 pm #900Ernest Marcinko
KeymasterHi!
It seems like it’s only a minor issue with the css setup. I tried to access your site, however it’s giving me a 504 getaway timeout error for the backend and it loads the pages only sometimes. Do you experience the same, or it’s just me?
January 8, 2014 at 5:28 pm #901thomaskrel
ParticipantHello again, and thank for your answer ,! 🙂
you can try to find the login are here : http://www.tattoodesignsidea.com/wp-login.php?bxc_15lKx_hu14_asdsdf654sdfsdfs=3566562
Thanks
January 8, 2014 at 7:03 pm #902Ernest Marcinko
KeymasterHi!
Still cant load it, the server is too slow, maybe because I’m from europe, not sure. Anyways, can you send me a copy of the template and a screenshot of where you want to place the search on your site exactly? I will fix it on my test server and tell you what to do then. 🙂
Thank you!
January 8, 2014 at 7:38 pm #903thomaskrel
ParticipantAham okej sir, sry for that issue, maybe its becouse i was loged in also on my another searcher idk .
so you can see on the ss the place where i want to place the searcher, is the top header navigation bar,..
and here is you link for header.php . file ,
I hope this helped for you ,, Thanks you anyway .
January 8, 2014 at 7:52 pm #905Ernest Marcinko
KeymasterOk, unfortunately I cannot see your file, but here is what I should do: in the header.php search for the div id=’nav’ element and add the following lines just before the /div closing tag like this:
<div id='nav'> ... ... ... Add these lines: <div style='float: right;width: 320px;'> <?php echo do_shortcode('[wpdreams_ajaxsearchpro id=1]'); ?> </div> and stop. </div>This will create a container element for the search and it should appear where it supposed to.
January 8, 2014 at 8:22 pm #906thomaskrel
ParticipantThank you Sir, Now its working 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.