'.esc_html__('Slick Carousel Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
[slick-carousel-slider] '; } // Divi Frontend Builder - Do not Display Preview if( function_exists( 'et_core_is_fb_enabled' ) && isset( $_POST['is_fb_preview'] ) && isset( $_POST['shortcode'] ) ) { return ' '.esc_html__('Slick Carousel Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
slick-carousel-slider
'; } // Fusion Builder Live Editor - Do not Display Preview if( class_exists( 'FusionBuilder' ) && (( isset( $_GET['builder'] ) && $_GET['builder'] == 'true' ) || ( isset( $_POST['action'] ) && $_POST['action'] == 'get_shortcode_render' )) ) { return ' '.esc_html__('Slick Carousel Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
slick-carousel-slider
'; } // Shortcode Parameter $atts = shortcode_atts(array( 'limit' => 15, 'category' => '', 'show_title' => 'true', 'include_cat_child' => 'true', 'design' => 'prodesign-1', 'image_fit' => 'true', 'image_size' => 'large', 'show_content' => 'true', 'slidestoshow' => 3, 'loop' => 'true', 'slidestoscroll' => 1, 'dots' => 'true', 'arrows' => 'true', 'autoplay' => 'true', 'autoplay_interval' => 3000, 'speed' => 600, 'centermode' => 'false', 'center_padding' => 0, 'hover_pause' => 'true', 'focus_pause' => 'false', 'show_read_more' => 'true', 'read_more_text' => __('Read More', 'wp-slick-slider-and-image-carousel'), 'sliderheight' => '', 'rtl' => '', 'link_target' => 'self', 'order' => 'DESC', 'orderby' => 'date', 'exclude_cat' => array(), 'exclude_post' => array(), 'posts' => array(), 'arrow_design' => 'design-1', /* Design 1 to 8 */ 'dots_design' => 'design-1', /* Design 1 to 12 */ 'query_offset' => '', 'lazyload' => '', 'extra_class' => '', 'className' => '', 'align' => '', 'dev_param_1' => '', 'dev_param_2' => '', ), $atts, 'slick-carousel-slider'); $shortcode_designs = wpsisac_pro_carousel_designs(); $atts['limit'] = wpsisac_pro_clean_number( $atts['limit'], 15, 'number' ); $atts['slidestoshow'] = wpsisac_pro_clean_number( $atts['slidestoshow'], 3 ); $atts['slidestoscroll'] = wpsisac_pro_clean_number( $atts['slidestoscroll'], 1 ); $atts['autoplay_interval'] = wpsisac_pro_clean_number( $atts['autoplay_interval'], 3000 ); $atts['speed'] = wpsisac_pro_clean_number( $atts['speed'], 600 ); $atts['center_padding'] = wpsisac_pro_clean_number( $atts['center_padding'], 0 ); $atts['sliderheight'] = wpsisac_pro_clean_number( $atts['sliderheight'], '' ); $atts['query_offset'] = wpsisac_pro_clean_number( $atts['query_offset'], '' ); $atts['show_title'] = ( $atts['show_title'] == 'true' ) ? 1 : 0; $atts['category'] = ! empty( $atts['category'] ) ? explode( ',', $atts['category'] ) : ''; $atts['include_cat_child'] = ( $atts['include_cat_child'] == 'false' ) ? false : true; $atts['design'] = ( $atts['design'] && ( array_key_exists( trim( $atts['design'] ), $shortcode_designs ) ) ) ? trim($atts['design']) : 'prodesign-1'; $atts['image_size'] = ! empty( $atts['image_size'] ) ? $atts['image_size'] : 'large'; $atts['image_fit'] = ( $atts['image_fit'] == 'false' ) ? 0 : 1; $atts['loop'] = ( $atts['loop'] == 'false' ) ? 'false' : 'true'; $atts['dots'] = ( $atts['dots'] == 'false' ) ? 'false' : 'true'; $atts['arrows'] = ( $atts['arrows'] == 'false' ) ? 'false' : 'true'; $atts['autoplay'] = ( $atts['autoplay'] == 'false' ) ? 'false' : 'true'; $atts['centermode'] = ( $atts['centermode'] == 'true' ) ? 'true' : 'false'; $atts['hover_pause'] = ( $atts['hover_pause'] == 'false' ) ? 'false' : 'true'; $atts['focus_pause'] = ( $atts['focus_pause'] == 'true' ) ? 'true' : 'false'; $atts['show_content'] = ( $atts['show_content'] == 'true' ) ? 1 : 0; $atts['show_read_more'] = ( $atts['show_read_more'] == 'true' ) ? true : false; $atts['read_more_text'] = ! empty( $atts['read_more_text'] ) ? $atts['read_more_text'] : __('Read More', 'wp-slick-slider-and-image-carousel'); $atts['link_target'] = ( $atts['link_target'] == 'blank' ) ? '_blank' : '_self'; $atts['order'] = ( strtolower( $atts['order'] ) == 'asc' ) ? 'ASC' : 'DESC'; $atts['orderby'] = ! empty( $atts['orderby'] ) ? $atts['orderby'] : 'date'; $atts['exclude_cat'] = ! empty( $atts['exclude_cat'] ) ? explode( ',', $atts['exclude_cat'] ) : array(); $atts['exclude_post'] = ! empty( $atts['exclude_post'] ) ? explode( ',', $atts['exclude_post'] ) : array(); $atts['posts'] = ! empty( $atts['posts'] ) ? explode( ',', $atts['posts'] ) : array(); $atts['slider_height_css'] = ! empty( $atts['sliderheight'] ) ? "style='height:{$atts['sliderheight']}px;'" : ''; $atts['arrow_design'] = ! empty( $atts['arrow_design'] ) ? $atts['arrow_design'] : 'design-1'; $atts['dots_design'] = ! empty( $atts['dots_design'] ) ? $atts['dots_design'] : 'design-1'; $atts['lazyload'] = ( $atts['lazyload'] == 'ondemand' || $atts['lazyload'] == 'progressive' ) ? wpsisac_pro_clean( $atts['lazyload'] ) : ''; $atts['align'] = ! empty( $atts['align'] ) ? 'align'.$atts['align'] : ''; $atts['extra_class'] = $atts['extra_class'] .' '. $atts['align'] .' '. $atts['className']; $atts['extra_class'] = wpsisac_sanitize_html_classes( $atts['extra_class'] ); $atts['dev_param_1'] = ! empty( $atts['dev_param_1'] ) ? $atts['dev_param_1'] : ''; $atts['dev_param_2'] = ! empty( $atts['dev_param_2'] ) ? $atts['dev_param_2'] : ''; extract( $atts ); // For RTL if( empty( $rtl ) && is_rtl() ) { $rtl = 'true'; } elseif ( $rtl == 'true' ) { $rtl = 'true'; } else { $rtl = 'false'; } // Enqueus required script wp_enqueue_script( 'wpos-slick-jquery' ); wp_enqueue_script( 'wpsisac-pro-public-script' ); // Taking some global global $post; // Taking some variables $atts['count'] = 1; $atts['unique'] = wpsisac_pro_get_unique(); // Main Class Variable $atts['css_clr'] = "wpsisac-{$design}"; $atts['css_clr'] .= " wpsisac-arrow-{$arrow_design}"; $atts['css_clr'] .= " wpsisac-dots-{$dots_design}"; $atts['css_clr'] .= ( $image_fit ) ? ' wpsisac-image-fit' : ''; // WP Query Parameters $args = array ( 'post_type' => WPSISAC_PRO_POST_TYPE, 'post_status' => array( 'publish' ), 'orderby' => $orderby, 'order' => $order, 'posts_per_page' => $limit, 'post__not_in' => $exclude_post, 'post__in' => $posts, 'offset' => $query_offset, 'ignore_sticky_posts' => true, ); // Category Parameter if( $category != "" ) { $args['tax_query'] = array( array( 'taxonomy' => WPSISAC_PRO_CAT, 'field' => 'term_id', 'terms' => $category, 'include_children' => $include_cat_child, )); } else if( ! empty( $exclude_cat ) ) { $args['tax_query'] = array( array( 'taxonomy' => WPSISAC_PRO_CAT, 'field' => 'term_id', 'terms' => $exclude_cat, 'operator' => 'NOT IN', 'include_children' => $include_cat_child, )); } // WP Query Parameters $args = apply_filters( 'slick_carousel_slider_query_args', $args, $atts ); $query = new WP_Query( $args ); $post_count = $query->post_count; // Slidertoshow and Centermode Condition $slidestoshow = ( ! empty( $slidestoshow ) && $slidestoshow <= $post_count ) ? $slidestoshow : $post_count; $centermode = ( $centermode == 'true' && $slidestoshow % 2 != 0 && $slidestoshow != $post_count ) ? 'true' : 'false'; $atts['css_clr'] .= ( $centermode == 'true' ) ? ' wpsisac-center-mode' : ''; // Slider configuration $atts['slider_conf'] = compact( 'dots', 'arrows', 'autoplay', 'autoplay_interval', 'speed', 'design', 'rtl', 'loop', 'slidestoshow', 'center_padding', 'slidestoscroll', 'centermode', 'hover_pause', 'focus_pause', 'lazyload' ); ob_start(); // If post is there if( $query->have_posts() ) : wpsisac_get_template( 'carousel/loop-start.php', $atts ); // loop start while ( $query->have_posts() ) : $query->the_post(); $atts['slider_img'] = wpsisac_pro_get_post_featured_image( $post->ID, $image_size, true ); $atts['read_more_url'] = get_post_meta( $post->ID, 'wpsisac_slide_link', true ); $atts['slick_post_title'] = get_the_title(); wpsisac_get_template( "carousel/{$design}.php", $atts ); // design file $atts['count']++; endwhile; wpsisac_get_template( 'carousel/loop-end.php', $atts ); // loop end endif; // end have_post() wp_reset_postdata(); // Reset WP Query $content .= ob_get_clean(); return $content;}// 'slick-carousel-slider' shortcodeadd_shortcode('slick-carousel-slider', 'wpsisac_pro_carousel_slider'); '.esc_html__('Slick Variable Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
[slick-variable-slider] '; } // Divi Frontend Builder - Do not Display Preview if( function_exists( 'et_core_is_fb_enabled' ) && isset( $_POST['is_fb_preview'] ) && isset( $_POST['shortcode'] ) ) { return ' '.esc_html__('Slick Variable Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
slick-variable-slider
'; } // Fusion Builder Live Editor - Do not Display Preview if( class_exists( 'FusionBuilder' ) && (( isset( $_GET['builder'] ) && $_GET['builder'] == 'true' ) || ( isset( $_POST['action'] ) && $_POST['action'] == 'get_shortcode_render' )) ) { return ' '.esc_html__('Slick Variable Slider View - Shortcode', 'wp-slick-slider-and-image-carousel').'
slick-variable-slider
'; } // Shortcode Parameter $atts = shortcode_atts(array( 'limit' => 15, 'category' => '', 'show_title' => 'true', 'include_cat_child' => 'true', 'design' => 'prodesign-1', 'image_fit' => 'true', 'image_size' => 'full', 'show_content' => 'true', 'loop' => 'true', 'dots' => 'true', 'arrows' => 'true', 'autoplay' => 'true', 'autoplay_interval' => 3000, 'speed' => 600, 'show_read_more' => 'true', 'read_more_text' => __('Read More', 'wp-slick-slider-and-image-carousel'), 'sliderheight' => '', 'var_width' => 'false', 'rtl' => '', 'hover_pause' => 'true', 'focus_pause' => 'false', 'link_target' => 'self', 'order' => 'DESC', 'orderby' => 'date', 'exclude_cat' => array(), 'exclude_post' => array(), 'posts' => array(), 'center_width' => '70%', 'arrow_design' => 'design-1', /* Design 1 to 8 */ 'dots_design' => 'design-1', /* Design 1 to 12 */ 'query_offset' => '', 'lazyload' => '', 'extra_class' => '', 'className' => '', 'align' => '', 'dev_param_1' => '', 'dev_param_2' => '', ), $atts, 'slick-variable-slider'); $shortcode_designs = wpsisac_pro_variable_designs(); $atts['limit'] = wpsisac_pro_clean_number( $atts['limit'], 15, 'number' ); $atts['autoplay_interval'] = wpsisac_pro_clean_number( $atts['autoplay_interval'], 3000 ); $atts['speed'] = wpsisac_pro_clean_number( $atts['speed'], 600 ); $atts['sliderheight'] = wpsisac_pro_clean_number( $atts['sliderheight'], '' ); $atts['query_offset'] = wpsisac_pro_clean_number( $atts['query_offset'], '' ); $atts['show_title'] = ( $atts['show_title'] == 'true' ) ? 1 : 0; $atts['category'] = ! empty( $atts['category'] ) ? explode( ',', $atts['category'] ) : ''; $atts['include_cat_child'] = ( $atts['include_cat_child'] == 'false' ) ? false : true; $atts['design'] = ( $atts['design'] && ( array_key_exists( trim( $atts['design'] ), $shortcode_designs ) ) ) ? trim( $atts['design'] ) : 'prodesign-1'; $atts['image_size'] = ! empty( $atts['image_size'] ) ? $atts['image_size'] : 'full'; $atts['loop'] = ( $atts['loop'] == 'false' ) ? 'false' : 'true'; $atts['dots'] = ( $atts['dots'] == 'false' ) ? 'false' : 'true'; $atts['arrows'] = ( $atts['arrows'] == 'false' ) ? 'false' : 'true'; $atts['autoplay'] = ( $atts['autoplay'] == 'false' ) ? 'false' : 'true'; $atts['var_width'] = ( $atts['var_width'] == 'false' ) ? 'false' : 'true'; $atts['hover_pause'] = ( $atts['hover_pause'] == 'false' ) ? 'false' : 'true'; $atts['focus_pause'] = ( $atts['focus_pause'] == 'true' ) ? 'true' : 'false'; $atts['image_fit'] = ( $atts['image_fit'] == 'false' ) ? 0 : 1; $atts['show_content'] = ( $atts['show_content'] == 'true' ) ? 1 : 0; $atts['show_read_more'] = ( $atts['show_read_more'] == 'true' ) ? true : false; $atts['read_more_text'] = ! empty( $atts['read_more_text'] ) ? $atts['read_more_text'] : __('Read More', 'wp-slick-slider-and-image-carousel'); $atts['link_target'] = ( $atts['link_target'] == 'blank' ) ? '_blank' : '_self'; $atts['order'] = ( strtolower( $atts['order'] ) == 'asc' ) ? 'ASC' : 'DESC'; $atts['orderby'] = ! empty( $atts['orderby'] ) ? $atts['orderby'] : 'date'; $atts['exclude_cat'] = ! empty( $atts['exclude_cat'] ) ? explode( ',', $atts['exclude_cat'] ) : array(); $atts['exclude_post'] = ! empty( $atts['exclude_post'] ) ? explode( ',', $atts['exclude_post'] ) : array(); $atts['posts'] = ! empty( $atts['posts'] ) ? explode( ',', $atts['posts'] ) : array(); $atts['slider_height_css'] = ! empty($atts['sliderheight'] ) ? "style='height:{$atts['sliderheight']}px;'" : ''; $atts['center_width'] = ! empty( $atts['center_width'] ) ? $atts['center_width'] : '70%'; $atts['arrow_design'] = ( $atts['arrow_design'] ) ? $atts['arrow_design'] : 'design-1'; $atts['dots_design'] = ! empty($atts['dots_design'] ) ? $atts['dots_design'] : 'design-1'; $atts['lazyload'] = ( $atts['lazyload'] == 'ondemand' || $atts['lazyload'] == 'progressive' ) ? wpsisac_pro_clean( $atts['lazyload'] ) : ''; $atts['align'] = ! empty( $atts['align'] ) ? 'align'.$atts['align'] : ''; $atts['extra_class'] = $atts['extra_class'] .' '. $atts['align'] .' '. $atts['className']; $atts['extra_class'] = wpsisac_sanitize_html_classes( $atts['extra_class'] ); $atts['dev_param_1'] = ! empty( $atts['dev_param_1'] ) ? $atts['dev_param_1'] : ''; $atts['dev_param_2'] = ! empty( $atts['dev_param_2'] ) ? $atts['dev_param_2'] : ''; extract( $atts ); // For RTL if( empty( $rtl ) && is_rtl() ) { $rtl = 'true'; } elseif ( $rtl == 'true' ) { $rtl = 'true'; } else { $rtl = 'false'; } // Enqueus required script wp_enqueue_script( 'wpos-slick-jquery' ); wp_enqueue_script( 'wpsisac-pro-public-script' ); // Taking some global global $post; // Taking some variables $atts['unique'] = wpsisac_pro_get_unique(); $atts['count'] = 1; // Main Class Variable $atts['css_clr'] = "wpsisac-{$design}"; $atts['css_clr'] .= " wpsisac-arrow-{$arrow_design}"; $atts['css_clr'] .= " wpsisac-dots-{$dots_design}"; $atts['css_clr'] .= ( $image_fit ) ? ' wpsisac-image-fit' : ''; // Slider configuration $atts['slider_conf'] = compact( 'dots', 'arrows', 'autoplay', 'autoplay_interval','var_width', 'speed', 'design', 'rtl', 'loop', 'hover_pause', 'focus_pause', 'lazyload' ); // WP Query Parameters $args = array ( 'post_type' => WPSISAC_PRO_POST_TYPE, 'post_status' => array( 'publish' ), 'orderby' => $orderby, 'order' => $order, 'posts_per_page' => $limit, 'post__not_in' => $exclude_post, 'post__in' => $posts, 'offset' => $query_offset, 'ignore_sticky_posts' => true, ); // Category Parameter if( $category != "" ) { $args['tax_query'] = array( array( 'taxonomy' => WPSISAC_PRO_CAT, 'field' => 'term_id', 'terms' => $category, 'include_children' => $include_cat_child, )); } else if( ! empty( $exclude_cat ) ) { $args['tax_query'] = array( array( 'taxonomy' => WPSISAC_PRO_CAT, 'field' => 'term_id', 'terms' => $exclude_cat, 'operator' => 'NOT IN', 'include_children' => $include_cat_child, )); } // WP Query Parameters $args = apply_filters( 'slick_variable_slider_query_args', $args, $atts ); $query = new WP_Query( $args ); ob_start(); // If post is there if( $query->have_posts() ) : wpsisac_get_template( 'variable-width/loop-start.php', $atts ); // loop start while ( $query->have_posts() ) : $query->the_post(); $atts['slider_img'] = wpsisac_pro_get_post_featured_image( $post->ID, $image_size, true ); $atts['read_more_url'] = get_post_meta( $post->ID, 'wpsisac_slide_link', true ); $atts['slick_post_title'] = get_the_title(); wpsisac_get_template( "variable-width/{$design}.php", $atts ); // design file $atts['count']++; endwhile; wpsisac_get_template( 'variable-width/loop-end.php', $atts ); // loop end endif; // end have_post() wp_reset_postdata(); // Reset WP Query $content .= ob_get_clean(); return $content;}// 'slick-variable-slider' shortcodeadd_shortcode('slick-variable-slider', 'wpsisac_pro_variable_slider');{"id":15469,"date":"2023-10-11T11:51:00","date_gmt":"2023-10-11T11:51:00","guid":{"rendered":"http:\/\/43.205.217.194\/?p=15469"},"modified":"2024-01-29T12:11:11","modified_gmt":"2024-01-29T12:11:11","slug":"world-mental-health-day-2023","status":"publish","type":"post","link":"https:\/\/mitpune.edu.in\/2023\/10\/11\/world-mental-health-day-2023\/","title":{"rendered":"World Mental Health Day 2023"},"content":{"rendered":"\nUnlocking Minds, Nurturing Well-Being<\/p>\n\n\n\n
Department of Clinical Sciences and the Department of Liberal Arts organised a special event in commemoration of World Mental Health Day on Tuesday, 10th October 2023 at the MIT-WPU campus.<\/p>\n\n\n\n
MIT-WPU is dedicated to promoting mental well-being and raising awareness about various aspects of Psychology which was well translated through this interactive and engaging event. This event provided valuable insights and support to our students in their academic endeavours.<\/p>\n\n\n\n
Together, let us all keep contributing to the well-being of our students and the broader community.<\/p>\n\n\n\n
<\/p>\n","protected":false},"excerpt":{"rendered":"
Unlocking Minds, Nurturing Well-Being Department of Clinical Sciences and the Department of Liberal Arts organised a special event in commemoration of World Mental Health Day on Tuesday, 10th October 2023 at the MIT-WPU campus. MIT-WPU is dedicated to promoting mental well-being and raising awareness about various aspects of Psychology which was well translated through this […]<\/p>\n","protected":false},"author":6,"featured_media":15479,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-15469","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-events-announcements"],"_links":{"self":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/15469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/comments?post=15469"}],"version-history":[{"count":3,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/15469\/revisions"}],"predecessor-version":[{"id":15552,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/15469\/revisions\/15552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/media\/15479"}],"wp:attachment":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/media?parent=15469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/categories?post=15469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/tags?post=15469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}