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
/** Change the size and colour of the widget title */ | |
.tribe-events-list-widget h2.widget-title { | |
color: blue; | |
font-size: 30px; | |
} | |
/** Make each event standout with a new background and border */ | |
.tribe-events-list-widget li.tribe-events-list-widget-events { | |
background: yellow; | |
border: 1px solid red; |
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
/** Place a border around the entire widget */ | |
.tribe-events-adv-list-widget { | |
border: 2px solid black; | |
} | |
/** Change the widget title colour and size */ | |
.tribe-events-adv-list-widget h2.widget-title { | |
color: purple; | |
font-size: 30px; | |
} |
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
/** Place a border around the entire widget */ | |
.tribe_mini_calendar_widget { | |
border: 2px solid black; | |
} | |
/** Change the widget title colour and size */ | |
.tribe_mini_calendar_widget h2.widget-title { | |
color: purple; | |
font-size: 30px; | |
} |
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
/** Change the background colour of the grid header area */ | |
.tribe_mini_calendar_widget thead, | |
.tribe_mini_calendar_widget .tribe-mini-calendar-nav td { | |
background: lightblue; | |
} | |
/** Change the colour scheme of the days of the week */ | |
.tribe_mini_calendar_widget .tribe-mini-calendar-dayofweek { | |
background: yellow; | |
color: black; |
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
/** Change the colour and other properties of the venue widget title */ | |
.tribe-events-venue-widget h2.widget-title { | |
color: #fa0; | |
transform: rotate( -2deg ); | |
} | |
/** Give the venue name a strong background colour */ | |
.tribe-events-venue-widget .tribe-venue-widget-venue-name { | |
background: black; | |
} |
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
/** Change the colour and other properties of the venue widget title */ | |
.tribe-events-countdown-widget h2.widget-title { | |
color: #fa0; | |
transform: rotate( -2deg ); | |
} | |
/** Make the event title uppercase and green */ | |
.tribe-events-countdown-widget .tribe-countdown-text a { | |
color: #10c050; | |
text-transform: uppercase; |
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
/** | |
* Allows visitors to page forward/backwards in any direction within month view | |
* an "infinite" number of times (ie, outwith the populated range of months). | |
*/ | |
class ContinualMonthViewPagination { | |
protected $tec; | |
public function __construct() { | |
add_filter( 'tribe_events_the_next_month_link', array( $this, 'next_month' ) ); | |
add_filter( 'tribe_events_the_previous_month_link', array( $this, 'previous_month' ) ); |
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
/** | |
* @param string $url | |
* @param string $type | |
* @return string | |
*/ | |
function modify_month_list_link_urls( $url, $type ) { | |
if ( 'month' === $type ) return str_replace( 'month', 'calendar', $url ); | |
if ( 'list' === $type ) return str_replace( 'list', 'all-events', $url ); | |
if ( 'photo' === $type ) return str_replace( 'photo', 'picture-board', $url ); | |
return $url; |
OlderNewer