Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Protect Elementor Forms
/** * Protect Elementor Forms */ add_action( 'elementor_pro/forms/validation/email', function( $field, $record, $ajax_handler ) { // validate…
Add Rel Nofollow to Top Bar Social Links
We don't recommend it but if you want to add a nofollow attribute to your top…
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:…
Logout URL
This snippet creates a simple logout URL link that you can use as a shortcode.
Google Search Console Verification
HTML tag
increase max file size
a snippet to increase max file size to allow WP staging pro upload
CCT ID display as name
function gt_id_label_map() { return array( // CCT slug => [ field => target ] 'cct' =>…
Event Data | Display Eventbrite Events
Please note that this guide is intended for advanced users and developers. Our plugin already offers…
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…