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
/** 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
add_filter('tribe_get_event_website_link_label', 'tribe_get_event_website_link_label_default'); | |
function tribe_get_event_website_link_label_default ($label) { | |
if( $label == tribe_get_event_website_url() ) { | |
$label = "Visit Website »"; | |
} | |
return '<a href="' . tribe_get_event_website_url() . '">' . $label . ' </a>'; | |
} |
NewerOlder