This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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> |