update to handle correctly the post status
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
39560dc2cf
commit
2a2e15068c
|
|
@ -57,7 +57,7 @@ function build_search_artisan_posts_cards($request)
|
|||
}
|
||||
|
||||
$args = array(
|
||||
"status" => "publish",
|
||||
"post_status" => "publish",
|
||||
"post_type" => "artisans",
|
||||
"posts_per_page" => -1,
|
||||
"paged" => $activePage,
|
||||
|
|
@ -123,7 +123,7 @@ function debugQueryTest()
|
|||
{
|
||||
|
||||
$args = array(
|
||||
"status" => "publish",
|
||||
"post_status" => "publish",
|
||||
"post_type" => "artisans",
|
||||
"posts_per_page" => -1,
|
||||
// "tax_query" => $taxQuery,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user