Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
Dynamic Year Copyright Shortcode
This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.
MemberPress: Modify the Order of the Registration and the Account Form Fields
Each field in the registration and account form is a separate element. Thus, the order of…
Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…
Dequeue CSS files conditionally
Dequeue CSS files conditionally
Tyler Hall Tech Custom Snippets
All the Goodies
Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
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.
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
Remove address from the header
Remove address block from the header
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…
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…
Disable RSS - Feed
Disable RSS - Feed
MemberPress: Disable the Default WordPress Password Reset Link E-Mail
If the "Disable Password Fields on membership registration forms" option is active in MemberPress settings (Dashboard…