This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function themename_customize_register($wp_customize){ | |
$wp_customize->add_section('themename_color_scheme', array( | |
'title' => __('Color Scheme', 'themename'), | |
'priority' => 120, | |
)); | |
// ============================= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WP Engine GeoIP Debugger | |
* Version: 0.5 | |
* Description: Debugging tool for WP Engine GeoIP | |
* Author: WP Engine | |
* Author URI: http://wpengine.com | |
* | |
* This will help confirm if GeoIP is returning the correct information. Check the error log after loading the front page of the site. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
// Normal query goes here // | |
'no_found_rows' => true, // counts posts, remove if pagination required | |
'update_post_term_cache' => false, // grabs terms, remove if terms required (category, tag...) | |
'update_post_meta_cache' => false, // grabs post meta, remove if post meta required | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gapagespeed($push) | |
{ | |
$push[] = "'_trackPageLoadTime'"; | |
return $push; | |
} | |
add_filter( 'yoast-ga-push-after-pageview', 'gapagespeed' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
share-buttons.xyz | |
traffic2cash.xyz | |
с.новым.годом.рф | |
net-profits.xyz | |
social-widget.xyz | |
free-social-buttons.xyz | |
4webmasters.org | |
76brighton.co.uk | |
7makemoneyonline.com | |
acads.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (class_exists('WpeCommon')){ | |
$wpe_common = new WpeCommon(); | |
$cdn_url = $wpe_common->get_cdn_domain($wpe_netdna_domains,get_bloginfo( 'url' ) ); | |
} | |
var_dump($cdn_url); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Disable Dify | |
*/ | |
add_action( 'admin_init', 'wpe_disable_dashboard_widgets', 9999 ); | |
function wpe_disable_dashboard_widgets() { | |
remove_meta_box('dashboard_primary', 'dashboard', 'core'); // WordPress News Widget | |
remove_meta_box('wpe_dify_news_feed', 'dashboard', 'normal'); // WPEngine News Widget | |
} |