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 | |
// since plugin version v1.0: | |
// Constants: | |
/** Multisite Toolbar Additions: Disable Custom Nav Menu for Super Admins */ | |
define( 'MSTBA_SUPER_ADMIN_NAV_MENU', FALSE ); | |
/** Multisite Toolbar Additions: Disable Plugin Support for Network Wide Plugins */ |
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 the opening php tag */ | |
add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_woocommerce_product_add_to_cart_text' ); | |
/** | |
* Custom text for 'woocommerce_product_add_to_cart_text' filter for all product types/ cases. | |
* | |
* @link https://gist.github.com/deckerweb/cf466e017fd01d503469 |
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: Elementor Form Additional Webhook | |
* Plugin URI: https://coreysalzano.com/ | |
* Description: Adds a second Webhook to the Lot Wizard trial signup form | |
* Version: 1.0.0 | |
* Author: Corey Salzano | |
* Author URI: https://github.com/mistercorey | |
* License: GPLv2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
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
jQuery(function () { | |
// 0 = monday, 1 = tuesday, 2 = wednesday, 3 = thursday, | |
// 4=friday, 5 = saturday, 6=sunday | |
var daysToDisable = [2, 4, 5]; | |
jQuery("#input_id_id").datepicker({ | |
beforeShowDay: disableSpecificWeekDays | |
}); |
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 | |
/** | |
* Snippet for deleting the customer IP address from WooCommerce orders. | |
* Important for Trusted Shops® certificates in Germany. | |
*/ | |
add_action( 'woocommerce_checkout_update_order_meta', 'mp1401091554', 1 ); | |
function mp1401091554( $order_id ) { | |
update_post_meta( | |
$order_id, | |
'_customer_ip_address', |
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_filter( 'widget_title', 'ddw_custom_widget_title_headline' ); | |
/** | |
* Widget Titles: Change default H4 to an H3. | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://deckerweb.de/twitter | |
*/ | |
function ddw_custom_widget_title_headline( $title ) { |
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 support for widgetized home page */ | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
add_action( 'genesis_loop', 'ddw_education_home_loop_helper' ); | |
/** | |
* Add widget support for the Education 2.0 homepage. | |
* If no widgets active, display the default loop. | |
* | |
* @author David Decker - DECKERWEB |
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 | |
// Action hooks: | |
add_action( 'eddtb_custom_main_items', 'eddtb_add_custom_main_items' ); | |
/** | |
* Easy Digital Downloads Toolbar: Add Custom Main Items | |
*/ | |
function eddtb_add_custom_main_items() { | |
// Your custom stuff here, you might only use the WP Toolbar / Admin Bar API here! |
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 the opening php tag */ | |
/** | |
* Do not load a list of Google Fonts in Astra | |
* | |
* @link https://gist.github.com/deckerweb/528e9f64f09b15ed4d6729b77d87dc78 | |
* @author David Decker - DECKERWEB | |
*/ |
NewerOlder