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
#Hotlinking | |
RewriteEngine on | |
RewriteCond% {HTTP_REFERER}! ^ $ | |
RewriteCond% {HTTP_REFERER}! ^ Http (s)?: // (www \.)? Your-domain.com [NC] | |
RewriteCond% {HTTP_REFERER}! ^ Http (s)?: // (www \.)? Google.com [NC] | |
RewriteRule \. (Jpg | jpeg | png | gif) $ - [NC, F, L] |
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 | |
//save theme active time | |
function my_theme_activation_init() { | |
// Check if already saved the activation date & time | |
// to prevent over-writing if user deactive & active theme | |
// multiple time | |
if(!get_option('mytheme_activation_time', false)){ |
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
<script> | |
jQuery(document).ready(function($) { | |
var delay = 100; setTimeout(function() { | |
$('.elementor-tab-title').removeClass('elementor-active'); | |
$('.elementor-tab-content').css('display', 'none'); }, delay); | |
}); | |
</script> |
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
<script> | |
if(window.outerWidth < 425) { | |
alert('jQuery(document).ready(function($) { | |
var delay = 100; setTimeout(function() { | |
$('.elementor-tab-title').removeClass('elementor-active'); | |
$('.elementor-tab-content').css('display', 'none'); }, delay); | |
}); '); | |
} | |
</script> |
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
/** | |
* Prevent update notification for plugin | |
* https://orixlab.net/disable-updates-for-specific-plugin-in-wordpress | |
* Place at bottom in theme functions.php | |
*/ | |
function disable_plugin_updates( $value ) { | |
$pluginsToDisable = [ | |
'plugin-folder/plugin.php', | |
'plugin-folder2/plugin2.php' |
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
/** | |
* Disable WordPress Update nag | |
* https://orixlab.net/disable-updates-for-specific-plugin-in-wordpress | |
* Place at bottom in theme functions.php | |
*/ | |
add_action('after_setup_theme','remove_core_updates'); | |
function remove_core_updates() | |
{ | |
if(! current_user_can('update_core')){return;} |
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
/** | |
* Disable Plugin Update Notifications | |
* https://orixlab.net/disable-updates-for-specific-plugin-in-wordpress | |
* Place at bottom in theme functions.php | |
*/ | |
remove_action('load-update-core.php','wp_update_plugins'); | |
add_filter('pre_site_transient_update_plugins','__return_null'); |
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
/** | |
* Disable all the Nags & Notifications | |
* https://orixlab.net/disable-updates-for-specific-plugin-in-wordpress | |
* Place at bottom in theme functions.php | |
*/ | |
function remove_core_updates(){ | |
global $wp_version;return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,); | |
} | |
add_filter('pre_site_transient_update_core','remove_core_updates'); |
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
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
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
Amoxicillin | |
insurance companies | |
cashless society | |
Viagra | |
Zithromax | |
.net | |
.org | |
.com | |
mewkid.net | |
mewkid |