

Using the PHP function strpos() you can search a PHP variable to find any occurrence of one string inside of another. For example, your string is “Hello World!” and you…
Today I had PHPStorm open and not sure what I did, but for some reason it was stuck in a loop of re-indexing files. It wasn’t a new project and…
We’re always looking for ways to improve server performance and page speed loading times. Today we finished migrating the rest of our cPanel accounts over to PHP-FPM. It’s straight forward…
WooCommerce has a great plugin for categorizing your products at the brand level called WooCommerce Brands. It helps you group your products by their brand and assigns the correct schema…
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…
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…
I need to grab the data from the “enclosure” tag from the following feed: https://queryfeed.net/twitter?q=%40CabosNews&title-type=user-name-both&geocode= In the example, you can modify the “enclosure” field to any of the fields you…
With PHP 5 they introduced the DateTime class. Prior to that everyone used strtotime, date, etc…commands to achieve the same results. I was a late adopter and continued to use…