Skip to content

Instantly share code, notes, and snippets.

@lifeinthegrid
lifeinthegrid / Program.cs
Created September 29, 2023 18:07
GridLife.io-Learn-Tutorial-CSharp30
// // See https://aka.ms/new-console-template for more information
// Console.WriteLine("Hello, World! From C#");
// //=========================
// //COMMENTS
// //Single Line Comments
// /*
// Multiple line comments
// */
@lifeinthegrid
lifeinthegrid / index.html
Last active September 27, 2023 17:43
GridLife.io-Learn-Tutorial-Javascript30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="test.js"></script>
</head>
<body>
Hello
@lifeinthegrid
lifeinthegrid / Uppercase-PostTags-Words.php
Last active August 9, 2023 00:42
WordPress Data Utilities (PHP)
/* ================================================================================================
OVERVIEW: Update all post tags (post_tag) to have upper case words
COURTESY: https://gridlife.io
DETAILS:
This routine will loop through all of your sites tags and change the words to uppercase,
just the first character of each word
USAGE:
1. Browse to your tags in your wp-admin (observe any words that start with lower case)
/* ================================================================================================
OVERVIEW: Update post term tags to capitalize first letter
COURTESY: https://gridlife.io
DETAILS:
This query updates the names of tags in a WordPress database to capitalize the first letter
here the term type is the default tags taxonomy ('post_tags')
Tables Used:
- [wp_terms]