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
{# et_disable_header is a notional ACF field name #} | |
{# You can use whatever name you'd like #} | |
{% if function( 'get_field', 'et_disable_header' ) == true %} | |
{% extends "index-alt.twig" %} | |
{% else %} | |
{% extends "index.twig" %} | |
{% endif %} |
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
<script type="text/javascript"> | |
var bg_player; | |
videojs( 'performPlayer' ).ready( function() { | |
bg_player = this; | |
bg_player.ga(); | |
} ); |
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( 'timber_context', 'ob_add_to_timber_context' ); | |
function ob_add_to_timber_context( $data ){ | |
// Get Tweets | |
$data['tweets'] = getTweets( 3, 'obieawards', array( 'include_rts' => true ) ); | |
} |
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
{% for tweet in tweets %} | |
<p class="twitter">{{ tweet.text|twitterfy }}</p> | |
{% endfor %} |
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>Basics:</div> | |
<div> | |
<ul> | |
<li>Dual "pingable" envelope generator's total envelope time is set by a "ping" | |
<br> | |
</li> | |
<li>Tap tempo button or incoming clock sets the ping time | |
<br> | |
</li> | |
<li>Envelope time is a multiple or division of the ping time (from /8 to x8) set by Ping Div/Mult knob and CV |
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
<ul> | |
<li> | |
<p class="desc" style="font-weight: bold;">Dining room</p> | |
<p class="desc">Dinner<br /> | |
Tuesday through Saturday<br /> | |
(Sunday & Monday closed)<br /> | |
Reservations required | |
</p> | |
</li> | |
<li> |
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
.home-hero | |
.success-story-detail-hero | |
position: relative | |
[centered-image] | |
margin: 0 | |
height: 100% | |
overflow: hidden | |
position: absolute | |
top: 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 | |
// Headshot | |
function xqum_image_left( $atts, $content = null ){ | |
return" | |
<div class='xqum-image-left'> | |
$content | |
</div>"; | |
} |