Searchpage wordpress

May 2014 WordPress Theme
GK User
Wed May 27, 2015 8:52 am
Hi, on my site i am using ajax pro plugin in order to allow advanced product search to customers. But...this plugin redirect to the standard wordpress search page...while i would like to replace the standard wordpress with woo commerce search one.
This is not possible by plugin cause it need of the wordpress search page cause if i use the suffix in the url "&post_type=product" , this will exclude some results from the output.
So i what i need is to give the same style of woo commerce search also to the wordpress search. how can i do that?
thanks
User avatar
Gold Boarder

GK User
Wed May 27, 2015 11:45 am
Hi,

Are we talking about the widget from the woocommerce sidebar area? (with violet border) It displays products and link to the product pages, I can't see the redirection to the default wordpress search page.
User avatar
Moderator

GK User
Wed May 27, 2015 1:29 pm
Hi, yes the first widget from the left (u have to click on the lens to be redirected).
But generally i would like to understand if is possible to give to this output page (standard wordpress): http://www.brillabijou.com/?s=a
the same style of the woo commerce search output: http://www.brillabijou.com/?s=a&post_type=product
User avatar
Gold Boarder

GK User
Wed May 27, 2015 9:35 pm
Try to add this custom css code:
Code: Select all
.search-results article {
   border: 0;
   float: left;
   margin-right: 16px;
   padding: 0!important;
   width: 23%;
}
.search-results article:nth-of-type(4n+1) {
   clear: both;
}
.search-results .pagenav {
   clear: both;
}
User avatar
Moderator


cron