'.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":10165,"date":"2022-11-10T06:20:00","date_gmt":"2022-11-10T06:20:00","guid":{"rendered":"http:\/\/43.205.217.194\/?p=10165"},"modified":"2023-03-03T06:22:26","modified_gmt":"2023-03-03T06:22:26","slug":"national-conference-on-media-journalism","status":"publish","type":"post","link":"https:\/\/mitpune.edu.in\/2022\/11\/10\/national-conference-on-media-journalism\/","title":{"rendered":"National Conference on Media & Journalism"},"content":{"rendered":"\n

The National Conference on Media & Journalism (NCMJ) has emerged as one of the strongest proponents of ethical Media & Journalism in India. It has established itself as an important platform to bring together media leaders from across the country and abroad to connect and deliberate upon media ethics and the ever changing landscape of Indian media. The NCMJ provides a common ground for intense reflection, open dialogue and inclusive discussions about the role of Media and Journalism in conflict resolution and the promotion of culture of peace in this world. This conference will bring together leading media personalities, experts, policy makers, academicians, social observers, administrators, peace advocates to exchange perspectives and share best practices related to the promotion of sustainable peace and development through media.<\/p>\n","protected":false},"excerpt":{"rendered":"

The National Conference on Media & Journalism (NCMJ) has emerged as one of the strongest proponents of ethical Media & Journalism in India. It has established itself as an important platform to bring together media leaders from across the country and abroad to connect and deliberate upon media ethics and the ever changing landscape of […]<\/p>\n","protected":false},"author":1,"featured_media":10166,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-10165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-achievements-wpu"],"_links":{"self":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/10165","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/comments?post=10165"}],"version-history":[{"count":1,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/10165\/revisions"}],"predecessor-version":[{"id":10167,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/posts\/10165\/revisions\/10167"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/media\/10166"}],"wp:attachment":[{"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/media?parent=10165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/categories?post=10165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mitpune.edu.in\/wp-json\/wp\/v2\/tags?post=10165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}