Episode 08 • WordPress Custom Query

Custom Search

In this tutorial we are going to create custom search that searches our posts and post types using WordPress Custom Query.

In the previous episode we created kind of primer how you would work with WordPress Custom Queries dynamically. So you get some values put them in variables and then send those variables to custom query, and the query spits out data corresponding with those values.

We are going to do pretty much the same thing in this episode just a bit differently, since we are going to display our results on different page and we are also going to learn about WordPress Custom Query property that we didn't cover just yet and that is s property that is used by WordPress for search.

Download code
  • Episode 01 • Duration 19:41

    Basics

  • Episode 02 • Duration 10:51

    Sorting

  • Episode 03 • Duration 09:07

    Comparing

  • Episode 04 • Duration 18:12

    Taxonomy

  • Episode 05 • Duration 14:16

    meta_query

  • Episode 06 • Duration 15:19

    tax_query

  • Episode 07 • Duration 19:29

    Custom Filters

  • Episode 08 • Duration 16:50

    Custom Search

  • Episode 01 • Duration 19:41

    Basics

  • Episode 02 • Duration 10:51

    Sorting

  • Episode 03 • Duration 09:07

    Comparing

  • Episode 04 • Duration 18:12

    Taxonomy

  • Episode 05 • Duration 14:16

    meta_query

  • Episode 06 • Duration 15:19

    tax_query

  • Episode 07 • Duration 19:29

    Custom Filters

  • Episode 08 • Duration 16:50

    Custom Search