Skip to content

Instantly share code, notes, and snippets.

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:
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
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);
?php
/**
* Default manifest file
*
* @var array
*/
$settings = array(
'xml' => array(
'enabled' => true,
'use_upload' => true,
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;
}
'labels' => array(
'browse' => ''.
'labels' => array(
'browse' => '',
'home' => 'Your home label'.
$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',
'instagram' => array(
'icon' => 'fa fa-instagram',
'name' => esc_html__( 'instagram', 'king_news' ),
'share_url' => 'https://www.instagram.com/',
),
body, p, h1, h2, h3, h4, h5, h6 {
-moz-hyphens: none !important;
-ms-hyphens: none !important;
-webkit-hyphens: none !important;
hyphens: none !important;}