Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Replacing Theme Search
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 1 month ago.
- AuthorPosts
- March 19, 2016 at 11:29 am #8090
Hi,
Thanks for the great plugin 🙂
I have more than one problem with the plugin:
1-Replacing the theme search does not work.
2- I want the result page to search products and products tags as well so I’m using this
?s={phrase}&post_type=product (how can i add product category or product tag to the url?)
3-I always get this error when redirecting to results page (see attachment)
“Warning: Cannot modify header information – headers already sent by (output started at /home4/simo/public_html/mawjod.com/wp-content/themes/jupiter/header.php:2) in /home4/simo/public_html/mawjod.com/wp-content/plugins/ajax-search-pro/includes/classes/filters/class-asp-searchoverride.php on line 38”
4- Search speed is too low as i always have to wait for 4-5 sec to get the resultsThanks,
YaseenAttachments:
You must be logged in to view attached files.March 22, 2016 at 11:04 am #8127Hi,
I submitted a ticket 3 days ago still i didn’t get any replies! While all other submitted tickets are all answered even the ones which are submitted after mine!!
March 22, 2016 at 11:58 am #8128Hi!
Sorry about the late answer, there are many more tickets than you can see in the forums, that I had to answer first.
1. It means that the theme is not using the searchform.php method to display the search bar, thus it’s only possible to replace it manually as stated in the documentation. To do that, you will need the search PHP shortcode. I suggest consulting with the theme developer in case you don’t know exactly where to put the shortcode.
If you want, I can take a look and investigate where it possibly is located.2. The “&post_type=product” does redirect the results to the WooCommerce results page, which does not support displaying any other content than products unfortunately. Ajax Search Pro passes the tags and every result to the WooCommerce shop results handler, but it simply removes them.
3. I cannot see this error message now. Did it disappear, or is it visible on a specific page?
4. The search speed is ultimately determined by the server speed, but there are many performance tweaks you can try. Please check this chapter in the documentation: https://goo.gl/Rn6lG6
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 22, 2016 at 12:51 pm #8133You cannot access this content.March 23, 2016 at 4:12 pm #8170Hi Yaseen,
I will take a look in a minute, will try to replace it for you.
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.