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
/** | |
* Theme Specific WP Rollback | |
* | |
* @description: Adds a rollback option to themes | |
* @copyright: http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
*/ | |
jQuery.noConflict(); |
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
{ | |
"name": "bobcatenergy", | |
"private": true, | |
"dependencies": { | |
"bootstrap-sass-official": "~3.3.1", | |
"modernizr": "~2.8.1", | |
"fontawesome": "~4.3.0", | |
"matchHeight": "~0.5.2", | |
"jasny-bootstrap": "~3.1.3", | |
"smooth-scroll": "https://github.com/cferdinandi/smooth-scroll.git", |
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 | |
/* | |
|-------------------------------------------------------------------------- | |
| Application Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register all of the routes for an application. | |
| It's a breeze. Simply tell Laravel the URIs it should respond to | |
| and give it the controller to call when that URI is requested. |
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
$app->get('/', function() use ( $app ) { | |
$request = Request::all(); | |
$ip = $request->getClientIp(); |
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
::: layout file structure ::: | |
acf/ | |
layouts/ | |
carousel-products/ | |
layout.json | |
layout-carousel-products.php | |
css/ | |
slick.min.css | |
style.css |
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
class autoloader { | |
public static $loader; | |
public static function init() | |
{ | |
if (self::$loader == NULL) | |
self::$loader = new self(); | |
return self::$loader; |
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 ( function_exists('cv_slack_{$command}') ) { | |
// Call the foobar() function with 2 arguments | |
$value = call_user_func_array("cv_slack_{$command}", array($text) ); | |
} | |
die(); |
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
meta.foundation-version { | |
font-family: "/5.5.0/"; | |
} | |
meta.foundation-mq-small { | |
font-family: "/" + unquote($small-up) + "/"; | |
width: lower-bound($small-range); | |
} | |
meta.foundation-mq-small-only { |
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
$attributes = array( | |
'id' => 'section-' . cv_get_section(), | |
'class' => $classes . ' carousel text-center', | |
'data-ratio' => get_sub_field( 'ratio' ), | |
'data-mobile-ratio' => get_sub_field( 'ratio_mobile' ) | |
); | |
function cv_get_attrs( $attributes = array() ) { | |
$attributes = array_filter($attributes); | |
foreach( $attributes as $key => $value ) { |
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 | |
/* | |
Plugin Name: Caava | |
Plugin URI: http://www.caavadesign.com/ | |
Description: Moo | |
Version: 0.0.1 | |
Author: Brandon Lavigne | |
*/ | |
add_action( 'plugin_autoloader', 'Caava\Common' ); |