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
// $('#owl-carousel').owlCarousel({ | |
// navContainer: '#customNav', | |
// dotsContainer: '#customDots', | |
// }) |
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
<div class="numbers"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<h3 class="numbers-title"> | |
<?php the_field('numbers_section_1_header');?> | |
</h3> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="number-md"> |
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 | |
$args = array( | |
'posts_per_page' => 5, | |
'post_type' => 'sports', | |
'meta_key' => 'event_type', | |
'meta_value' => 'Match', | |
'orderby' => array( | |
'match_date' => 'ASC', | |
) | |
); |
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 | |
// search-form same behavior as genesis with additional classes | |
// for bootstrap styling | |
add_filter( 'genesis_search_form', 'bsg_search_form', 10, 4); | |
function bsg_search_form( $form, $search_text, $button_text, $label ) { | |
$value_or_placeholder = ( get_search_query() == '' ) ? 'placeholder' : 'value'; |
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
.used-by { | |
height: 82px; | |
margin-bottom: 40px; | |
padding-top: 20px; | |
border: none; | |
white-space: nowrap; | |
overflow: hidden; | |
position: relative; | |
transform: translate3d(0, 0, 0); |
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 | |
/** | |
* Template Name: About Page Sidebar | |
* Description: Template used for general pages with left sidebar | |
*/ | |
//* Add custom body class | |
add_filter( 'body_class', 'childthemeprefix_home_page_class' ); | |
function childthemeprefix_home_page_class( $classes ) { | |
$classes[] = 'general-sidebar-page'; |
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 elseif( get_row_layout() == 'slider' ): ?> | |
<?php $images = get_sub_field('slider_shortcode'); | |
if( $images ): ?> | |
<div id="general-slider"> | |
<?php foreach( $images as $image ): ?> | |
<div class="item"> |
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
<section> | |
<h2>FAQ</h2> | |
<div class="faq-row"> | |
<?php wp_reset_query(); ?> | |
<?php | |
$args = array( | |
'post_type' => 'faq', | |
'posts_per_page' => -1, |
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 | |
/* | |
Template Name: Landing Page | |
*/ ?> | |
<?php get_header(); ?> | |
<section class="hero-section"> | |
<div class="container"> | |
<article> |
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
<p>There are plenty of amazing things to do, eat and drink in Bloomington! It is a beautiful time of year and we highly recommend walking around campus.</p> | |
<p><strong>Restaurants</strong></p> | |
<ul style="margin-top: 0pt; margin-bottom: 0pt;"> | |
<li style="list-style-type: disc;"> | |
<p><a href="http://www.motherbearspizza.com/">Mother Bear’s Pizza</a> is a favorite campus restaurant. The pizza and breadsticks are amazing! (<a href="https://www.google.com/maps/place/Mother+Bear's+Pizza/@39.1641064,-86.5177538,17z/data=!3m1!4b1!4m2!3m1!1s0x886c6695f2b293cb:0xd1e30fafa812b56b">1428 E Third Street</a></p> | |
</li> | |
<li> | |
<p><a href="http://bbcbagel.com/">Bloomington Bagel Company</a> is another campus favorite. The bagels, pastries and coffee are perfect after a long night out in Bloomington. (Multiple locations,<a href="https://www.google.com/maps/place/Bloomington+Bagel+Co/@39.1671394,-86.5306144,17z/data=!3m1!4b1!4m2!3m1!1s0x886c66c2eef24eb1:0xcfa5c760fe1e28e6"> 113 N Dunn</a> is closest to campus)</p> | |
</li> | |
<li> |