Skip to content

Instantly share code, notes, and snippets.

View 1.js
menu.superGuacamole( {
threshold: 768, // Minimal menu width, when this plugin activates
minChildren: 3, // Minimal visible children count
childrenFilter: .menu-item’, // Child elements selector
menuTitle: moreButtonText, // Menu title
menuUrl: #,
templates: {
menu:
View theme_script.js
menu.superGuacamole( {
threshold: 768, // Minimal menu width, when this plugin activates
minChildren: 3, // Minimal visible children count
childrenFilter: .menu-item’, // Child elements selector
menuTitle: moreButtonText, // Menu title
View disable_warnings.php
ini_set('log_errors','On');
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
View cherryimporter.php
?php
/**
* Default manifest file
*
* @var array
*/
$settings = array(
'xml' => array(
'enabled' => true,
'use_upload' => true,
View customslug.php
add_filter( 'your-post-type_post_type_args', '_my_rewrite_slug' ); // Here replace "your-post-type" with the actual post type, e.g., "cherry_services", "cherry-projects"
function _my_rewrite_slug( $args ) {
$args['rewrite']['slug'] = 'our-services'; // Replace "our-services" with your preferable slug
return $args;
}
View template-tags2.php
'labels' => array(
'browse' => '',
'home' => 'Your home label'.
View template-tags.php
$defaults = apply_filters( 'king_news_default_args_share_buttons', array(
'facebook' => array(
'icon' => 'fa fa-facebook',
'name' => esc_html__( 'Facebook', 'king_news' ),
'share_url' => 'https://www.facebook.com/sharer/sharer.php?u=%3$s&t=%4$s',
),
'twitter' => array(
'icon' => 'fa fa-twitter',
'name' => esc_html__( 'Twitter', 'king_news' ),
'share_url' => 'https://twitter.com/intent/tweet?url=%3$s&text=%4$s',
View template-tags123.php
'instagram' => array(
'icon' => 'fa fa-instagram',
'name' => esc_html__( 'instagram', 'king_news' ),
'share_url' => 'https://www.instagram.com/',
),
View style111.css
body, p, h1, h2, h3, h4, h5, h6 {
-moz-hyphens: none !important;
-ms-hyphens: none !important;
-webkit-hyphens: none !important;
hyphens: none !important;}
You can’t perform that action at this time.