Child Support Calculator

function child_support_calculator_shortcode() { // Enqueue the JavaScript wp_enqueue_script('child-support-calculator', get_template_directory_uri() . '/path-to-your-js-folder/child-support-calculator.js', array('jquery'), '1.0.0', true); ob_start(); include…

Jeremy Setters
<10

Enable Full WP_Editor on Product Fields

add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…

Filter to change Custom Post Type settings | Quick Event Manager

The plugin uses Custom Post Types for Events. The default setting for the post type is…

MemberPress: Export Account Type in CSV

Add the following code to add a new CSV export option for Corporate Accounts that includes…

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…

WP Simple Pay: Copy Payment Metadata to Customer Metadata

Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.

Assign User Role Conditionally in WordPress

This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…

<10

Set Custom Donation Receipt Page

You can set a custom donation receipt page, including a page that is not on your…

Limit user posts

A settings page to set the number of posts all users can create

<10

Auto convert photos to WEBP (jpg, png)

/** * Konwertuj przesłane obrazy na format WebP * * Ten fragment kodu automatycznie konwertuje przesłane…

Replace WordPress Logo on Login Page

Use your custom logo on the default login page, don't forget to edit the snippet...

Titel aanpassen archive page

function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…

1 46 47 48 49 50 133