How to randomize an array in VB.net

Do you want to randomize the items in an array with VB.net? Add these 2 functions below to your code to get it working. The reason there’s 2 functions you must add is because the first function is using the second function to make it all work. To use it, you just type: Shuffle(YourArray, 5) … Read more

Auto add ALT to WordPress featured images

I found this bit of PHP code that worked fine. What it does is that if your featured images in WordPress have empty ALT tags, then it will use the WordPress post title to fill them. Add the following code to your theme functions.php file. And not the WordPress functions.php file… function lwp_37481_featured_alt_text($metadata, $object_id, $meta_key, … Read more