WordPress Custom Query - Part 08 - Custom Search

WordPress Custom Query - Part 08 - Custom Search

Watch and Learn

8 лет назад

40,547 Просмотров

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


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

G. Flores
G. Flores - 02.01.2023 17:30

Great video!! Thanks!

Ответить
Tomysto
Tomysto - 07.10.2022 23:43

Thank you🙌

Ответить
Dusan Belic
Dusan Belic - 07.06.2022 17:41

Ivan, your custom query tutorials are amazing!
Svaka cast brate, pozdrav iz Beograda

Ответить
WILLIAM GALLOS
WILLIAM GALLOS - 08.04.2022 06:24

Is it possible to use the datepicker in custom search? Im trying to filter the date and display the post using datepicker.. can you me :). Thank you.

Ответить
Nguyen Huy
Nguyen Huy - 26.03.2021 12:34

Hello, can you make a custom search that inclde the category name (or tag) in the results? Example: you search "movi" then the results would be all Movie posts

Ответить
dogzrgood
dogzrgood - 31.10.2020 08:59

Great tutorial.
I hope you make a series on plugin development :)

Ответить
Marcel Lourenço
Marcel Lourenço - 28.08.2020 21:07

Hello, Ivan! First i want thank you for your content. Your videos helped me a lot in the shaping my apps and projects! Second, i have a question: i watch your entire series about Custom Query to understand how much complex i can get with search in WordPress, but one of my projects has a user flow that i cannot find nothing about:

- A user-custom-meta query. So, for example, my user has a Custom Meta of Sign: Leo, and i want 'use' that taxonomy as a filter in my custom search thats any way to do this on PHP. Do you see some possiblity in that function? Please enlight me, even for saying that im tripping, HAHA!

Hugs from Brazil

Ответить
Tariq Khan
Tariq Khan - 20.08.2020 12:22

Make a video on search result page with sidebar showing total Pages found, total Posts and products found. And when click on these pages , posts or products in the sidebar, it will filter the search result page

Ответить
Muhammad Javaid
Muhammad Javaid - 21.01.2020 22:21

Please Make series on Wordpress Crud custom...and other custom topic of wordpress develpment

Ответить
Muhammad Javaid
Muhammad Javaid - 21.01.2020 22:20

I hope you are fine...
you a really genius mentor and teacher of WordPress for anyone and everywhere..
I like your method of teaching and well explanation every point with the respect topic

Ответить
Jikochi
Jikochi - 17.10.2019 15:53

Thanks for the video. Im appreciate to you. You saved my day for me! Very helpful.

Ответить
Maison Kesararam
Maison Kesararam - 17.09.2019 08:03

$arg = array(
'post_type' => 'property_list',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'property_type',
'value' => $typename,
'compare' => 'LIKE'
),
array(
'key' => 'type_for',
'value' => $forTypename,
'compare' => 'LIKE'
),
array(
'key' => 'property_location',
'value' => $localname,
'compare' => 'LIKE'
)
),
's' => $text,
);
if I delete 's' => $text, it's working but when I put s' => $text, it's no error no show anything.

Ответить
Roope
Roope - 23.06.2019 18:40

Ivan you are amazing!

Ответить
tubeMonger
tubeMonger - 18.06.2019 14:00

When you make a search query, does the query go through all the posts in the WordPress database or is there an index where the query fetches the results?

Ответить
Sandipan Mondal
Sandipan Mondal - 08.02.2019 14:40

You are like a God

Ответить
Mike Tepes
Mike Tepes - 06.02.2019 18:15

Thank you Sir

Ответить
GrumpyGrampa
GrumpyGrampa - 06.01.2019 22:40

I'm doing an online course (PHP for WordPress - Udemy) and I've just watched these videos back to back. WP_Query is explained much better here! Thanks, you have a new subscriber

Ответить
ER.SACHIN SHARMA
ER.SACHIN SHARMA - 04.01.2019 06:27

Good job sir; how can i display search for: $text variable while pagination

Ответить
Erdem Arslan
Erdem Arslan - 28.10.2018 19:30

I wish there were more wordpress tutorials like these. thank you so much!!

Ответить
German Hernandez
German Hernandez - 08.08.2018 23:45

Thanks bro !!

Ответить
Sagiri Makuza
Sagiri Makuza - 11.07.2018 13:54

Hi guys. How can I also make search not only the title but also the content? Thanks for the help. :)

Ответить
V
V - 23.05.2018 19:20

You are a life saver! Thank you very much!

Ответить
Andrey
Andrey - 06.05.2018 14:13

Thank you so much!

Ответить
GeekDevApp
GeekDevApp - 12.01.2018 02:34

How to make links to the results search?

Ответить
Shahar Avital
Shahar Avital - 13.12.2017 21:43

Big TNX!!!

Ответить
Salman Faruq
Salman Faruq - 24.10.2017 02:01

Is there a way to ( save the search query) and display it as an administrator? I mean, if someone searches for something on my website, get the search query and store it somewhere for me (admin) to view what my viewers are interested in.

Ответить
Андрей Васильковский
Андрей Васильковский - 11.10.2017 02:05

Hello mate. What about pagination on search result page? In video u set 'posts_per_page' to -1 for all results, but what if we`ll show, for example, only 5 posts per page. How we`ll handle pagination?

Ответить
rot rose
rot rose - 21.09.2017 18:31

Your tutorials are the most enlightening ones, please continue.

Ответить
Richard Norby
Richard Norby - 02.06.2017 18:23

Excellent! Thanks!

Ответить
Ville
Ville - 25.05.2017 23:21

Hey! Could this work on when searching inside members profile fields? Example ill search a word "hiking" from the "profiles" and it would then show every profile which includes hiking inside the profile fields?

Ответить
Nabil Elidrissi
Nabil Elidrissi - 24.02.2017 16:46

This was an excellent tutorial, exactly what i was looking for well done Watch and Learn. Very Helpful ....

Ответить
Bean There Bun That
Bean There Bun That - 01.02.2017 00:04

Does anybody know how I can stop 's' searching title and content and only search a custom field?

Ответить
T P
T P - 23.09.2016 15:35

Hi, I like this tut., but I have a little problem. With empty input it shows results for selected option,, and for any it shows pages as well in search results. Is there any way to exclude pages, and stop show all with no text in the input field. I know it should work with "&& !empty" but it does not work for me.

Ответить
abwwong
abwwong - 29.08.2016 05:50

Thank you for the great series on WordPress Custom Query. You opened my eyes on this subject. However, it appears the codes for downloading is for tutorial #7 rather than #8. Could you replace it ? Much appreciation.

Ответить
Reverend Soquet
Reverend Soquet - 23.05.2016 17:56

I learned from you, thanks.

Ответить