Skip to content

Instantly share code, notes, and snippets.

noboo - デジタルバス noboo

View GitHub Profile
@levelzwo
levelzwo / woocommerce-input-fields-bootstrap-classes.php
Created Feb 17, 2017
Add the Bootstrap input classes to all WooCommerce input fields
View woocommerce-input-fields-bootstrap-classes.php
<?php
function lv2_add_bootstrap_input_classes( $args, $key, $value = null ) {
/* This is not meant to be here, but it serves as a reference
of what is possible to be changed.
$defaults = array(
'type' => 'text',
'label' => '',
'description' => '',
@DanielSantoro
DanielSantoro / functions.php
Created Oct 3, 2016
Remove Storefront Designed by WooThemes from Footer
View functions.php
<?php // Don't include this line
// Remove "Storefront Designed by WooThemes" from Footer
add_action( 'init', 'custom_remove_footer_credit', 10 );
function custom_remove_footer_credit () {
remove_action( 'storefront_footer', 'storefront_credit', 20 );
add_action( 'storefront_footer', 'custom_storefront_credit', 20 );
}
You can’t perform that action at this time.