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
//This codes gets added to the home_genesis_meta add actions in the home.php file, around line 15 | |
add_action( 'genesis_loop', 'agency_home_full_helper' ); |
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
// Register full-width content widget after default home page widgets | |
// This code is added to the end of your child themes functions.php file | |
/** | |
* @author Brad Dalton - WP Sites | |
* | |
* @link http://wpsites.net/web-design/add-widget-home-php-genesis/ | |
*/ | |
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
h1 { | |
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif; | |
font-size: 92px; | |
padding: 80px 50px; | |
text-align: center; | |
text-transform: uppercase; | |
text-rendering: optimizeLegibility; | |
&.elegantshadow { | |
color: #131313; |
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
<!-- GA Tracking events with Continually JS API --> | |
<script> | |
continually.on('ready', function(api) { | |
api.on('startConversation', function(event) { | |
ga('send', 'event', { | |
eventCategory: 'Continually Conversations', | |
eventAction: 'Started Conversation', | |
eventLabel: event.conversationId, | |
}); | |
}); |
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
@media only screen and (max-width : 780px) { | |
.animated { | |
/*CSS transitions*/ | |
-o-transition-property: none !important; | |
-moz-transition-property: none !important; | |
-ms-transition-property: none !important; | |
-webkit-transition-property: none !important; | |
transition-property: none !important; | |
/*CSS transforms*/ | |
-o-transform: none !important; |
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
(function ( $ ) { | |
// Create two datepickers. | |
$( '#mer_checkin' ).datepicker({ dateFormat: 'mm/dd/yy' }); | |
$( '#mer_checkout' ).datepicker({ dateFormat: 'mm/dd/yy' }); | |
// Prevent mobile devices from launching a keyboard on input focus. | |
$( "#mer_checkin, #mer_checkout" ).attr( 'readonly', 'readonly' ); | |
$( "#mer_checkin, #mer_checkout" ).click( function( event ){ |
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
public function get_recent_summary() { | |
global $json_api; | |
$posts = $json_api->introspector->get_posts(); | |
$output = array(); | |
foreach ($posts as $post){ | |
$post_summary["id"] = $post->id; | |
$post_summary["url"] = $post->url; | |
$post_summary["title"] = $post->title; | |
$post_summary["date"] = $post->date; |
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
.stitched { | |
padding: 20px 10px; | |
margin: 10px; | |
background: #67bbab; | |
color: #ffffff; | |
font-size: 21px; | |
font-weight: bold; | |
line-height: 1.3em; | |
border: 2px dashed #ffffff; | |
border-radius: 10px; |
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
/* Content Boxes | |
------------------------------------------------------------ */ | |
.content-box-blue, | |
.content-box-gray, | |
.content-box-green, | |
.content-box-purple, | |
.content-box-red, | |
.content-box-yellow { | |
margin: 0 0 25px; |
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
//* Enqueue Ionicons | |
add_action( 'wp_enqueue_scripts', 'bg_enqueue_ionicons' ); | |
function bg_enqueue_ionicons() { | |
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION ); | |
} |