Call and WhatsApp buttons
CTA buttons for driving instructors website
Rewrite login and register URLs generated by WordPress
// 1. Rewrite login and register URLs generated by WordPress add_filter( 'login_url', function ( $login_url, $redirect…
Main Page
Star system Main Page.
Change "City" To Town/City
Change the label of the"City" field into a "Town/City" field.
Google Analytics
Tracking Script
Redirect from Array
Setup redirect for multiple pages.
Include Pending Donors
By default, the Donors widget & shortcode will only include donors with Paid donations. With this…
Required Fields
Modify the required fields for checkout.
Enable Downloads in the WP REST API
Enable the download products to show in the WP REST API
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' );…
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
MemberPress: Pass a Member Phone Number to Stripe
This code will pass the phone number a member added to the membership registration form when…
Defer or Async CSS Loading
Defer or Async CSS Loading
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…