Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike michaldybczak

  • Poland
View GitHub Profile
@progandy
progandy / PKGBUILD
Created Aug 10, 2018
Language Pack for Thunderbird Lightning
View PKGBUILD
# modify for your language as available at https://hg.mozilla.org/l10n-central/
_lang=de
_langname=German
_tbmin=60.0
_tbmax=70.0
pkgname="thunderbird-cal-i18n-$_lang"
pkgdesc="$_langname language files for Thunderbird Calendar"
pkgver=20180805092655+60.0+70.0
pkgrel=1
@amboutwe
amboutwe / yoast_seo_canonical_change_woocom_shop.php
Last active Jan 1, 2021
Code snippets for the Yoast SEO canonical output
View yoast_seo_canonical_change_woocom_shop.php
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Change the canonical link for the shop page
* Credit: Scott Weiss of somethumb.com
* Last Tested: Jan 25 2017 using Yoast SEO 6.0 on WordPress 4.9.1
*/
function yoast_seo_canonical_change_woocom_shop( $canonical ) {
if ( !is_shop() ) {