No longer kept up to date.
Please see Sridhar's fork.
<?php | |
/* Template Name: Test */ | |
/** | |
* Genesis custom loop | |
*/ | |
function be_custom_loop() { | |
global $post; | |
// arguments, adjust as needed |
<?php | |
/* Template Name: Test */ | |
/** | |
* Genesis custom loop | |
*/ | |
function be_custom_loop() { | |
global $post; | |
// arguments, adjust as needed |
<?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 |
No longer kept up to date.
Please see Sridhar's fork.
#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:
<?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 |
I say "animated gif" but in reality I think it's irresponsible to be serving "real" GIF files to people now. You should be serving gfy's, gifv's, webm, mp4s, whatever. They're a fraction of the filesize making it easier for you to deliver high fidelity, full color animation very quickly, especially on bad mobile connections. (But I suppose if you're just doing this for small audiences (like bug reporting), then LICEcap is a good solution).
add_action('post_submitbox_misc_actions', createCustomField); | |
add_action('save_post', saveCustomField); |
<?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. | |
*/ |
<?php | |
class My_Custom_My_Account_Endpoint { | |
/** | |
* Custom endpoint name. | |
* | |
* @var string | |
*/ | |
public static $endpoint = 'my-custom-endpoint'; |