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 Show hidden characters add_filter( 'genesis_footer_creds_text', 'shireman_footer_creds_text' ); /** * [More…]
Clear Cart for WooCommerce
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 Show hidden characters <input type="submit" class="button" name="clear-cart" value="<?php _e('Empty [More…]
Customize Post Navigation
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 Show hidden characters // Customize the next page link [More…]
Load Google Fonts
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 Show hidden characters add_action( 'wp_enqueue_scripts', 'webendev_load_google_font' ); /** * [More…]
Restrict Access to WP Admin to Administrators Only
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 Show hidden characters add_action( 'admin_init', 'webendev_restrict_admin_with_redirect', 1 ); /** [More…]
Hide Toolbar on front end except for Administrators
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 Show hidden characters add_filter( 'show_admin_bar' , 'webendev_hide_admin_bar'); /** * [More…]