single_hotel
// Add Shortcode function single_hotel_shortcode( $atts ) { // Attributes extract( shortcode_atts( array( 'hotel_id' => '', ), $atts ) ); } add_shortcode( 'singlehotel', 'single_hotel_shortcode' );
// Add Shortcode function single_hotel_shortcode( $atts ) { // Attributes extract( shortcode_atts( array( 'hotel_id' => '', ), $atts ) ); } add_shortcode( 'singlehotel', 'single_hotel_shortcode' );