Skip to content

Instantly share code, notes, and snippets.

Alvar Hyvönen zArubaru

Block or report user

Report or block zArubaru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zArubaru
zArubaru / fix-envira-gallery.php
Created Jan 16, 2019
Fix corrupted serialized Envira Gallery Lite data.
View fix-envira-gallery.php
@zArubaru
zArubaru / the_seo_framework_image_output.php
Last active Feb 21, 2019
Limit The SEO Framework og:image and twitter:image sizes.
View the_seo_framework_image_output.php
<?php
// Edit these to suit your needs
add_image_size( 'og-image', 1200, 630, true );
add_image_size( 'twitter-image', 1024, 512, true );
/**
* Limit The SEO Framework og:image and twitter:image sizes.
*
* For: https://fi.wordpress.org/plugins/autodescription/
*/
@zArubaru
zArubaru / polylang-resync-taxonomoy-translations.php
Created Feb 13, 2018
Resync WordPress posts' taxonomy translations
View polylang-resync-taxonomoy-translations.php
<?php
/**
* "Resync" WP posts' taxonomy translations.
*
* This can either run after the `php` command,
* followed with CTRL+D x2 (OR x3), or included
* as a file in `php -a` interactive mode:
*
* https://jondavidjohn.com/interactive-wordpress-php-shell/
*/
You can’t perform that action at this time.