admin管理员组文章数量:1414908
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.
本文标签: URL search link for 39categoryand39 instead of php query
版权声明:本文标题:URL search link for 'category__and' instead of php query 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745167093a2645748.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论