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
<ul class="chart"> | |
<li class="axis"> | |
<div class="label">MVP</div> | |
<div class="label">All Star</div> | |
<div class="label">Slugger</div> | |
<div class="label">Rookie</div> | |
<div class="label">Triple A</div></li> | |
<li class="bar teal" style="height: 95%;" title="95"> | |
<div class="percent">95<span>%</span></div> | |
<div class="skill">Karate</div></li> |
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
<h1>Nice selection, buddy</h1> | |
<p>Highlight the heading and let's see how this works as well as it does <a href="http://responsive-nav.com/">here</a>.</p> |
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
add_filter('tribe_events_event_schedule_details', 'custom_tribe_events_event_schedule_details'); | |
function custom_tribe_events_event_schedule_details() { | |
if ( is_null( $event ) ) { | |
global $post; | |
$event = $post; | |
} | |
if ( is_numeric( $event ) ) | |
$event = get_post( $event ); |
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
// Removes categories "dance" and "concert" from list and month views | |
add_action( 'pre_get_posts', 'exclude_events_category' ); | |
function exclude_events_category( $query ) { | |
if ( $query->query_vars['eventDisplay'] == 'list' && !is_tax(Tribe__Events__Main::TAXONOMY) || $query->query_vars['eventDisplay'] == 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(Tribe__Events__Main::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) { | |
$query->set( 'tax_query', array( |
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 // Changes the text labels for Google Calendar and iCal buttons on a single event page | |
remove_action('tribe_events_single_event_after_the_content', array('TribeiCal', 'single_event_links')); | |
add_action('tribe_events_single_event_after_the_content', 'customized_tribe_single_event_links'); | |
function customized_tribe_single_event_links() { | |
if (is_single() && post_password_required()) { | |
return; | |
} | |
echo '<div class="tribe-events-cal-links">'; |
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
.tribe-events-meta-group dd.location span.country-name { | |
position: absolute; | |
top: -10000px; | |
visibility: hidden; | |
} |
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
add_action( 'pre_get_posts', 'order_by_modified' ); | |
function order_by_modified( $query ) { | |
if ( $query->is_home() && $query->is_main_query() ) { | |
$query->set( 'orderby', 'modified' ); | |
} | |
} |
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
function tribehome_enqueue_front_page_scripts() { | |
// Add these scripts to only the front page -- need to customize for your specific use | |
if( is_front_page() ) | |
{ | |
//Add the stylesheet into the header | |
wp_enqueue_style("tribe.homepage",WP_PLUGIN_URL."/the-events-calendar/resources/tribe-events-full.css"); | |
wp_enqueue_style("tribe.homepage.date",WP_PLUGIN_URL."/tribe-homepage-search/css/datepicker.css"); |
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
add_action( 'tribe_events_inside_before_loop', 'output_custom_code' ); | |
function output_custom_code() { | |
// Check if displaying month view | |
if( tribe_is_month() ) { | |
echo 'Your custom code to display.'; | |
} | |
} |
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
<form method="post" action="https://secure-q.net/Pages/Post" enctype="application/x-www-form-urlencoded" > | |
<input type="hidden" id="merchantid" name="merchantid" value="ICFGCQ" /> | |
<input type="hidden" id="pageid" name="pageid" value="4504" /> | |
<input type="hidden" id="Organization" name="Organization" value="" /> | |
<input type="hidden" id="Prefix" name="Prefix" value="" /> | |
<input type="hidden" id="FirstName" name="FirstName" value="" /> | |
<input type="hidden" id="LastName" name="LastName" value="" /> | |
<input type="hidden" id="Suffix" name="Suffix" value="" /> | |
<input type="hidden" id="Address1" name="Address1" value="" /> | |
<input type="hidden" id="City" name="City" value="" /> |
OlderNewer