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 bloginfo('stylesheet_directory'); ?> |
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
.overlay:before{ | |
position: absolute; | |
content:""; | |
top:0; | |
left:0; | |
width:100%; | |
height:100%; | |
display: none; | |
z-index: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
<div class="row"> | |
<div class="large-12 columns"> | |
</div> | |
</div> |
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 | |
// check if the repeater field has rows of data | |
if( have_rows('repeater_field_name') ): | |
// loop through the rows of data | |
while ( have_rows('repeater_field_name') ) : the_row(); | |
// display a sub field value | |
the_sub_field('sub_field_name'); |
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 | |
$query = new WP_Query(); | |
$query->query(array( | |
'post_type' => 'service', | |
'posts_per_page' => -1 | |
)); | |
$post_count = $query->post_count; | |
$count = 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 | |
global $post,$wp_query; | |
get_header(); | |
?> | |
<!-- Blog Header --> | |
<div class="blog-header-wrapper"> | |
<?php | |
$color = oneengine_option('header_blog_color'); | |
$img = oneengine_option('header_blog_img', false, 'url'); | |
$repeat = oneengine_option('header_blog_repeat'); |
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
$box-style1: 5px, solid, red; | |
$box-style2: (bStyle: dotted, bColor: blue, bWidth: medium); | |
@mixin boxy($bWidth, $bStyle, $bColor) { | |
border-width: $bWidth; | |
border-style: $bStyle; | |
border-color: $bColor; | |
} | |
.first { |
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
@mixin linx ($link, $visit, $hover, $active) { | |
a { | |
color: $link; | |
&:visited { | |
color: $visit; | |
} | |
&:hover { | |
color: $hover; | |
} | |
&:active { |
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
/*---------------------------------------------------------------- | |
Perfect Fourth (http://type-scale.com) | |
----------------------------------------------------------------*/ | |
h1 { | |
font-size: 2.369em; | |
} | |
h2 { | |
font-size: 1.777em; |
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
// ----------------------------------------------------------------------------------------- | |
// Remove jquery migrate js | |
// ----------------------------------------------------------------------------------------- | |
function dequeue_jquery_migrate( &$scripts){ | |
if(!is_admin()){ | |
$scripts->remove( 'jquery'); | |
$scripts->add( 'jquery', false, array( 'jquery-core' ), '1.10.2' ); | |
} | |
} |