Categories
PHP WordPress

Populate Gravity Forms checkboxes dynamically

Categories
JavaScript

Display jQuery UI Autocomplete list on input focus

Categories
PHP WordPress

Add custom page to Yoast SEO breadcrumb

Categories
PHP

Replace content from OpenCart 1.x template with vQmod

Categories
WordPress

Display Contact Form 7 acceptance checkbox error message

Add following line to your Contact Form 7 forms Additional Settings field
acceptance_as_validation: on

Categories
WordPress

Regenerate thumbnails with WP-CLI

You can easily regenerate thumbnails with WP-CLI, just type $ wp media regenerate --yes in the command line.

The --yes flag answers yes to the confirmation message.

WP-CLI documentation

Categories
PHP WordPress

Get human readable time difference in WordPress

Display posts dates as 2 days ago instead of regular date.

Documentation

Categories
Images

Alskat

Categories
Images

Raised Fist @ Pakkahuone, Tampere

Firman pikkujoulut ja Raised Fist

Categories
PHP WordPress

Save WP_Query results to a variable

$the_query = new WP_Query( array(...) );
$posts = $the_query->get_posts();