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