Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Frontend Search Settings: Any post type › Reply To: Frontend Search Settings: Any post type
January 26, 2021 at 7:55 am
#31287
Participant
Hello,
ok, that’s unfortunate.
One of the ideas was also changing options to radio buttons and adding a filter to asp_pre_get_front_filters with:
array(
'field' => 'cpt',
'value' => 'any', // or '', or 'post_type1,post_type2,post_type3'
'label' => 'Any',
'default' => true,
'selected' => true
)
But none of this is recognized and it just fallbacks to “post”. Is there anything else we can try in the value field, or it just allows single value with one of the post_types selected in source?
Best regards