Category: Admin
JS – Plug ALD villatheme – Nascondi Spedizioni troppo costose con jquery (CLOUD attivo) (vecchio)
/* quest script serve sul plugin ALD di villatheme, che mette nella pagina e nel carrello checkout le spedizioni aliexpress. visto che le spedizioni alcune hanno costi assurdi, ho impostato che non vengano visualizzate le spedizion iche superano una numero.…Continue reading
CSS – WOO Pag. Singolo Prodotto Woo (CLOUD attivo)(vecchio)
/* 1.0 TI WISH BOTTONE singolo prodotto */ /* 1.0 TI WISH BOTTONE singolo prodotto _____________*/ .th-box-wish-boxelemento{height:10px; } .th-wish-peferiti-shortcode p { display: none; } .th-wish-peferiti-shortcode .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus:before { font-size: 50px; top: -15px; left: 0; margin: 0; padding: 0; } .th-wish-peferiti-shortcode…Continue reading
When Update then Slack
// Notify Slack when a plugin, theme, or WordPress core is updated add_action(‘upgrader_process_complete’, ‘notify_slack_updates_v2’, 10, 2); function notify_slack_updates_v2($upgrader_object, $options) { $slackURL = “https://hooks.slack.com/services/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”; // Replace with your Slack Webhook URL $site_name = get_bloginfo(‘name’); // Plugin Updates if ($options[‘type’] === ‘plugin’…Continue reading
Hkugiggghbb
Add a Blue Dot Indicator for Containers/Widgets that have Custom CSS in the Elementor Navigator
Untitled Snippet
Untitled Snippet
WP Simple Pay: Google GA4 Payment Conversion Tracking (copy)
/** * @link https://library.wpcode.com/snippet/j57gxn45/ */ add_action( ‘simpay_payment_receipt_viewed’, /** * Runs the first time the payment confirmation page is viewed. * * @param array $payment_confirmation_data */ function( $payment_confirmation_data ) { // Payment customer data (not used in this example). $customer =…Continue reading
0000 > CLASS > Show Data
// this is the class definition class myfair_Show_Data { public function __construct() { $this->loadShows(); if (isset($this->showList) && is_array($this->showList) && count($this->showList) > 0) { $this->loadShowCustomData(); } } public function loadShows() { $loop = new WP_Query(array( ‘post_type’ => ‘show’, ‘post_parent’ => ‘0’,…Continue reading