Enable Pinch to Zoom on Mobile Devices

function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function dt_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…

Paige Craft PRO
<10

Replace WP Logo and the default 'logo' link

Use your custom logo along a replace the default 'logo' link on the login page, don't…

Máscara CPF 2

// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…

Activer automatiquement WooCommerce et les paiements

add_action('init', function () { $extensions = [ 'woocommerce/woocommerce.php', 'woo-payments/woocommerce-payments.php', 'woocommerce-paypal-payments/woocommerce-paypal-payments.php', 'woocommerce-tax/woocommerce-tax.php', 'google-listings-and-ads/google-listings-and-ads.php', // si installé 'kliken-marketing/kliken-marketing.php',…

om.Html.scripts

document.addEventListener('om.Html.scripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );

om.Optin.init.submit example

document.addEventListener('om.Optin.init.submit', function(event) { // Grab the email address submitted by the user. const email = event.detail.Optin.data.fields.email;…

Page Element Shortcodes

add_shortcode('page_title', function () { global $wp_query; if( isset( $wp_query ) && (bool) $wp_query->is_posts_page ) { return…

om external links monsterlink

(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…

修改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');…

Enable JSON and SVG uploads for administrator users only

/** * Enable JSON and SVG uploads for administrator users only. */ add_filter( 'upload_mimes', function (…

GravityView_DIR_RAPI -Expose GravityView ACF Fields to REST API

* WPCode Snippet: Expose GravityView ACF Fields to REST API (MANUAL SYNC ONLY) * Description: Makes…

ismail daugherty PRO
<10
1 78 79 80 81 82 124