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 | |
// This file assumes that you have included the nav walker from https://github.com/twittem/wp-bootstrap-navwalker | |
// somewhere in your theme. | |
?> | |
<!-- navwalker include to functions.php | |
// Register Custom Navigation Walker | |
require_once('wp_bootstrap_navwalker.php'); | |
--> | |
<header class="banner navbar navbar-default navbar-static-top" role="banner"> | |
<div class="container"> |
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 /* remove_filter ('the_content', 'wpautop'); */ ?> | |
<section class="slider"> | |
<div class="owl-carousel"> | |
<!-- owl-carousel include to assets/scripts/main.js | |
// JavaScript to be fired on all pages | |
$(".owl-carousel").owlCarousel({ | |
items:1 | |
}); | |
--> |
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 | |
/** | |
* Sage includes | |
* | |
* The $sage_includes array determines the code library included in your theme. | |
* Add or remove files to the array as needed. Supports child theme overrides. | |
* | |
* Please note that missing files will produce a fatal error. | |
* | |
* @link https://github.com/roots/sage/pull/1042 |
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
/* ======================================================================== | |
* DOM-based Routing | |
* Based on http://goo.gl/EUTi53 by Paul Irish | |
* | |
* Only fires on body classes that match. If a body class contains a dash, | |
* replace the dash with an underscore when adding it to the object below. | |
* | |
* .noConflict() | |
* The routing is enclosed within an anonymous function so that you can | |
* always reference jQuery with $, even when in .noConflict() mode. |
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
/* hero_content */ | |
.content-1 { | |
padding-bottom: 147px; | |
background-repeat: no-repeat; | |
text-align: center; | |
background-size: cover; | |
.Happy-Clients { | |
font-size: 24px; | |
font-family: "Montserrat"; | |
color: rgb(238, 238, 238); |
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 | |
namespace Roots\Sage\Setup; | |
use Roots\Sage\Assets; | |
/** | |
* Theme setup | |
*/ | |
function setup() { |
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: Contact-us | |
*/ | |
?> | |
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> | |
<?php | |
$location = get_field('contact_map'); |
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
Show hidden characters
<snippet> | |
<content><![CDATA[ | |
<section class="packery"> | |
<div class="container"> | |
<div class="row text-center"> | |
<h2 class="heading-title"> | |
<?php echo get_field('packery_title'); ?> | |
<span class="line-title"></span> | |
</h2> | |
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
/* This has been added to CSS Protips https://github.com/AllThingsSmitty/css-protip */ | |
/* The type font size in a responsive layout should be able to adjust with each viewport. | |
You can calculate the font size based on the viewport height and width using :root */ | |
:root { | |
font-size: calc(1vw + 1vh + .5vmin); | |
} | |
/* Now you can utilize the root em unit based on the value calculated by :root */ | |
body { |
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 /* acf taxonomy field */ ?> | |
<?php $terms = get_field('product_category'); ?> | |
<?php if( $terms ): ?> | |
<?php foreach( $terms as $term ): ?> | |
<a href="<?php echo get_term_link( $term ); ?>">'<?php echo $term->name; ?>'</a> | |
<?php endforeach; ?> | |
<?php endif; ?> |
OlderNewer