__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace MasterAddons\Inc\Classes;
use MasterAddons\Inc\Helper\Master_Addons_Helper;
/**
* Author Name: Liton Arefin
* Author URL: https://jeweltheme.com
* Date: 8/6/20
*/
class Jltma_Reset_Themes_Conflicts
{
private static $instance = null;
public function __construct()
{
add_action('wp_enqueue_scripts', [$this, 'jltma_reset_theme_conflicts']);
// add_action('wp_enqueue_scripts', [$this, 'jltma_reset_theme_dequeue_script'], 100);
// add_action('wp_print_scripts', [$this, 'jltma_reset_theme_dequeue_script'], 100);
}
function jltma_reset_theme_dequeue_script()
{
$theme = wp_get_theme();
// wp_dequeue_script( 'scriptname' );
//Stratus
if ('Stratus' == $theme->name || 'Stratus' == $theme->parent_theme) {
wp_dequeue_style('jltma-bootstrap');
}
//OceanWP
if ('OceanWP' == $theme->name || 'OceanWP' == $theme->parent_theme) {
wp_dequeue_style('jltma-bootstrap');
}
}
public function jltma_reset_theme_conflicts()
{
$jltma_custom_css = "";
// gets the current theme
$theme = wp_get_theme();
//Twenty Twelve
if ('Twenty Twelve' == $theme->name || 'Twenty Twelve' == $theme->parent_theme) {
// Twenty Twelve is the current active theme or parent theme
}
//Airi Theme Reset Styles
if ('Airi' == $theme->name || 'Airi' == $theme->parent_theme) {
$jltma_custom_css .= "
@media (max-width: 1199px){
.header-mobile-menu .mobile-menu-toggle{ outline: none; }
.main-navigation { position: fixed !important; max-width: 100% !important; }
}";
wp_add_inline_style('airi-bootstrap', $jltma_custom_css);
}
}
public static function get_instance()
{
if (!self::$instance) {
self::$instance = new self;
}
return self::$instance;
}
}
Jltma_Reset_Themes_Conflicts::get_instance();
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Base | Folder | 0775 |
|
|
| Notifications | Folder | 0775 |
|
|
| Upgrades | Folder | 0775 |
|
|
| importer | Folder | 0775 |
|
|
| twitteroauth | Folder | 0775 |
|
|
| Animation.php | File | 29.46 KB | 0775 |
|
| Feedback.php | File | 9.99 KB | 0775 |
|
| Freemius_Hooks.php | File | 13.72 KB | 0775 |
|
| JLTMA_Ajax_Queries.php | File | 12.25 KB | 0775 |
|
| JLTMA_Extension_Prototype.php | File | 5.78 KB | 0775 |
|
| Pro_Upgrade.php | File | 16.8 KB | 0775 |
|
| Recommended_Plugins.php | File | 6.84 KB | 0775 |
|
| Upgrades.php | File | 1.1 KB | 0775 |
|
| assets-manager.php | File | 9.97 KB | 0775 |
|
| class-jltma-domain-checker.php | File | 32.44 KB | 0775 |
|
| class-reset-themes.php | File | 2.03 KB | 0775 |
|
| helper-class.php | File | 77.7 KB | 0775 |
|
| rollback.php | File | 4.57 KB | 0775 |
|
| template-controls.php | File | 4.38 KB | 0775 |
|
| utils.php | File | 12.76 KB | 0775 |
|