WordPress Word Count Function
Ever wondered how to count the number of words in one of your WordPress posts? Out of the box WordPress doesn't include a function to do this, but it's not hard to do. Just add a custom function to your child theme's…
Practical guides on AI automation, web development, WordPress, Laravel and the tools we use every day.
Ever wondered how to count the number of words in one of your WordPress posts? Out of the box WordPress doesn't include a function to do this, but it's not hard to do. Just add a custom function to your child theme's…
This example explains how you can trigger events based on user input of a drop down using jQuery. Here's the entire page, I have 2 drop downs. On the page load the first drop down is shown, while the second drop down…
Quick and easy example of how to disable payment gateways based on the Country in WooCommerce. Currently there isn't an easy way to do this through the WooCommerce settings so you'll need to open up your code…
Sometimes you have some input fields you want to show to the end user but not allow them to edit. For example a profile page where they can update their name, phone number, change their password, but you may want to…
Last week we wrote a blog post on how to disable right click functionality on an entire website. Since then we've had a few requests on how you would apply this same method to a certain area, container or element on…
I know this is a pretty basic thing, but I've seen so many tutorials out there that are non-dynamic solutions. Normally when you google "How to force HTTPS using an .htaccess file" or "Redirect HTTP to HTTPS using an…
This is an example of how to disable right clicking on a website using JavaScript and Bootstrap. You could leave Bootstrap off completely and use the basic alert functionality, but it's not as clean looking to the end…
MailChimp allows you to create sign up forms with their builder, but they can be a pain to style and for some don't allow enough customization. The following code is an example of how you can take advantage of the…
An application I've been troubleshooting has had major performance issues last week. I spent a few hours on it banging my head against a wall. Finally after doing some research I found that a lot of the database…
I had a request last week to set up a hosting environment with a sub-domain of a sub-domain. I hadn't ever done it before so wasn't sure how or what I would run into. Turns out it was an easy setup. I logged into…
We help Kansas City businesses automate the busywork and ship reliable software. Tell us what you're working on.