URL search link for 'category__and' instead of php query

by user1552794   Last Updated September 11, 2019 19:08 PM - source

I found this in the WP Docs:

Display posts that are in multiple categories. This shows posts that are in both categories 2 and 6: $query = new WP_Query( array( 'category__and' => array( 2, 6 ) ) );

Is there a way to replicate this type of search via a direct search URL in the browser, so I can just link to the results instead of having to create a php file?

I am not really a developer so I apologize if this question is rudimentary.

Tags : search


Related Questions


Search result page as a new page

Updated April 06, 2017 10:08 AM

get search result from web

Updated February 20, 2017 08:08 AM

Disappearing posts in search results

Updated April 03, 2017 11:08 AM

Hiding Custom Post Type from Google?

Updated September 28, 2017 15:08 PM

Wordpress Schema.org Markup. What value does it add?

Updated February 17, 2016 01:03 AM