Disable Author Archive

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

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

PurpleIPD Calculator Script

var WA_NUM = "919909903539"; var SCRIPT_URL = "YOUR_GOOGLE_APPS_SCRIPT_URL_HERE"; var R = {}; function fINR(n) { if…

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.

Defining Amazon SES Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Titel aanpassen archive page

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

MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files

Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…

Add Gateway Donation Field

Enable an email tag for the gateway_label donation field.

Hide Cart Price Button

/** * Hide Price & Add to Cart for Non Logged in Users for Specific Products…

<10

Redirect from Array

Setup redirect for multiple pages.

<10
1 63 64 65 66 67 234