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: Clearing (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_clearing_demo' ); | |
function mobile_do_clearing_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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: Magellan (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_magellan_demo' ); | |
function mobile_do_magellan_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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: Modal (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_reveal_demo' ); | |
function mobile_do_reveal_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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: Orbit (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_orbit_demo' ); | |
function mobile_do_orbit_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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: Section (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_section_demo' ); | |
function mobile_do_section_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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: Tool-Tips (Foundation) | |
*/ | |
add_action( 'genesis_after', 'mobile_do_tooltip_demo' ); | |
function mobile_do_tooltip_demo() { ?> | |
<!-- Check for Zepto support, load jQuery if necessary --> |
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 the_post_thumbnail( 'bfg_medium_img' ); ?> |
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_theme_support( 'genesis-footer-widgets', 3 ); |
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
JS: | |
//Scroll to Top | |
$(function() { | |
jQuery(window).scroll(function() { | |
if(jQuery(this).scrollTop() > 150) { | |
jQuery('.up').fadeIn(); | |
} else { | |
jQuery('.up').fadeOut(); | |
} | |
NewerOlder