- Open (or create)
chrome/userContent.css
under your Firefox profile folder - Append attached CSS content and save file
- Toggle
toolkit.legacyUserProfileCustomizations.stylesheets
in Firefoxabout:config
- Restart Firefox
This file contains 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 SearchWP's automatic integration with WP All Import. | |
add_filter( 'searchwp\integration\wp-all-import', '__return_false' ); | |
add_action( 'pmxi_before_xml_import', function( $import_id ) { | |
\SearchWP::$indexer->pause(); | |
}, 10 ); | |
add_action( 'pmxi_saved_post', function( $post_id ) { |
This file contains 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 | |
class CNWS_Schema { | |
public function __construct() { | |
$this->hooks(); | |
} | |
This file contains 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 | |
// Enqueue all js codes combined in a single file. | |
function enqueue_theme_assets() | |
{ | |
wp_enqueue_script( | |
'trackers', | |
get_stylesheet_directory_uri() . '/js/trackers.js', | |
null, | |
null, |
This file contains 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
//Переменная для включения/отключения индикатора загрузки | |
var spinner = $('.ymap-container').children('.loader'); | |
//Переменная для определения была ли хоть раз загружена Яндекс.Карта (чтобы избежать повторной загрузки при наведении) | |
var check_if_load = false; | |
//Необходимые переменные для того, чтобы задать координаты на Яндекс.Карте | |
var myMapTemp, myPlacemarkTemp; | |
//Функция создания карты сайта и затем вставки ее в блок с идентификатором "map-yandex" | |
function init () { | |
var myMapTemp = new ymaps.Map("map-yandex", { |
This file contains 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 | |
if( ! function_exists( 'woodmart_autoload' ) ) { | |
function woodmart_autoload($className) { | |
global $woodmart_files; | |
$className = ltrim($className, '\\'); | |
$fileName = ''; | |
$namespace = ''; | |
if ($lastNsPos = strripos($className, '\\')) { | |
$namespace = substr($className, 0, $lastNsPos); |
This file contains 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 | |
add_action( 'acf/init', 'set_acf_pro_license' ); | |
function set_acf_pro_license() { | |
global $acf_instances; | |
if ( isset( $acf_instances['ACF_Admin_Updates'] ) && ! get_option( 'acf_pro_license' ) ) { | |
/** | |
* @var ACF_Admin_Updates $acf |
This file contains 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 | |
// Do not include this PHP opening tag if PHP is already opened... | |
// Ref: https://theseoframework.com/docs/using-filters/ | |
add_filter( 'the_seo_framework_image_generation_params', 'my_tsf_custom_image_generation_args', 10, 3 ); | |
/** | |
* Adjusts image generation parameters. | |
* | |
* @link https://theseoframework.com/docs/api/filters/#append-image-generators-for-social-images |
This file contains 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 | |
/** | |
* Remove current action or filter from plugin | |
* | |
* @param string $class_name Class name enqueueing the action. | |
* @param null $action_name Action name. | |
*/ | |
function remove_plugin_action( $class_name, $action_name = null ) { | |
global $wp_filter; |
This file contains 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: Mihdan: WP All Import Extended | |
* Description: Патчим плагин под наши нужды - хуюжды, чтобы ломать сайт-хуяйт от пользователя-хуёльзователя по имени админ-хуидмин | |
* Plugin URI: https://roomble.com/shop | |
* Author: Mikhail Kobzarev | |
* Author URI: https://roomble.com/shop | |
* Version: 2.1.0 | |
*/ |