Search results for: admin

Remove Google Fonts (non-Elementor)

function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );

Remove Google Fonts (Elementor)

add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );

Ensure Webfont is Loaded (non-Elementor)

function custom_font_display( $current_value, $font_family, $data ) { return 'swap'; } add_filter( 'font_display', 'custom_font_display', 10, 3 );

Ensure Webfont is Loaded (Elementor)

add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );

Remove Gutenberg Block CSS

Remove Gutenberg Block Library CSS from loading on the frontend

Fix Formating of Buttons in Off Canvas

This fixes the buttons in the off canvas not obeying the global CSS from the Customiser

Ilana Borsje PRO
<10

Conditionally disable Cloudflare Turnstile

This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…

<10

Number slider validation for multi page forms

This snippet outputs a small script that listens for the wpformsBeforePageChange event and stops the page…

<10

Number slider validation for single page forms

This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.

<10

How to Programmatically Attach a File to Email Notifications

This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.

<10

Mapping WPForms Checkbox Values to ACF Checkbox Fields

This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…

<10

Logged in User Drop Down Menu

Along with the Avatar and User Shortcode Snippet, this can display a nice logged in User…

Ilana Borsje PRO
<10

master home page final

Shop Doggyography Blog Contact More than a collar. A nightly transformation. An expression of identity. A…

1 40 41 42 43 44 124