No longer kept up to date.
Please see Sridhar's fork.
<?php | |
/* | |
Plugin Name: GFeWAY Recurring Monthly | |
Plugin URI: https://gist.github.com/webaware/10569363 | |
Description: only allow Monthly for recurring payments | |
Version: 1 | |
Author: WebAware | |
Author URI: http://webaware.com.au/ | |
@ref: http://wordpress.org/support/topic/how-to-make-interval-type-have-monthly-option-only |
<?php | |
add_filter( 'widget_title', 'custom_widget_title', 10, 3 ); | |
/** | |
* Callback for WordPress 'widget_title' filter. | |
* | |
* Create a link for the title of the Genesis Featured Widget if a category is | |
* specified. | |
* | |
* @package WordPress |
<?php | |
/* Template Name: Test */ | |
/** | |
* Genesis custom loop | |
*/ | |
function be_custom_loop() { | |
global $post; | |
// arguments, adjust as needed |
<?php | |
/* | |
Add back Schema.org/blogPosting microdata to post entries. | |
Replace all instances of "themedemo" with something unique to your site. | |
User input is required in the last function. Be sure to fill these fields in with your own information. | |
Instances where you need to fill in information will be marked with a comment that indicates so. | |
*/ |
add_filter('woo_discount_rules_run_before_calculate_event_on_before_calculate_subtotal_in_cart_rules', '__return_false'); | |
No longer kept up to date.
Please see Sridhar's fork.
<?php | |
/** | |
* Don't redirect on archive pages. | |
* | |
* @param string $redirect | |
* | |
* @return string | |
*/ | |
function iconic_add_to_cart_form_action( $redirect ) { |
<?php | |
/* Template Name: Test */ | |
/** | |
* Genesis custom loop | |
*/ | |
function be_custom_loop() { | |
global $post; | |
// arguments, adjust as needed |
function jtd_acf_auto_set_license_keys() { | |
if ( !get_option('acf_pro_license') && defined('ACF_5_KEY') ) { | |
$save = array( | |
'key' => ACF_5_KEY, | |
'url' => home_url() | |
); | |
$save = maybe_serialize($save); |
#The power of z
Do you spend lots of time doing things like this?
cd this/is/the/path/that/i/want/so/i/type/it/all/out/to/get/whereiwant
With z, you could just do this: