Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
My Insert widget in header
My own way of Inserting widget in header
RT7 Official - Maintenance Mode
RT7 Official Maintenance Mode
Remove Gutenberg Block CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Display Featured Image in Post List
Make featured image visible in post list and quick edit view for any kind of post…
Force nwwp Colour Scheme
Makes sure all users use this
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
Add Fields
/** * Add fields to the registration form. * * @param array $fields * @return array…
Add WPCode Custom Field Smart Tag
Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…
WooCommerce Change "$0.00" to "Free"
/** * Snippet Name: WooCommerce Change "$0.00" to "Free" * Snippet Author: ecommercehints.com */ add_filter( 'woocommerce_get_price_html',…
increase upload memory
upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 />
Limit Comments & Display Character Count
Limit comment length and display a count of characters.
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Remove Default jQuery
// Remove default WordPress jquery wp_deregister_script( 'jquery' ); //Remove jquery migrate add_action( 'wp_default_scripts', 'remove_jquery_migrate' ); function…