Category: Uncategorized

  • Add autoupdates to your WordPress plugin that’s hosted on GitHub using update_plugins_{$hostname}

    Add autoupdates to your WordPress plugin that’s hosted on GitHub using update_plugins_{$hostname}

    Synopsis How Since WordPress 5.8, we’ve been able to set the Update URI in the plugin header. Setting that plugin URI allows us to add a filter to modify the update process based on the Update URI. The Code First, you need to add the Update URI to your plugin header, i.e.: Then, add a […]

  • How To Pause WooCommerce Subscription Renewals

    How To Pause WooCommerce Subscription Renewals

    Synopsis I wrote another free mini-plugin. This one allows a WooCommerce store to pause all WooCommerce Subscription renewals. Use Cases There are times when a WooCommerce store needs to temporarily pause all renewals, such as: In these scenarios, it would be fairly safe to pause renewals temporarily, and unpause them after a certain period of […]

  • AutomateWoo Order Action Add Free Product

    AutomateWoo Order Action Add Free Product

    I wrote a mini-plugin. It extends the functionality of AutomateWoo with a custom action which allows you to add a free product to an order as a line item. Intended use This action is intended for downstream use, such as adding a product to the order after it is created, but before it gets shipped, […]

  • Sitting on the Job (Workout for Mom and Dad #3)

    Sitting on the Job (Workout for Mom and Dad #3)

    Time About 30 minutes Equipment needed Jugs and/or 5# weights Chair with arms for L-sit (optional) A timer or clock Warm up! 10 slow hinges 10 slow lunges (assisted if needed) 4 x 20 second door jamb stretch 10 air squats (or sit-to-stand if needed) 30 jumping jacks Workout! This is a Partner Workout. That […]

  • Partners for Life (workout #2 for Mom and Dad)

    Partners for Life (workout #2 for Mom and Dad)

    Time About 30 minutes Equipment needed 1 full one-gallon jug to share Couch A timer or clock Warm up! 10 slow hinges 10 slow lunges (assisted if needed) 4 x 20 second door jamb stretch 10 air squats (or sit-to-stand if needed) 30 jumping jacks Workout! This is a Partner Workout. That means you will […]

  • “Great Jugs” (Workout for Mom & Dad)

    “Great Jugs” (Workout for Mom & Dad)

    Time About 25 minutes Equipment needed 2 full one-gallon jugs per person 2 chairs per person A timer or clock A method to keep track of how many rounds you do (putting change in a cup, or marks on a chalkboard) Warm up! 10 slow hinges 10 samson lunges 4 x 20 second door jamb […]

  • Bloodroot Kids – “Cool Down”

    Bloodroot Kids – “Cool Down”

    A tune my brother and I put together recently:

  • Fight Hedonic Adaptation

    Fight Hedonic Adaptation

    Happiness seekers tend to focus on changing their life circumstances, such as buying a new house, switching jobs, or getting married. However, people have been found to adapt to both positive and negative life changes, such as marriage, job promotion, disability, and widowhood. This process—known as hedonic adaptation—can serve as a formidable barrier to achieving […]

  • Add Product Category to email subject WooCommerce

    Add Product Category to email subject WooCommerce

    This snippet will add a new {product_category} placeholder to the email subject for the New Order email in WooCommerce. So, for example, when I go to WooCommerce > settings > email > New Order > “manage”, I can have a subject line like this: [{site_title}]: New order – [{product_category}] #{order_number}

  • The Natural

    The Natural

    Is there something that you’ve always felt you were naturally good at? Think about that “talent” and try to remember all of the practice that you actually did to get good at that thing without realizing it. Naturally fit? Maybe you grew up in an environment where you loved running around and climbing trees a […]

  • Atreus62 – Office Edition

    Atreus62 – Office Edition

    I recently refurbed an old Atreus62 that I got used, and I’m loving it as my new office board. It was originally built with Cherry MX Greens, which were waaaay too heavy and clicky for me, so I desoldered them and ordered and installed some Gateron Silent Browns, which I love. And not only that, […]

  • Touchscreen interface for SONOS speaker (for my 3-year-old)

    Touchscreen interface for SONOS speaker (for my 3-year-old)

    My 3-year-old loves her music, but our SONOS speakers require a device (phone, computer, etc) to control them. She always has to rely on us to start her music for her. Last week, I had an unprecedented day off; it was glorious time to let my mind create whatever it wanted. And apparently, messing around […]

  • Export Gifted Subscriptions (WooCommerce)

    Export Gifted Subscriptions (WooCommerce)

    Use Case You are trying to export or track which subscriptions have been gifted. Plugins WooCommerce Subscriptions Gifting for WooCommerce Subscriptions WooCommerce Subscriptions Importer and Exporter Snippet Output This will add a new ‘Recipient’ column to your CSV Export, which will include the user ID of the recipient. After importing into Google Sheets or similar, […]

  • Minimum Subscription Period WooCommerce

    Minimum Subscription Period WooCommerce

    There’s no default way to set a minimum subscription period with WooCommerce Subscriptions, but there are a couple of potential solutions to this: Sign-up fee and free trial Let’s say you want a customer to have to pay a minimum amount, and then go monthly after that, you could set a sign-up fee and free […]

  • Log PayPal IPN Payload in WooCommerce

    Log PayPal IPN Payload in WooCommerce

    PayPal Standard communicates with your WooCommerce store using IPNs ( and PDT, if you have it set up, but it’s not as common). For the most part, IPNs are still the standard method of sending information back to a WooCommerce store, such as successful charges, subscription renewals, etc. If you want to capture and log […]

  • Learning to Fly (bedtime story)

    Learning to Fly (bedtime story)

    One spring day, a girl and her best friend were lying in the grass, looking up at the clouds in the sky. “I wish I were a fairy,” said the girl. ”Maybe you are a fairy but you just don’t know it yet,” said her best friend. ”There’s only one way to find out,” said […]

  • Switch between options of same subscription WooCommerce

    Switch between options of same subscription WooCommerce

    Customer use case I have a client that is wanting to set up a subscription where the customer would select a product and it would allow them to select one or more weekdays. The cost of the subscription would be the total of the weekdays selected, and it would be a weekly-recurring order. What I’m […]

  • Reboot Takeaways

    Reboot Takeaways

    This month, I was lucky enough to spend a week in Charlotte taking the 3-day intensive leadership training course that was lead by Reboot. I’m sure there are many recaps and reviews that try to take 3 days worth of jam-packed content and try to distill it into a single post. Instead, I will drop in some takeaways […]

  • Clearing a Clogged Action Scheduler Queue – WooCommerce

    Clearing a Clogged Action Scheduler Queue – WooCommerce

    Clear out completed & cancelled actions safely Would you like to clear out the Action Scheduler 3.0+ completed and cancelled actions in a safe way? You can add this filter to your site: add_filter( ‘action_scheduler_retention_period’, function() { return DAY_IN_SECONDS * 14; } ); This will change the scheduled action retention period to 14 days (instead […]

  • Dear Prospress, Thank You

    Dear Prospress, Thank You

    In a recent Prospress video chat, I was told that getting older means looking back on your life and wondering what happened to the days of standing in a lightning storm in the middle of a field at a music festival on acid. That mental image has come to represent all life-changing moments to me, […]

  • Auto-add free shipping coupon for initial orders only for WooCommerce Subscriptions

    Auto-add free shipping coupon for initial orders only for WooCommerce Subscriptions

    Synopsis Customer wanted to offer free shipping on any orders of at least $25. Additionally, they wanted any subscription renewals to charge shipping normally – the free shipping should only apply to the initial order. To solve this, I’ve suggested using a free shipping coupon, which is applied automatically to the cart if it’s $25 […]

  • Dactyl Manuform Build Log

    Dactyl Manuform Build Log

    Some Light Reading http://blog.komar.be/how-to-make-a-keyboard-the-matrix/ http://pcbheaven.com/wikipages/How_Key_Matrices_Works/ Parts Case 3d printed custom by u/crystalhand using 30% wood filament. Based on these files, edited for BOX switches and TRRS connectors, as well as placing the pro micro holders in slightly different location. 2 Pro Micros 2 RJ9/TRRS connectors 76 BOX Burnt Orange switches 76 Diodes XDA Keycaps. Mostly […]

  • CSS Puns

    CSS Puns

    Code poetry tends to go above my head, but puns are right on my level. .tower-of-pisa { font-style: italic; } td.insane-asylum { padding: 20px; } .liberal { align:left; } .muffins-ready { overflow-y: visible; } .hill-billy-sex { position: relative; } .illuminati { position: absolute; visibility: hidden; } .country-music-concert { white-space: nowrap; } .egg:before { content: ‘chicken’; […]

  • Definition: Anecdata

    noun: Data gathered from personal accounts or humorous stories. His opinion was only backed by anecdata.