//logged in shortcode function check_user ($params, $content = null){ //check tha the user is logged…
Shortcode to show current search term
//===================================================
//SHORTCODE: SEARCH TERM
//===================================================
add_shortcode( 'search_term', function( $atts = null, $content = null ) {
return $_GET['s'].$_GET['wpv_post_search'];
} );