WP Simple Pay: Remove Trailing Decimals
Removes trailing decimals in amounts
Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
Number slider validation for single page forms
This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.
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
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' );…
Disable The WP Admin Bar
Hide the WordPress Admin Bar for all users in the frontend.
MemberPress: Export Account Type in CSV
Add the following code to add a new CSV export option for Corporate Accounts that includes…
Replace [year] with the current year
Type [year] anywhere that you want the current year to be inserted.
MemberPress: Add Address Column to Subscriptions Table
If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…
test1
say hellp
MemberPress: Add the Invoice Number to the Transactions Screen
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.