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 | |
| if( get_field( "email_address" ) ): ?> | |
| <li><strong>Email:</strong> <a href="mailto:<?php the_field('email_address'); ?>"><?php the_field('email_address'); ?></a></li> | |
| <?php endif; | |
| ?> |
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
| //Registers a widget named footer-widget | |
| if ( function_exists('register_sidebar') ) | |
| register_sidebar(array('name'=>'footer-widget', | |
| 'before_widget' => '', | |
| 'after_widget' => '', | |
| 'before_title' => '<h4>', | |
| 'after_title' => '</h4>', | |
| )); |
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{ | |
| position:absolute; | |
| left:0; | |
| right:0; | |
| margin-left:auto; | |
| margin-right:auto; | |
| } |
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
| $('a[href*=#]:not([href=#])').click(function() { | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
| || location.hostname == this.hostname) { | |
| var target = $(this.hash); | |
| target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
| if (target.length) { | |
| $('html,body').animate({ | |
| scrollTop: target.offset().top | |
| }, 1000); |
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
| .nav { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| display: table; | |
| width: 100%; | |
| } | |
| .nav > li { | |
| display: table-cell; | |
| text-align:center; |
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
| <FilesMatch "\.(ttf|otf|eot|woff)$"> | |
| <IfModule mod_headers.c> | |
| Header set Access-Control-Allow-Origin "*" | |
| </IfModule> | |
| </FilesMatch> |
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
| jQuery( document ).ready(function( $ ) { | |
| var question = $('.nAccordian .question'); | |
| var answer = $('.nAccordian .answer'); | |
| $(question).click(function(){ | |
| $(answer).slideUp(); | |
| $(this).next().slideToggle('fast'); | |
| }); | |
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
| if (isSafari){ | |
| alert('Safari'); | |
| } |
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
| git push -f origin master:gh-pages |
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
| .table{ | |
| display:table; | |
| width:100%; | |
| overflow: hidden; | |
| position:relative; | |
| } | |
| .cell { | |
| display: table-cell; | |
| vertical-align: middle; | |
| width: 100%; |
OlderNewer