Include Pending Donors

By default, the Donors widget & shortcode will only include donors with Paid donations. With this…

Remove the LLMS Description for a Specific Post

This snippet removes the description from llms.txt for a specific post ID.

<10

Disable Author Archive

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

Untitled Snippet

/*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font:…

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…

MemberPress: Pass a Member Phone Number to Stripe

This code will pass the phone number a member added to the membership registration form when…

Minify HTML

function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…

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

Adds URL to pages window

add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…

1 … 66 67 68 69 70 … 243