/** * Note: This file may contain artifacts of previous malicious infection. * However, the dangerous code has been removed, and the file is now safe to use. */ /* * Goodlayers Function File * --------------------------------------------------------------------- * This file include all of important function and features of the theme * --------------------------------------------------------------------- */ // goodlayers core plugin function include_once(get_template_directory() . '/admin/core/sidebar-generator.php'); include_once(get_template_directory() . '/admin/core/utility.php'); include_once(get_template_directory() . '/admin/core/media.php' ); // create admin page if( is_admin() ){ include_once(get_template_directory() . '/admin/tgmpa/class-tgm-plugin-activation.php'); include_once(get_template_directory() . '/admin/tgmpa/plugin-activation.php'); include_once(get_template_directory() . '/admin/function/getting-start.php'); } // plugins include_once(get_template_directory() . '/plugins/wpml.php'); include_once(get_template_directory() . '/plugins/revslider.php'); ///////////////////// // front end script ///////////////////// include_once(get_template_directory() . '/include/utility.php' ); include_once(get_template_directory() . '/include/function-regist.php' ); include_once(get_template_directory() . '/include/navigation-menu.php' ); include_once(get_template_directory() . '/include/include-script.php' ); include_once(get_template_directory() . '/include/goodlayers-core-filter.php' ); include_once(get_template_directory() . '/include/goodlayers-core-blog-style.php' ); include_once(get_template_directory() . '/include/goodlayers-core-element-filter.php' ); include_once(get_template_directory() . '/include/maintenance.php' ); include_once(get_template_directory() . '/woocommerce/woocommerce-settings.php' ); ///////////////////// // execute module ///////////////////// // initiate sidebar structure new gdlr_core_sidebar_generator( array( 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // remove the core default action to enqueue the theme script remove_action('after_setup_theme', 'gdlr_init_goodlayers_core_elements'); add_action('after_setup_theme', 'kleanity_init_goodlayers_core_elements'); if( !function_exists('kleanity_init_goodlayers_core_elements') ){ function kleanity_init_goodlayers_core_elements(){ // create an admin option and customizer if( (is_admin() || is_customize_preview()) && class_exists('gdlr_core_admin_option') && class_exists('gdlr_core_theme_customizer') ){ $kleanity_admin_option = new gdlr_core_admin_option(array( 'filewrite' => kleanity_get_style_custom(true) )); include_once( get_template_directory() . '/include/options/general.php'); include_once( get_template_directory() . '/include/options/typography.php'); include_once( get_template_directory() . '/include/options/color.php'); include_once( get_template_directory() . '/include/options/plugin-settings.php'); include_once( get_template_directory() . '/include/options/customize-utility.php'); if( is_customize_preview() ){ new gdlr_core_theme_customizer($kleanity_admin_option); } // clear an option for customize page add_action('wp', 'kleanity_clear_option'); } // add the script for page builder / page options / post option if( is_admin() ){ if( class_exists('gdlr_core_revision') ){ $revision_num = 5; new gdlr_core_revision($revision_num); } // create page option if( class_exists('gdlr_core_page_option') ){ // for page post type new gdlr_core_page_option(array( 'post_type' => array('page'), 'options' => array( 'layout' => array( 'title' => esc_html__('Layout', 'kleanity'), 'options' => array( 'enable-header-area' => array( 'title' => esc_html__('Enable Header Area', 'kleanity'), 'type' => 'checkbox', 'default' => 'enable' ), 'enable-page-title' => array( 'title' => esc_html__('Enable Page Title', 'kleanity'), 'type' => 'checkbox', 'default' => 'enable', 'condition' => array( 'enable-header-area' => 'enable' ) ), 'page-caption' => array( 'title' => esc_html__('Caption', 'kleanity'), 'type' => 'textarea', 'condition' => array( 'enable-header-area' => 'enable', 'enable-page-title' => 'enable' ) ), 'title-background' => array( 'title' => esc_html__('Page Title Background', 'kleanity'), 'type' => 'upload', 'condition' => array( 'enable-header-area' => 'enable', 'enable-page-title' => 'enable' ) ), 'show-content' => array( 'title' => esc_html__('Show WordPress Editor Content', 'kleanity'), 'type' => 'checkbox', 'default' => 'enable', 'description' => esc_html__('Disable this to hide the content in editor to show only page builder content.', 'kleanity'), ), 'sidebar' => array( 'title' => esc_html__('Sidebar', 'kleanity'), 'type' => 'radioimage', 'options' => 'sidebar', 'default' => 'none', 'wrapper-class' => 'gdlr-core-fullsize' ), 'sidebar-left' => array( 'title' => esc_html__('Sidebar Left', 'kleanity'), 'type' => 'combobox', 'options' => 'sidebar', 'condition' => array( 'sidebar' => array('left', 'both') ) ), 'sidebar-right' => array( 'title' => esc_html__('Sidebar Right', 'kleanity'), 'type' => 'combobox', 'options' => 'sidebar', 'condition' => array( 'sidebar' => array('right', 'both') ) ), 'enable-footer' => array( 'title' => esc_html__('Enable Footer', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default' => esc_html__('Default', 'kleanity'), 'enable' => esc_html__('Enable', 'kleanity'), 'disable' => esc_html__('Disable', 'kleanity'), ) ), 'enable-copyright' => array( 'title' => esc_html__('Enable Copyright', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default' => esc_html__('Default', 'kleanity'), 'enable' => esc_html__('Enable', 'kleanity'), 'disable' => esc_html__('Disable', 'kleanity'), ) ), ) ), // layout 'title' => array( 'title' => esc_html__('Title Style', 'kleanity'), 'options' => array( 'title-style' => array( 'title' => esc_html__('Page Title Style', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default' => esc_html__('Default', 'kleanity'), 'small' => esc_html__('Small', 'kleanity'), 'medium' => esc_html__('Medium', 'kleanity'), 'large' => esc_html__('Large', 'kleanity'), 'custom' => esc_html__('Custom', 'kleanity'), ), 'default' => 'default' ), 'title-align' => array( 'title' => esc_html__('Page Title Alignment', 'kleanity'), 'type' => 'radioimage', 'options' => 'text-align', 'with-default' => true, 'default' => 'default' ), 'title-spacing' => array( 'title' => esc_html__('Page Title Padding', 'kleanity'), 'type' => 'custom', 'item-type' => 'padding', 'data-input-type' => 'pixel', 'options' => array('padding-top', 'padding-bottom', 'caption-top-margin'), 'wrapper-class' => 'gdlr-core-fullsize gdlr-core-no-link gdlr-core-large', 'condition' => array( 'title-style' => 'custom' ) ), 'title-font-size' => array( 'title' => esc_html__('Page Title Font Size', 'kleanity'), 'type' => 'custom', 'item-type' => 'padding', 'data-input-type' => 'pixel', 'options' => array('title-size', 'title-letter-spacing', 'caption-size', 'caption-letter-spacing'), 'wrapper-class' => 'gdlr-core-fullsize gdlr-core-no-link gdlr-core-large', 'condition' => array( 'title-style' => 'custom' ) ), 'title-font-weight' => array( 'title' => esc_html__('Page Title Font Weight', 'kleanity'), 'type' => 'custom', 'item-type' => 'padding', 'options' => array('title-weight', 'caption-weight'), 'wrapper-class' => 'gdlr-core-fullsize gdlr-core-no-link gdlr-core-large', 'condition' => array( 'title-style' => 'custom' ) ), 'title-font-transform' => array( 'title' => esc_html__('Page Title Font Transform', 'kleanity'), 'type' => 'combobox', 'options' => array( 'none' => esc_html__('None', 'kleanity'), 'uppercase' => esc_html__('Uppercase', 'kleanity'), 'lowercase' => esc_html__('Lowercase', 'kleanity'), 'capitalize' => esc_html__('Capitalize', 'kleanity'), ), 'default' => 'uppercase', 'condition' => array( 'title-style' => 'custom' ) ), 'title-background-overlay-opacity' => array( 'title' => esc_html__('Page Title Background Overlay Opacity', 'kleanity'), 'type' => 'text', 'description' => esc_html__('Fill the number between 0 - 1 ( Leave Blank For Default Value )', 'kleanity'), 'condition' => array( 'title-style' => 'custom' ) ), 'title-color' => array( 'title' => esc_html__('Page Title Color', 'kleanity'), 'type' => 'colorpicker', ), 'caption-color' => array( 'title' => esc_html__('Page Caption Color', 'kleanity'), 'type' => 'colorpicker', ), 'title-background-overlay-color' => array( 'title' => esc_html__('Page Background Overlay Color', 'kleanity'), 'type' => 'colorpicker', ), ) ), // title 'header' => array( 'title' => esc_html__('Header', 'kleanity'), 'options' => array( 'header-slider' => array( 'title' => esc_html__('Header Slider ( Above Navigation )', 'kleanity'), 'type' => 'combobox', 'options' => array( 'none' => esc_html__('None', 'kleanity'), 'layer-slider' => esc_html__('Layer Slider', 'kleanity'), 'master-slider' => esc_html__('Master Slider', 'kleanity'), 'revolution-slider' => esc_html__('Revolution Slider', 'kleanity'), ), 'description' => esc_html__('For header style plain / bar / boxed', 'kleanity'), ), 'layer-slider-id' => array( 'title' => esc_html__('Choose Layer Slider', 'kleanity'), 'type' => 'combobox', 'options' => gdlr_core_get_layerslider_list(), 'condition' => array( 'header-slider' => 'layer-slider' ) ), 'master-slider-id' => array( 'title' => esc_html__('Choose Master Slider', 'kleanity'), 'type' => 'combobox', 'options' => gdlr_core_get_masterslider_list(), 'condition' => array( 'header-slider' => 'master-slider' ) ), 'revolution-slider-id' => array( 'title' => esc_html__('Choose Revolution Slider', 'kleanity'), 'type' => 'combobox', 'options' => gdlr_core_get_revolution_slider_list(), 'condition' => array( 'header-slider' => 'revolution-slider' ) ), ) // header options ), // header 'bullet-anchor' => array( 'title' => esc_html__('Bullet Anchor', 'kleanity'), 'options' => array( 'bullet-anchor-description' => array( 'type' => 'description', 'description' => esc_html__('This feature is used for one page navigation. It will appear on the right side of page. You can put the id of element in \'Anchor Link\' field to let the bullet scroll the page to.', 'kleanity') ), 'bullet-anchor' => array( 'title' => esc_html__('Add Anchor', 'kleanity'), 'type' => 'custom', 'item-type' => 'tabs', 'options' => array( 'title' => array( 'title' => esc_html__('Anchor Link', 'kleanity'), 'type' => 'text', ), 'anchor-color' => array( 'title' => esc_html__('Anchor Color', 'kleanity'), 'type' => 'colorpicker', ), 'anchor-hover-color' => array( 'title' => esc_html__('Anchor Hover Color', 'kleanity'), 'type' => 'colorpicker', ) ), 'wrapper-class' => 'gdlr-core-fullsize' ), ) ) ) )); // for post post type new gdlr_core_page_option(array( 'post_type' => array('post'), 'options' => array( 'layout' => array( 'title' => esc_html__('Layout', 'kleanity'), 'options' => array( 'show-content' => array( 'title' => esc_html__('Show WordPress Editor Content', 'kleanity'), 'type' => 'checkbox', 'default' => 'enable', 'description' => esc_html__('Disable this to hide the content in editor to show only page builder content.', 'kleanity'), ), 'sidebar' => array( 'title' => esc_html__('Sidebar', 'kleanity'), 'type' => 'radioimage', 'options' => 'sidebar', 'with-default' => true, 'default' => 'default', 'wrapper-class' => 'gdlr-core-fullsize' ), 'sidebar-left' => array( 'title' => esc_html__('Sidebar Left', 'kleanity'), 'type' => 'combobox', 'options' => 'sidebar', 'condition' => array( 'sidebar' => array('left', 'both') ) ), 'sidebar-right' => array( 'title' => esc_html__('Sidebar Right', 'kleanity'), 'type' => 'combobox', 'options' => 'sidebar', 'condition' => array( 'sidebar' => array('right', 'both') ) ), ) ), 'metro-layout' => array( 'title' => esc_html__('Metro Layout', 'kleanity'), 'options' => array( 'metro-column-size' => array( 'title' => esc_html__('Column Size', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default'=> esc_html__('Default', 'kleanity'), 60 => '1/1', 30 => '1/2', 20 => '1/3', 40 => '2/3', 15 => '1/4', 45 => '3/4', 12 => '1/5', 24 => '2/5', 36 => '3/5', 48 => '4/5', 10 => '1/6', 50 => '5/6'), 'default' => 'default', 'description' => esc_html__('Choosing default will display the value selected by the page builder item.', 'kleanity') ), 'metro-thumbnail-size' => array( 'title' => esc_html__('Thumbnail Size', 'kleanity'), 'type' => 'combobox', 'options' => 'thumbnail-size', 'with-default' => true, 'default' => 'default', 'description' => esc_html__('Choosing default will display the value selected by the page builder item.', 'kleanity') ) ) ), 'title' => array( 'title' => esc_html__('Title', 'kleanity'), 'options' => array( 'blog-title-style' => array( 'title' => esc_html__('Blog Title Style', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default' => esc_html__('Default', 'kleanity'), 'small' => esc_html__('Small', 'kleanity'), 'large' => esc_html__('Large', 'kleanity'), 'custom' => esc_html__('Custom', 'kleanity'), 'inside-content' => esc_html__('Inside Content', 'kleanity'), 'none' => esc_html__('None', 'kleanity'), ), 'default' => 'default' ), 'blog-title-padding' => array( 'title' => esc_html__('Blog Title Padding', 'kleanity'), 'type' => 'custom', 'item-type' => 'padding', 'data-input-type' => 'pixel', 'options' => array('padding-top', 'padding-bottom'), 'wrapper-class' => 'gdlr-core-fullsize gdlr-core-no-link gdlr-core-large', 'condition' => array( 'blog-title-style' => 'custom' ) ), 'blog-feature-image' => array( 'title' => esc_html__('Blog Feature Image Location', 'kleanity'), 'type' => 'combobox', 'options' => array( 'default' => esc_html__('Default', 'kleanity'), 'content' => esc_html__('Inside Content', 'kleanity'), 'title-background' => esc_html__('Title Background', 'kleanity'), 'none' => esc_html__('None', 'kleanity'), ) ), 'blog-title-background-image' => array( 'title' => esc_html__('Blog Title Background Image', 'kleanity'), 'type' => 'upload', 'data-type' => 'file', 'condition' => array( 'blog-title-style' => array('default', 'small', 'large', 'custom'), 'blog-feature-image' => array('default', 'content', 'none') ), 'description' => esc_html__('Will be overridden by feature image if selected.', 'kleanity'), ), 'blog-title-background-overlay-opacity' => array( 'title' => esc_html__('Blog Title Background Overlay Opacity', 'kleanity'), 'type' => 'text', 'description' => esc_html__('Fill the number between 0 - 1 ( Leave Blank For Default Value )', 'kleanity'), 'condition' => array( 'blog-title-style' => 'custom', 'blog-feature-image' => array( 'default', 'content', 'none' ) ), ), ) // options ) // title ) )); } } // create page builder if( class_exists('gdlr_core_page_builder') ){ new gdlr_core_page_builder(array( 'style' => array( 'style-custom' => kleanity_get_style_custom() ) )); } } // kleanity_init_goodlayers_core_elements } // function_exists Furniture – SMK Pariwisata Triatma Jaya Singaraja https://smktj-sgr.sch.id SMK Pariwisata Triatma Jaya Singaraja Thu, 26 Feb 2026 15:41:17 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.26 https://smktj-sgr.sch.id/wp-content/uploads/2019/01/cropped-logo-bundar-32x32.png Furniture – SMK Pariwisata Triatma Jaya Singaraja https://smktj-sgr.sch.id 32 32 Black Molded Shell Chair https://smktj-sgr.sch.id/portfolio/black-molded-shell-chair/ Thu, 24 Nov 2016 19:33:34 +0000 http://demo.goodlayers.com/kleanity/?post_type=portfolio&p=3997 Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

]]>
Blue Modern Pillow https://smktj-sgr.sch.id/portfolio/blue-modern-pillow/ Thu, 24 Nov 2016 17:48:54 +0000 http://demo.goodlayers.com/kleanity/?post_type=portfolio&p=3984 Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

]]>
Yellow & Green Sofa https://smktj-sgr.sch.id/portfolio/yellow-green-sofa/ Wed, 02 Nov 2016 17:41:01 +0000 http://demo.goodlayers.com/realfactory/?post_type=portfolio&p=2518 Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

]]>
Small Desk Lamp https://smktj-sgr.sch.id/portfolio/small-desk-lamp/ Wed, 31 Aug 2016 15:27:10 +0000 http://demo.goodlayers.com/realfactory/?post_type=portfolio&p=2488 Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

]]>
Kleanity’s Sofa Pink Scene https://smktj-sgr.sch.id/portfolio/kleanitys-sofa-pink-scene/ Sun, 24 Jul 2016 10:00:08 +0000 http://demo.goodlayers.com/kleanity/?post_type=portfolio&p=3980 Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

]]>