Last active
January 22, 2016 19:16
-
-
Save dotspencer/b977cddba5d75a369091 to your computer and use it in GitHub Desktop.
"Campus Events" for EGI event page
Overriding the-event-calendar plugin content.php file with a custom version located:
/wp-content/avian/tribe-events/list
Insert custom content.php snippit after the following lines of code:
<!-- List Title -->`
<?php do_action( 'tribe_events_before_the_title' ); ?>
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
<!-- START Custom "Campus Events"--> | |
<h2 class="tribe-events-page-title">Campus Events</h2> | |
<div class="tribe-events-loop type-tribe_events" style="margin-bottom:30px;"> | |
<div class="campus"> | |
<h2 class="tribe-events-list-event-title"> | |
<a href="/downloads/event_flyers/Courtenay-Strong-Graduate-Seminar-Jan-20.pdf" target="_blank" class="tribe-event-url">The Science of Climate Change</a> | |
</h2> | |
<div class="tribe-events-event-meta"> | |
<div class="tribe-events-venue-details">Graduate Seminar: Courtenay Strong</div> | |
<span>January 20 – 3:00-4:00 pm – WEB 2250</span> | |
</div> | |
</div> | |
<div class="campus"> | |
<h2 class="tribe-events-list-event-title"> | |
<strong>Overview of the EGI FORGE Project (DOE funding)</strong> | |
</h2> | |
<div class="tribe-events-event-meta"> | |
<div class="tribe-events-venue-details">Dr. Joe Moore</div> | |
<span>January 27</span> | |
</div> | |
</div> | |
<div class="campus"> | |
<h2 class="tribe-events-list-event-title"> | |
<strong>The Use of Tracers for Constraining Fracture Surface Area in<br>Geothermal and Petroleum Reservoirs</strong> | |
</h2> | |
<div class="tribe-events-event-meta"> | |
<div class="tribe-events-venue-details">Dr. Peter Rose</div> | |
<span>March 23</span> | |
</div> | |
</div> | |
</div> | |
<style media="screen"> | |
.campus{margin-bottom: 25px;} | |
.campus h2{font-size:1.4em !important;} | |
.campus strong{color:#666;} | |
</style> | |
<!-- END Custom "Campus Events"--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment