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…

Defining SMTP.com Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

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…

Change Admin Panel Footer Text

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

om-nextjs.js

import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…

Add Informational Message Below the Username Field in the Login/Register Form #The Greek

This code adds an informational message below the username input field in the login or registration…

Disable default WordPress image sizes

// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…

Display the stock availability for all product types in WooCommerce archive pages

Learn how to add Availability label ? in your WooCommerce website. This will help to notify…

MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field

The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…

MemberPress: Code Blocks Pro - Load All Currently Enqueued Styles In the Courses ReadyLaunch Template

By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…

Show Sticky Posts on Top of the Archive Templates - WPX Tetris Theme

## Sticky Posts on Archive Pages - WPX Tetris Theme **Description:** Display sticky posts first on…

1 64 65 66 67 68 233