/** * Simppeli functions and definitions * * @package Simppeli */ /** * The current version of the theme. */ define('SIMPPELI_VERSION', '1.1.0'); /** * The suffix to use for scripts. */ if (defined('SCRIPT_DEBUG') && true === SCRIPT_DEBUG) { define('SIMPPELI_SUFFIX', ''); } else { define('SIMPPELI_SUFFIX', '.min'); } if (!function_exists('simppeli_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 simppeli_setup() { /** * Set the content width based on the theme's design and stylesheet. */ global $content_width; if (!isset($content_width)) { $content_width = apply_filters('simppeli_content_width', 750); /* pixels */ } /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Simppeli, use a find and replace * to change 'simppeli' to the name of your theme in all the template files */ load_theme_textdomain('simppeli', get_template_directory() . '/languages'); // Add default posts and comments RSS feed links to head. add_theme_support('automatic-feed-links'); /* * 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'); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support('post-thumbnails'); set_post_thumbnail_size(1120, 9999, false); // This theme uses wp_nav_menu() in one location. register_nav_menus(array('primary' => esc_html__('Primary Menu', 'simppeli'))); /* * 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')); /* Add theme support for refresh widgets. */ add_theme_support('customize-selective-refresh-widgets'); /* Add support for logo. */ add_theme_support('custom-logo', array('height' => 80, 'width' => 80, 'flex-height' => true, 'flex-width' => true)); /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ add_editor_style(array('css/editor-style.css', simppeli_fonts_url())); } } // simppeli_setup add_action('after_setup_theme', 'simppeli_setup'); /** * Enqueue scripts and styles. */ function simppeli_scripts() { /* Enqueue fonts. */ wp_enqueue_style('simppeli-fonts', simppeli_fonts_url(), array(), null); /* Enqueue parent theme styles if using child theme. */ if (is_child_theme()) { wp_enqueue_style('simppeli-parent-style', trailingslashit(get_template_directory_uri()) . 'style' . SIMPPELI_SUFFIX . '.css', array(), SIMPPELI_VERSION); } /* Enqueue active theme styles. */ wp_enqueue_style('simppeli-style', get_stylesheet_uri()); /* Enqueue skip link focus fix. */ wp_enqueue_script('simppeli-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix' . SIMPPELI_SUFFIX . '.js', array(), SIMPPELI_VERSION, true); /* Enqueue comment reply. */ if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } } add_action('wp_enqueue_scripts', 'simppeli_scripts'); /** * Change [...] to ... Read more. * * @since 1.0.0 */ function simppeli_excerpt_more() { /* Translators: The %s is the post title shown to screen readers. */ $text = sprintf(__('Continue reading %s <span class="meta-nav">→</span>', 'simppeli'), '<span class="screen-reader-text">' . get_the_title() . '</span>'); $more = sprintf('… <p class="simppeli-read-more"><a href="%s" class="more-link">%s</a></p>', esc_url(get_permalink()), $text); return $more; } add_filter('excerpt_more', 'simppeli_excerpt_more'); if (!function_exists('simppeli_fonts_url')) { /** * Register Google fonts for Simppeli. * * @since 1.0.0 * @return string Google fonts URL for the theme. */ function simppeli_fonts_url() { $fonts_url = ''; $fonts = array(); $subsets = 'latin,latin-ext'; /* * Translators: If there are characters in your language that are not supported * by Noto Sans, translate this to 'off'. Do not translate into your own language. */ if ('off' !== _x('on', 'Noto Sans font: on or off', 'simppeli')) { $fonts[] = 'Noto Sans:400italic,700italic,400,700'; } /* * Translators: If there are characters in your language that are not supported * by Noto Serif, translate this to 'off'. Do not translate into your own language. */ if ('off' !== _x('on', 'Noto Serif font: on or off', 'simppeli')) { $fonts[] = 'Noto Serif:400italic,700italic,400,700'; } /* * Translators: To add an additional character subset specific to your language, * translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language. */ $subset = _x('no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'simppeli'); if ('cyrillic' == $subset) { $subsets .= ',cyrillic,cyrillic-ext'; } elseif ('greek' == $subset) { $subsets .= ',greek,greek-ext'; } elseif ('devanagari' == $subset) { $subsets .= ',devanagari'; } elseif ('vietnamese' == $subset) { $subsets .= ',vietnamese'; } if ($fonts) { $fonts_url = add_query_arg(array('family' => urlencode(implode('|', $fonts)), 'subset' => urlencode($subsets)), 'https://fonts.googleapis.com/css'); } return esc_url_raw($fonts_url); } } /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Implement the Custom Background feature. */ require get_template_directory() . '/inc/custom-background.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'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ require get_template_directory() . '/inc/jetpack.php';<!DOCTYPE html> <html lang="id-ID" prefix="og: http://ogp.me/ns#"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="https://rockwoolperedamsuara.com/xmlrpc.php"> <!-- All in One SEO Pack 2.12 by Michael Torbert of Semper Fi Web Design[,] --> <meta name="description" content="Importir Rockwool , Glasswool ,Acoustic Board , Aluminium Foil Sheet , Lantai Vinyl Kayu , Karpet , Wallpaper , Pengiriman Jabodetabek Peredam Suara Tangerang." /> <link rel='next' href='https://rockwoolperedamsuara.com/page/2/' /> <link rel="canonical" href="https://rockwoolperedamsuara.com/" /> <!-- /all in one seo pack --> <!-- This site is optimized with the Yoast SEO plugin v10.0 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas"/> <link rel="canonical" href="https://rockwoolperedamsuara.com/" /> <link rel="next" href="http://rockwoolperedamsuara.com/page/2/" /> <meta property="og:locale" content="id_ID" /> <meta property="og:type" content="website" /> <meta property="og:title" content="ROCKWOOL PEREDAM SUARA MURAH BERKUALITAS - ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas" /> <meta property="og:description" content="ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas" /> <meta property="og:url" content="https://rockwoolperedamsuara.com/" /> <meta property="og:site_name" content="ROCKWOOL PEREDAM SUARA MURAH BERKUALITAS" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas" /> <meta name="twitter:title" content="ROCKWOOL PEREDAM SUARA MURAH BERKUALITAS - ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas" /> <script type='application/ld+json'>{"@context":"https://schema.org","@type":"WebSite","@id":"https://rockwoolperedamsuara.com/#website","url":"https://rockwoolperedamsuara.com/","name":"ROCKWOOL PEREDAM SUARA MURAH BERKUALITAS","potentialAction":{"@type":"SearchAction","target":"https://rockwoolperedamsuara.com/?s={search_term_string}","query-input":"required name=search_term_string"}}</script> <meta name="google-site-verification" content="iPY50axQOsS8WI7VCqNKJZlMFTcxEEMCFM_UcQ4JLdI" /> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//s.w.org' /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/rockwoolperedamsuara.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.1.13"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])?!1:!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55358,56760,9792,65039],[55358,56760,8203,9792,65039])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style 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 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://rockwoolperedamsuara.com/wp-includes/css/dist/block-library/style.min.css?ver=5.1.13' type='text/css' media='all' /> <link rel='stylesheet' id='wp-date-remover-css' href='https://rockwoolperedamsuara.com/wp-content/plugins/wp-date-remover/public/css/wp-date-remover-public.css?ver=1.0.0' type='text/css' media='all' /> <script type='text/javascript' src='https://rockwoolperedamsuara.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://rockwoolperedamsuara.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script> <script type='text/javascript' src='https://rockwoolperedamsuara.com/wp-content/plugins/wp-date-remover/public/js/wp-date-remover-public.js?ver=1.0.0'></script> <link rel='https://api.w.org/' href='https://rockwoolperedamsuara.com/wp-json/' /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://rockwoolperedamsuara.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://rockwoolperedamsuara.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.1.13" /> </head> <body class="home blog"> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content">Skip to content</a> <header id="masthead" class="site-header" role="banner"> <div class="site-branding"> <h1 class="site-title"><a href="https://rockwoolperedamsuara.com/" rel="home">ROCKWOOL PEREDAM SUARA MURAH BERKUALITAS</a></h1> <p class="site-description">ROCKWOOL JAKARTA | Jual Rockwool Roxul FireRock dengan harga murah berkualitas | Importir Rockwool Indonesia | Liberton Pusat Jual Bahan Insulasi Peredam Suara dan Peredam Panas</p> </div><!-- .site-branding --> </header><!-- #masthead --> <div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <article id="post-128" class="post-128 post type-post status-publish format-standard hentry category-rockwool-murah-jakarta-tangerang-depok"> <header class="entry-header"> <h2 class="entry-title"><a href="https://rockwoolperedamsuara.com/conwood-lis-plank/" rel="bookmark">CONWOOD LIS PLANK</a></h2> <div class="entry-meta">