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…

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;…

parallax

.parallax { background-image: url("http://example.com/wp-content/uploads/2017/08/my-background-image.jpg"); height: 100%; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; margin-left:-410px; margin-right:-410px;…

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

increase max file size

a snippet to increase max file size to allow WP staging pro upload

Disable Author Archive

A small Code that disable the WordPress Author Archive and redirect to the Homepage

Add Gateway Donation Field

Enable an email tag for the gateway_label donation field.

1 62 63 64 65 66 224