MemberPress: Extend the Grace Period
This will extend the default 1-day grace period for subscriptions. The code needs to be adjusted…
Hide sidebar on mobile device
function custom_hide_sidebar_on_mobile() { echo ' '; } add_action('wp_head', 'custom_hide_sidebar_on_mobile');
Discover LaMelo Shoes: Where Street Style Meets Basketball
Discover LaMelo Shoes – the perfect fusion of style, performance, and comfort. Whether you're dominating the…
How to Allow WordPress WooCommerce Direct Order to WhatsApp Free.
Post Intro In this tutorial you will learn How to Allow WordPress WhatsApp Direct Order to…
Debt
Loan Mechanic Give a Loan Loan Amount (1 - Your Cash Balance): Interest Rate (%): Select…
Load Template Files In Admin
Load Charitable template files in the admin area.
Conversion Event Snippet
When people click on book now or sign up and redirected to Mindbody for bookings.
Company Field on Receipt
Outputs the "Company" on the payment receipt.
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
Remove "p" tags Contact Form 7
Remove tags from the forms in the frontend
WordPress Post Views Counter Function
function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…
JavaScript for Craft Picker
// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…
expose acf
function expose_acf_to_rest() { register_rest_field('game_state', 'acf', [ 'get_callback' => function($post_arr) { return get_fields($post_arr['id']); }, 'update_callback' => null,…
Header and Footer
Copy/pasted form docket
Leave Tasty recipe ratings with WP-PostRatings
The Tasty Recipes rating system works with the default WordPress comment form. However, if you use…