Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › New Search Bar Configuration › Reply To: New Search Bar Configuration
February 5, 2020 at 4:03 pm
#25687
Keymaster
Hi Jeff,
1. It could be possible, but only by using a custom code.
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
add_filter('asp_shortcode_output', 'asp_shortcode_output_logged_in', 10, 2);
function asp_shortcode_output_logged_in($out, $id) {
// Return the shortcode to logged-in users only
if ( is_user_logged_in() ) {
return $out;
} else {
return '';
}
}
2. If PeepSo stores these fields as user meta fields (custom fields), then you should be able to select them here: https://i.imgur.com/OaefRzq.png
Just search and drag the field(s) you want to use.