webfontloader.js
// Add custom scripts function add_custom_script_webfont_loader_js() { wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true ); wp_enqueue_script( 'webfontloader'…
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
MemberPress: Changes Product Image on the Checkout Page (copy)
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
MemberPress: Display MemberPress Course Progress Using Shortcode
This shortcode displays a user's progress for a specific course in MemberPress. It outputs a styled…
MemberPress: Display User's Course Progress in MemberPress Courses
The code snippet registers a new shortcode: [mpcs_user_courses_progress]. Adding this shortcode will display all MemberPress courses…
MemberPress: Add Membership Titles To the Top of Registration Pages
This code snippet will add a membership title to each MemberPress membership registration page. Titles will…
WooCommerce number of archive products per page
Change WooCommerce Archive products number per page code snippet.
Add the page slug body class
snippet add slug
Add a “Rate this recipe” Tasty Recipes quick link
After applying this snippet, your new quick link should appear at the top of the recipe…
Send Donation Receipt For Pending Offline Donations
Right after a donation is made, this sends the donation receipt to the donor if the…
Send Donation Notification For Pending Offline Donations
Sends a notification to admin if the donation is pending AND it was made in offline…
Change City Field To Select
Change the City field in the donation form to a selectable, dropdown field, with several pre-set…
Set State Field To Us States Dropdown With Default
Change the "State" field into a "Province" field.