Advanced Custom Fieldsを使って検索を行っています。
キーワード検索を行う際に、本文とカスタムフィールドの両方にしたいのですが、以下のコードで正しく動作せず、困っています。
$this->acps_args = apply_filters('acps/query_args', array(
'post_type' => $this->acps_post_type,
's' => $this->acps_keyword_input,
'tax_query' => $acps_tax_args,
'meta_query' => array(
array(
'key' => 'キー名',
'value' => $this->acps_keyword_input,
'compare' => 'LIKE'
)
),
));
お力添え下さい。
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。