This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
<?php | |
/** | |
* Change Admin URL | |
* | |
* Copyright (C) 2010 hakre <http://hakre.wordpress.com/> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as | |
* published by the Free Software Foundation, either version 3 of the | |
* License, or (at your option) any later version. |
<?php | |
/* | |
* This solution assumes you've already set up your site so that the site domain is | |
* your "normal" (non-mobile) domain, and your theme is your non-mobile theme. | |
* | |
* In short, what it does it check to see if the site is being accessed through the | |
* mobile domain. If it is, the mobile theme is used instead of the normal theme, and | |
* all links point to the mobile domain (so navigatiion doesn't take visitors to the | |
* regular domain. |
<?php | |
/** | |
* Plugin Name: WooCommerce Installments Example | |
* Plugin URI: http://claudiosmweb.com/ | |
* Description: Added the price with 3 installments without interest. | |
* Author: claudiosanches | |
* Author URI: http://www.claudiosmweb.com/ | |
* Version: 1.0 | |
* License: GPLv2 or later | |
*/ |
<?php | |
// Get all blog ids in network except main site (id 1) | |
$blogs = $wpdb->get_results(" | |
SELECT blog_id | |
FROM {$wpdb->blogs} | |
WHERE site_id = '{$wpdb->siteid}' | |
AND spam = '0' | |
AND deleted = '0' | |
AND archived = '0' |
function hm_add_term_meta_table() { | |
global $wpdb; | |
if ( ! current_theme_supports( 'term-meta' ) ) | |
return false; | |
hm_create_term_meta_table(); | |
$wpdb->tables[] = 'termmeta'; | |
$wpdb->termmeta = $wpdb->prefix . 'termmeta'; | |
} | |
add_action( 'init', 'hm_add_term_meta_table' ); | |
/** |