PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
inc
/
kingcomposer
/
shortcodes
<?php if (function_exists('kc_add_map')) { include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); $args = array( 'type' => 'sermon', 'child_of' => 0, 'parent' => '', 'orderby' => 'term_group', 'hide_empty' => false, 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'number' => '', 'taxonomy' => 'sermon_category', 'pad_counts' => false ); $webnus_sermon_categories = ''; if ( is_plugin_active( 'webnus-sermons/webnus-sermons.php' ) ) { $categories = get_categories( $args ); // get category name $webnus_sermon_categories = array(); $webnus_sermon_categories_name = array(); foreach( $categories as $category ) : $webnus_sermon_categories[] = $category->slug; $webnus_sermon_categories_name[] = $category->name; endforeach; $category_array = array_combine($webnus_sermon_categories, $webnus_sermon_categories_name); } kc_add_map( array( 'sermon-category' => array( 'name' => esc_html__( 'Sermon Category', 'deep' ), 'description' => esc_html__( 'Show Latest Or Popular Sermons', 'deep' ), 'icon' => 'webnus-sermons', 'category' => esc_html__( 'Webnus Shortcodes', 'deep' ), 'params' => array( 'General' => array( array( 'name' => 'category', 'label' => esc_html__( 'Select Category', 'deep' ), 'type' => 'select', 'options' => $category_array, 'description' => esc_html__( 'Select specific category', 'deep' ), ), array( 'name' => 'image', 'label' => esc_html__( 'Select Category Image', 'deep' ), 'type' => 'attach_image', ), array( 'name' => 'thumbnail', 'label' => esc_html__( 'Image Size', 'deep' ), 'type' => 'text', 'description' => esc_html__( 'Enter image size (Example: 200x100 (Width x Height)).', 'deep'), ), ), 'Class & ID' => array( array( 'name' => 'shortcodeclass', 'label' => esc_html__('Extra Class', 'deep'), 'type' => 'text', ), array( 'name' => 'shortcodeid', 'label' => esc_html__('ID', 'deep'), 'type' => 'text', ), ), ) ), ) ); // End add map } // End if
[+]
..
[-] review-form.php
[edit]
[-] portfolio-carousel.php
[edit]
[-] buy-process.php
[edit]
[-] our-process.php
[edit]
[-] deep-gallery.php
[edit]
[-] dropcap.php
[edit]
[-] line.php
[edit]
[-] block-quote.php
[edit]
[-] link.php
[edit]
[-] instagram.php
[edit]
[-] videoplay.php
[edit]
[-] teaserbox.php
[edit]
[-] singlesermon.php
[edit]
[-] recipes.php
[edit]
[-] imagecarousel.php
[edit]
[-] w-svg.php
[edit]
[-] roadmap.php
[edit]
[-] singlecause.php
[edit]
[-] quote.php
[edit]
[-] alert.php
[edit]
[-] category-tab.php
[edit]
[-] button.php
[edit]
[-] collection.php
[edit]
[-] before-after-image.php
[edit]
[-] testimonial-tab-single.php
[edit]
[-] vcw.php
[edit]
[-] video-teaser.php
[edit]
[-] socials.php
[edit]
[-] tooltip.php
[edit]
[-] sermon-category.php
[edit]
[-] w-title.php
[edit]
[-] rooms.php
[edit]
[-] wp-hotel-booking.php
[edit]
[-] shop-product.php
[edit]
[-] distance.php
[edit]
[-] schedule.php
[edit]
[-] subscribe.php
[edit]
[-] review-items.php
[edit]
[-] featured-product.php
[edit]
[-] sermons.php
[edit]
[-] login.php
[edit]
[-] ourclients.php
[edit]
[-] testimonial.php
[edit]
[-] latestfromblog.php
[edit]
[-] pricing-tables.php
[edit]
[-] testimonial-tab-main.php
[edit]
[-] googlemap.php
[edit]
[-] custom-menu.php
[edit]
[-] content-carousel.php
[edit]
[-] tablepress.php
[edit]
[-] icon.php
[edit]
[-] blog.php
[edit]
[-] testimonialslider.php
[edit]
[-] content-slider-main.php
[edit]
[-] prayer-form.php
[edit]
[-] icondivider.php
[edit]
[-] testimonial-carousel.php
[edit]
[-] special-offers.php
[edit]
[-] search.php
[edit]
[-] iconbox.php
[edit]
[-] revslider.php
[edit]
[-] content-carousel-tab.php
[edit]
[-] postslider.php
[edit]
[-] infobox.php
[edit]
[-] the-grid.php
[edit]
[-] speakers.php
[edit]
[-] maxcounter.php
[edit]
[-] ourteam.php
[edit]
[-] reservation.php
[edit]
[-] toggle-box.php
[edit]
[-] donate.php
[edit]
[-] food-menu.php
[edit]
[-] countdown.php
[edit]
[-] content-slider-single.php
[edit]
[-] postfromblog.php
[edit]
[-] like-view-share.php
[edit]
[-] pricing-plan.php
[edit]
[-] magazine.php
[edit]
[-] list.php
[edit]
[-] image-hotspot.php
[edit]
[-] service-carousel.php
[edit]
[-] latest-tweets.php
[edit]
[-] process-carousel.php
[edit]
[-] callout.php
[edit]
[-] domain-checker.php
[edit]
[-] causes.php
[edit]
[-] prayer-items.php
[edit]