-
AuthorPosts
-
November 18, 2016 at 8:43 pm #714179
Hello,
I have noticed that my search ability for tags, keywords, do not show up/work whenever using either the woocommerce search or the regular search. I am using the Advanced Layout Builder Beta version for my shop page, but don’t see why this would cause a conflict with the search feature. How could we correct this issue?
I appreciate your time, please let me know when you get the chance!
November 22, 2016 at 12:51 pm #715262Hey Tflores87,
Pleases try using this more advanced search plugin – https://wordpress.org/plugins/relevanssi/
You can find Enfold implementation here – http://kriesi.at/documentation/enfold/use-relevanssi-in-search-instead-of-the-default-search/Best regards,
YigitNovember 22, 2016 at 6:31 pm #715493Thanks!!!
In order to use the functions.php snippet, do I need to install the plugin as well?
November 22, 2016 at 9:18 pm #715577Hey!
No, inside WordPress Dashboard, go to Appearance > Editor > select functions.php.
Best regards,
NikkoNovember 23, 2016 at 2:23 am #715686Hi Nikko! Thanks!
I inputted the snippet into my child’s functions.php (via ftp), but it still does not bring up posts with the appropriate tags when we search. Thoughts?
November 23, 2016 at 9:02 am #715781If this helps, you could view my Shop Page here (https://kingsdesigns.com/shop/). The Search Bar is in the Footer for the time being.
November 23, 2016 at 10:59 am #715810Hey!
Can you give us temporary admin access? so we can inspect this issue further. Please put the details in the “private content” when you reply.
Best regards,
NikkoNovember 23, 2016 at 5:27 pm #716069Certainly! Thank you, Nikko.
November 26, 2016 at 11:30 pm #717297Hey!
Sorry for the delayed response. I have installed and activated Relevanssi plugin and I have adjusted the settings, it worked fine when I tested it. Let us know if it’s good on your end :)
Regards,
NikkoNovember 26, 2016 at 11:40 pm #717299Works as described! Thank you, Nikko :D
Out of curiosity, I suppose the issue was that I actually needed to install the plugin? For some reason, I thought (from the conversation above ^) that I only needed to insert the php snippet.
November 26, 2016 at 11:52 pm #717301Hi,
Yes, the plugin was needed to be installed, I’m a bit familiar with that plugin and knew that it has less weight on category and tags, so I added some weight to it, then included search for products and portfolio since the default is only post and pages, and included categories and tags for both products and portfolio.
Glad we could help :) We really appreciate it if you rate our theme on themeforest. Thank you for using Enfold :)
Best regards,
NikkoNovember 26, 2016 at 11:55 pm #717303You guys are the best, Nikko. I greatly appreciate you help/expertise. BTW, this is the rating I gave you guys a few days ago (I have been using this theme for about 6-7 months now).
Apart from the numerous layouts, various options, smooth and reliable builders, the support crew is very professional and very helpful. I am grateful to have found this theme!
November 27, 2016 at 12:11 am #717313Hi,
Thank you very much. Have a great weekend :)
Best regards,
NikkoDecember 2, 2016 at 5:57 pm #719849Nikko! Hope you are well. Thank you again for setting this up. Andy re-opened this thread since I had an additional question for you. Andy mentioned I might need to hire a freelancer, but wanted to check with you.
So far the search ability works as it should, but noticed that it lists a lot of many products (I’ve added a scroll feature that I found on another customer’s support thread) — Is there a way to limit the search to only display 4 products at most before “View All Results” link?
December 3, 2016 at 12:11 am #719935Hi,
It should show about 10 search results per page, but if you want to reduce it to 4, try adding this code at the bottom of functions.php:
function myprefix_search_posts_per_page($query) { if ( $query->is_search ) { $query->set( 'posts_per_page', '4' ); } return $query; } add_filter( 'pre_get_posts','myprefix_search_posts_per_page' );
Let us know if it works :)
Best regards,
NikkoDecember 4, 2016 at 7:12 pm #720234Hi Nikko!
Thanks for the script! That works wonderfully for the Search Results Page, but we were curious about the live Ajax Search Results :D
Check it out in this video
December 5, 2016 at 4:45 pm #720536Hi,
You’re welcome, with regards to the live ajax results, we would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid its out of the scope of our support.
But please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/
Best regards,
NikkoDecember 5, 2016 at 7:22 pm #720624Will do, Nikko! Thank you again for helping the set up. You all have been most helpful :D
Do you guys provide such customizations (for a price) or do I have to use Codeable? I’d prefer to give you all more business.
December 6, 2016 at 12:19 am #720751Hi!
You’re most welcome :) You can hire a freelancer but we would suggest our partner Codeable for the job: http://kriesi.at/contact/customization :)
Regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.