WordPress

LearnDash Advance Buttons with Elementor

Make sure you use the BUILT IN Elementor Widgets when making a template for courses and lessons. You must use the built in widgets so it advances the lesson completion actions.

Customize WP Password Email without Plugin

https://chatgpt.com/share/69fb8fbd-1d4c-83ea-afa2-99a9d21fd31a   You would add code to your child theme’s functions.php file or, preferably, a small site-specific plugin.   /** * Customize the WordPress password changed confirmation email. */ add_filter(‘password_change_email’, function($email, $user, $userdata) { $site_name = wp_specialchars_decode(get_option(‘blogname’), ENT_QUOTES); $site_url = home_url(); $email[‘subject’] = ‘[‘ . $site_name . ‘] Password Changed’; $email[‘message’] = sprintf( “Hi %s,\n\n” […]

i4w_date – use math to add time to date in a custom field, not just add to today’s date

As shown in https://docs.imember360.com/webhooks/i4w_date The basic HTTP post only adds time to whatever the current date is and stores it in the target field. For example, the post below will add 2 weeks to today’s date, and store it in the custom field Next Meeting. https://yoursite.com/?i4w_date=YOUR_SECURITY_KEY&target=_nextmeeting&operation=plus%202%20weeks If you want to add time to whatever date […]

Elementor Font issue When Migrating Sites

Just FYI, I was able to find a forum that explained that it might be helpful to rename the “elementor” folder in /wp-content/uploads/ and force Elementor to create a new one. They suggested this might rebuild/redownload the fonts.  Looks like it worked.

Lock Down Posts Created by Front-End Users

Hooked to POST CREATION and STATUS CHANGE   We do use  wp_insert_post() and wp_update_post() for creating and updating the custom post. We added the group access update upon every status change with these IDs: $_POST[‘group_access’] = array( 178, 182, 186, );     ====   Without seeing your code how you actually create the draft […]

InfusedWoo Page Redirect Not Working Fix

Elementor has section that needs to be changed. The Solution: To restore the redirect functionality, you’ll need to allow WooCommerce to handle the thank you page process again. Here’s how: Navigate to your Elementor WooCommerce settings Find the “Purchase Summary” page setting Clear/empty this field (see attached screenshot for reference) Save your changes   section […]

Add Custom Shortcode to Generate Current Year as Merge Field for Copyright in Footer

Use this code snippet in the functions.php file to create a shortcode that works in elementor.   // Create current year shortcode function current_year_shortcode() { $year = date(‘Y’); return $year; } add_shortcode(‘current_year’, ‘current_year_shortcode’);’   Anywhere you add [current_year], it will populate the year. For example:   @[current_year] Home Centered Care Institute will display as @2025 […]