This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Edit term page | |
function summit_taxonomy_edit_meta_field($term) { | |
// put the term ID into a variable | |
$t_id = $term->term_id; | |
// retrieve the existing value(s) for this meta field. This returns an array | |
$term_meta = get_option( "taxonomy_$t_id" ); ?> | |
<tr class="form-field"> | |
<th scope="row" valign="top"><label for="term_meta[displayed]"><?php _e( 'Display Category', 'summit' ); ?></label></th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function tumble_menu( $args = array() ) { | |
/* Default arguments */ | |
$defaults = array( | |
'container' => 'ul', | |
'menu_class' => 'nav', | |
'menu_id' => 'top_nav', | |
'theme_location' => 'top-menu', | |
'echo' => false, | |
'before' => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Update Previous Order Numbers for EDD | |
* Description: For users of the sequential order number beta, use this before you get new orders to have your previous orders sequentially numbered | |
* Version: 0.1 | |
* Author: Chris Christoff | |
* Author URI: http://www.chriscct7.com | |
*/ | |
function update_script_edd_seq_numbers(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make downloads hierarchical | |
function thesrpr_edd_make_hierarchical($download_args ) { | |
$download_args['hierarchical'] = true; | |
return $download_args; | |
} | |
add_filter( 'edd_download_post_type_args', 'thesrpr_edd_make_hierarchical' ); |
NewerOlder