MemberPress: Add Author Bio Shortcode
Place the [mpcs-author-bio] shortcode in a post, page, or course. The shortcode will display the biographical…
Set Custom Donation Receipt Page For Offline Donations
You may want to use a different donation receipt page for Offline donations than your other…
Profile Data Shortcode
Renders the value of a single Profile Form field. Accepts one value, key. But it has…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
MemberPress: Auto Expand Coupon Field
By default, the coupon field is hidden on the MemberPress registration forms. Instead, users will see…
Move User Fields In Donation Form
In this example we move the user fields section (the "Your Details" bit) to appear below…
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Microsoft Web Master Tool
Microsoft Wen Master tool snippet
Floating Social Media Icons (copy)
Display your Social Media accounts in a floating sidebar.
MemberPress: Change the “Username or E-mail” label on login form
This code changes the “Username or Email” field label on the MemberPress login page. Note: this…
Weather API
Live weather
Add User Field
This adds a field to the end of the "Your Details" section in the Profile form.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
quiz
// setup console.log("running"); let q = 1; const submit = document.getElementById("next-button"); const question = document.getElementById("question"); //…
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…