Комментарии:
What if we have both products & Blog on the same website?
Ответитьhave solution how to organize search results with filters without plugins and other 3rd party? and with products variations displays as separates products. i did two tabs products and posts but when enable Relevancy plugin to extend search and show variations as products, Posts widget starts to show all type of content and imposible to exclude with Query Id too.
ОтветитьThank you!!!!! I was looking for this for a week and finally found the solution.
ОтветитьCan we search products by SKU ? using this
Ответитьhi when I try to paste the code below the child theme code in the php file, word press gives an error message and won't let me save the file, Can you help me?
Ответитьcan you use loop builder to create a more customisable search results page? At the moment it just seems like you are limited to the archive posts widget. Thanks!
ОтветитьAwesome, is their any way to edit (Search Result for:) title?
ОтветитьThank you for the woo code
ОтветитьGood tutorial... I have a doubt. If I'm using an Astro Pro Theme... How can I change it? Because when I designed the search template show me everything Post + page... and I don't want it. I really want to show just blog results
ОтветитьThis is great! However it only searches by post title. How do I get it to search by title and category?
ОтветитьGet tutorial. I'm only having one issue. When I go to use this template in one of my pages no posts show up. It's only showing me an archive of templates I've created. The elementor website says what I'm seeing is the normal behavior of using the Archive Posts widget. How do I fix this to actually show my blogs?
ОтветитьThanks for your tutorial and code snippet. I have one issue tho... the search results does not show the newer post first, it's all mixed. How can i make the results show newer post first please.
ОтветитьGreat channel Jeffrey! There is a way to include Authors in search results? Thanks!
ОтветитьThanks for this video. I want to ask if it is possible to have 2 search result pages working individually for posts and product search respectively. Also is it possible to create a custom loop item for product and blog post and then use these items to dynamically display either product or blog in the search result respectively.
ОтветитьGreat, thank you so much
ОтветитьThank you for this! You're awesome!
ОтветитьIs it possible to use both those code snippets on a website? So when the user is on the blog and they search, it only returns blog posts, and when in the store and searching, they are only returned store results?
ОтветитьThank You So Much !!
This helped me a lot ... Stay Blessed !!!!!!!🥰
Thank you for this video.
I wanna know, how about a website that has a woocommerce shop and blog. How do you separate the search widgets, so that when you're on the shop page and search it shows only product, but when you are on blog and search, it shows only posts?
I can't believe Elementor allows to create a search result page, but there is no way to filter the results.
ОтветитьWhere is the code ?
ОтветитьThanks a lot for your video Buddie!
ОтветитьThank you!
Ответитьhi lytbox, thank you so much for the tutorial and also bringing it to our attention. i used the code you provided and it worked for the search functionality we wanted but than my custom post archive were messed up it was getting queries from all of my wordpress posts. than googled about the issue as i didnt knew myself what was wrong and found this piece of code which works without affecting any posts widgets and any archives. i used this snippet and everything worked perfectly.
function remove_post_type_page_from_search() {
global $wp_post_types;
$wp_post_types['page']->exclude_from_search = true;
}
add_action('init', 'remove_post_type_page_from_search');
Hey, awesome video mate! Really informative and easy to understand. Btw, how do you make your pricing and add to cart button show-up on your search result? Mine is only showing the title, description and a read-more button. Thanks!
ОтветитьLove your tutorials!! Question though... Is there a way to only show specific posts with a certain category?
ОтветитьHello there! I have a small issue! When i search now (products only) it bring be back to my product template rather than my search result page. Also, is there a way to display a custom message and image when there are not products to show?
ОтветитьReally nice video, I use Elementor for all my sites as well haha. Can you make a video on how to make an archive page for blog sites with Elementor? A page that shows all the posts over the years with the date in a list so that it's easy to find articles from like 3 years ago....
ОтветитьIs it at least possible to keep products AND posts on search results simultaneously? Those two snippets don't work together...
ОтветитьThanks for the video! Would it be possible to create a search results page with one column displaying posts and another column displaying products simultaneously?
ОтветитьFinally Lytbox is back 🚀🚀
ОтветитьThank you Jeff🙏
Ответить