Remove Gutenberg Blocks CSS

add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…

Remove "p" tags Contact Form 7

Remove tags from the forms in the frontend

WordPress Post Views Counter Function

function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…

CSS For Craft Picker

/* General Styles */ body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f9f9f9; color: #333; line-height:…

Disable Blog Posts

// Remove side menu add_action( 'admin_menu', function () { remove_menu_page( 'edit.php' ); } ); // Remove…

Change Admin Panel Footer Text

Display custom text in the admin panel footer with this snippet.

Note Orders

add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…

MemberPress: Generate All Invoices

If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…

1 55 56 57 58 59 217