Elementor Search Results Only Posts & WooCommerce Products

Elementor Search Results Only Posts & WooCommerce Products

Jeffrey @ Lytbox

1 год назад

17,226 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Muhammad Usman
Muhammad Usman - 16.10.2023 01:23

What if we have both products & Blog on the same website?

Ответить
Done's grunge
Done's grunge - 30.09.2023 23:48

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.

Ответить
Zahovic
Zahovic - 14.09.2023 21:53

Thank you!!!!! I was looking for this for a week and finally found the solution.

Ответить
Abhishek kumar
Abhishek kumar - 20.08.2023 05:02

Can we search products by SKU ? using this

Ответить
Healthy Money Diet
Healthy Money Diet - 02.07.2023 05:47

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?

Ответить
Elliot McCluskey
Elliot McCluskey - 17.05.2023 13:44

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!

Ответить
Mo'men Ahmed
Mo'men Ahmed - 09.05.2023 16:07

Awesome, is their any way to edit (Search Result for:) title?

Ответить
Peter Rácz
Peter Rácz - 26.04.2023 23:47

Thank you for the woo code

Ответить
Rubén Darío Gutiérrez Perilla
Rubén Darío Gutiérrez Perilla - 19.03.2023 20:54

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

Ответить
MJ Bomar
MJ Bomar - 17.03.2023 21:05

This is great! However it only searches by post title. How do I get it to search by title and category?

Ответить
MJ Bomar
MJ Bomar - 17.03.2023 19:51

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?

Ответить
Eugene Asiamah
Eugene Asiamah - 05.03.2023 17:34

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.

Ответить
N0 AL N0M 2O30
N0 AL N0M 2O30 - 01.03.2023 01:48

Great channel Jeffrey! There is a way to include Authors in search results? Thanks!

Ответить
Michael Ifeanyi
Michael Ifeanyi - 28.02.2023 04:07

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.

Ответить
Abdelrahman Swidan
Abdelrahman Swidan - 22.02.2023 00:12

Great, thank you so much

Ответить
Zack Richter
Zack Richter - 06.02.2023 06:00

Thank you for this! You're awesome!

Ответить
Dee
Dee - 09.12.2022 08:25

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?

Ответить
Aizaz Ahmad
Aizaz Ahmad - 05.12.2022 21:29

Thank You So Much !!

This helped me a lot ... Stay Blessed !!!!!!!🥰

Ответить
LearnWithNorwebs - Nocode Web Design Tutorials
LearnWithNorwebs - Nocode Web Design Tutorials - 03.12.2022 21:01

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?

Ответить
Dominic
Dominic - 16.11.2022 00:27

I can't believe Elementor allows to create a search result page, but there is no way to filter the results.

Ответить
Rahul
Rahul - 30.10.2022 18:15

Where is the code ?

Ответить
pedro gabriel
pedro gabriel - 07.10.2022 20:50

Thanks a lot for your video Buddie!

Ответить
Elizabeth Abraham
Elizabeth Abraham - 05.10.2022 08:59

Thank you!

Ответить
Rehman Kuresh!
Rehman Kuresh! - 19.09.2022 18:21

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');

Ответить
Baintech
Baintech - 16.09.2022 03:23

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!

Ответить
Lisa Allen
Lisa Allen - 08.09.2022 15:36

Love your tutorials!! Question though... Is there a way to only show specific posts with a certain category?

Ответить
Kleanthis -
Kleanthis - - 30.08.2022 13:27

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?

Ответить
Smeagol The Unreal Deviant
Smeagol The Unreal Deviant - 11.08.2022 12:19

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....

Ответить
Renato Silva
Renato Silva - 10.08.2022 21:29

Is it at least possible to keep products AND posts on search results simultaneously? Those two snippets don't work together...

Ответить
Renato Silva
Renato Silva - 10.08.2022 20:47

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?

Ответить
Peebals
Peebals - 10.08.2022 18:17

Finally Lytbox is back 🚀🚀

Ответить
karnchana loong-aor
karnchana loong-aor - 10.08.2022 14:39

Thank you Jeff🙏

Ответить