Skip to content

Instantly share code, notes, and snippets.

View tyrann0us's full-sized avatar

Philipp Bammes tyrann0us

View GitHub Profile
@tyrann0us
tyrann0us / gist:2231b4af0a47f8b79cf873d1ba2c7e68
Last active June 8, 2020 09:27
All WooCommerce order status with German translation (and slug)
"Pending payment" (pending) = "Zahlung ausstehend"
"Processing" (processing) = "In Bearbeitung"
"On hold" (on-hold) = "In Wartestellung"
"Completed" (completed) = "Abgeschlossen" ("Fertiggestellt" in some places for Swiss German)
"Cancelled" (cancelled) = "Storniert/Abgebrochen"
"Refunded" (refunded) = "Rückerstattet"
"Failed" (failed) = "Fehlgeschlagen"
@tyrann0us
tyrann0us / WordPress siteurl vs home
Last active June 2, 2020 09:08
WordPress `siteurl` vs. `home`
`siteurl` = WordPress Address (URL) = WordPress-Adresse (URL) (German) -> URL
`home` = Site Address (URL) = Website-Adresse (URL) (German) -> URL to WordPress core files
See https://codex.wordpress.org/Changing_The_Site_URL
@tyrann0us
tyrann0us / _gallery.scss
Last active January 24, 2017 09:39
SCSSified WordPress gallery styles (based on Twenty Seventeen)