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…
Allow ICO Files Upload
Enable ICO File Uploads on your WordPress website with this PHP code snippet.
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
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.
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
Fixing WPForms Bulk Update Issues with WP Umbrella
This code snippet will force the WPForms updater to run during the WP Umbrella snapshot request.
Unique Order ID
Creates a unique order ID
Facebook storage tracking
Pixel for tracking self storage traffic
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…