display user name in a menu

/** * Show a user's display name/user name in a WordPress menu. * Once this code…

Add Campaign Creator Name Donation Export

In this example, the campaign creator's name is added to the Donations export, so it's easy…

Display Post and Page IDs in WordPress Columns

This PHP code enables you to display the IDs of posts and pages within WordPress columns.…

Remove users from WP-JSON

Increase your site's security by hiding usernames from WP-JSON, that are otherwise exposed to the public.

Redirect To Referer After Login

After a user logs in, redirect them back to the page they were on right before…

Re-route BuddyPress emails through WP Mail SMTP

This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…

How to Customize the Labels for Image Choices - Combined effect

form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-item:hover .wpforms-image-choices-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #f6f6f6; color:…

10+

Featured Images of the Current User’s All Active Memberships

This code snippet adds the new [membership_thumbnail] shortcode. Adding this shortcode anywhere on the website will…

Disable the space key with the special CSS class

This code snippet disables the space key. When a user presses the space key in these…

10+

How to Block Names From Completing Your Form - First Last and First Middle Last format

/** * Prevent certain names from the other formats for the Name form field. * *…

<10

Increase the Number of Posts Imported Per Batch from Yoast SEO Plugin

This filter can be used to increase the default number of posts imported per batch from…

<10

Defining Brevo (Sendinblue) Mailer Constants

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

Enable Block Editor For Campaigns

Code that will modify the way the Campaign post type is set up to so that…

Add Field Placeholders

Add placeholder attributes to donation fields, removing the label field.

Prevent AIOSEO From Outputting any Data on Category Archive Pages

Prevent AIOSEO from outputting any data on category archive pages.

<10
1 … 32 33 34 35 36 … 244