In this guide, I will should you a simple trick to make your website’s search results page URL much nicer. With WordPress, you can make your posts URLs prettier from within Settings -> Permalinks. Unfortunately there isn’t an option to improve the look of your search results page, and by default looks like this:
In WordPress we can remove update notifications from all users except specific roles, by username or by user ID. Below you can find a few examples that you can insert into your functions.php file.
As I often work with APIs for our clients, I often need a simple password generator that creates a random password using numbers and letters, both lowercase and uppercase. The function below is a simple example.
If you are looking to remove the Add to Cart button in WooCommerce and replace it with a custom button then this short snippet is for you.
If you are trying to convert XML to an Array, then this is a snippet I have found useful in the past.