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

Add Sticky Header - Astra Free

This code has been updated to include adjustments for the off-canvas menu to also be sticky…

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:…

fundamentals

Game State Round: 0/10 Cash: $0 Automobile Production: 0 units Industry Level: 0 Start New Game…

Change Accepted Countries Per Campaign

This example shows how to change the accepted countries list on a per-campaign basis.

Set Campaign Thumbnail Size

Set campaign thumbnails to have the same size.

Leave Tasty recipe ratings with WP-PostRatings

The Tasty Recipes rating system works with the default WordPress comment form. However, if you use…

<10

Disable Author Archive

A small Code that disable the WordPress Author Archive and redirect to the Homepage

Add the fields to the user edit screen

// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…

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…

1 47 48 49 50 51 156