This file contains hidden or 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 | |
if( defined('EM_TAXONOMY_CATEGORY') ) { | |
define('EM_TAXONOMY_SPEAKER','event-speakers'); | |
define('EM_TAXONOMY_SPEAKER_SLUG', 'event/speakers'); | |
function parse_event_cat_query( ){ | |
global $wp_query, $post; | |
if( is_tax(EM_TAXONOMY_SPEAKER)||is_tax(EM_TAXONOMY_CATEGORY) ){ | |
unset($wp_query->query_vars['meta_query']); |
This file contains hidden or 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 | |
if ( class_exists('EM_Gateway') ) : | |
class BraintreeGateway extends EM_Gateway { | |
var $gateway = 'braintree'; | |
var $title = 'BrainTree'; | |
var $status = 4; | |
var $status_txt = 'Processing (BrainTree)'; | |
var $button_enabled = false; | |
var $supports_multiple_bookings = true; |
This file contains hidden or 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 | |
if(!class_exists('WP_List_Table')) require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); | |
/** | |
* Extended class for displaying a list of items in an HTML table. | |
* | |
* @usage | |
* // be sure to modify the display_rows function to customize the output of the rows | |
* $args = array( |
This file contains hidden or 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 | |
/** | |
* WP_Theme_Rewrites Class for WordPress. | |
* | |
*/ | |
if(realpath(__FILE__) === realpath($_SERVER["SCRIPT_FILENAME"])) | |
exit("Do not access this file directly."); | |
class WP_Theme_Rewrites { |
This file contains hidden or 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 | |
/** | |
* Custom class for WP_Membership routines. | |
* | |
* | |
* @package WP_Membership | |
* @since WP_Membership 0.1 | |
*/ | |
if(realpath(__FILE__) === realpath($_SERVER["SCRIPT_FILENAME"])) |
This file contains hidden or 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 | |
/** | |
* Auto Deployment Script for GitHub and Apache. | |
* | |
* | |
* @since deploy 0.1 | |
*/ | |
$auth = md5('SECRET_PHRASE'); // set a private hash to validate against | |
if ( empty($_REQUEST['auth']) || $_REQUEST['auth'] != $auth) exit; |
This file contains hidden or 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
<link rel="icon" type="image/x-icon" href="<?php bloginfo('template_url'); ?>/im/favicon.png"/> | |
<!--[if IE]><link rel="shortcut icon" href="path/to/favicon.ico"><![endif]--> |
NewerOlder