[Plugin: Relevanssi – A Better Search] custom args
-
I’m using this plugin and like it very much. But how can I add custom args like this:
$args = array(
‘author’ => $author,
‘posts_per_page’ => $nrpostsPage,
‘tax_query’ => array(
array(
‘taxonomy’ => $taxonomy,
‘field’ => ‘id’,
‘terms’ => $category,
‘operator’ => ‘IN’
)
),
‘paged’ => $paged,
‘post_type’ => $post_type,
‘order’ => $order ,
‘orderby’=> $order_by,
‘meta_key’ => $meta_key,
‘meta_query’ => $meta_query,
);or if something like that is not working, how can I add custom SQL statements (.$where)..?
Thanks a lot,
Ninos
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Relevanssi – A Better Search] custom args’ is closed to new replies.