Enqueue Child Theme's CSS & Additional CSS in WordPress Editor

/* Enqueue Child Theme style.css to editor */ add_filter('block_editor_settings_all', function($editor_settings) { // Get the URL of…

Untitled Snippet

function custom_related_products_args( $args ) { $args['posts_per_page'] = 2; // Related products সংখ্যা $args['columns'] = 2; //…

Remove Specific Campaign From a Specific URL

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

om.Main.parseCampaigns

document.addEventListener('om.Main.parseCampaigns', function(event) { // This event is passed the xhr object console.log(event.detail.xhr); } );

om.Campaign.canLoad

document.addEventListener('om.Campaign.canLoad', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );

om.Campaign.close example

document.addEventListener('om.Campaign.close', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );

om.Action.view

document.addEventListener('om.Action.view', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

Revenue Attribution Curl

curl --request POST \ --url https://app.optinmonster.com/v2/revenue \ --header 'Content-Type: application/json' \ --header 'Origin: optinmonster.com' \ --header…

Slide Reposition Right Center

html div#om-{{id}} { margin-right: -20px !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…

floating-monsterlink-2.css

/* --- Floating MonsterLink Style 2 CSS --- ------------------------------------------ */ .floating-monsterlink.style2.show { bottom: 30px; } .floating-monsterlink.style2…

修改WP Memory等參數

// 設定 WordPress 記憶體限制 define('WP_MEMORY_LIMIT', '256M'); define('WP_MAX_MEMORY_LIMIT', '512M'); // 設定 PHP 執行層的上傳限制 @ini_set('upload_max_filesize', '64M'); @ini_set('post_max_size', '64M');…

change view yes/no

om{{id}}.changeView('yesno');

NexSouk Performance & Accessibility Optimizer

NexSouk.com Performance & Accessibility Optimizer

Untitled Snippet

https://innumerablemakeupreligious.com/egbh8ew6?key=569cae2c57f815ee17982f36028c9a15

1 115 116 117 118 119 221