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 | |
$config['MbCmsPlugin'] = array( | |
'TshmExceptionRenderer', | |
'CsvView' => array(), | |
'Microsites' => array('bootstrap' => true, 'routes' => false), | |
'MenuCtas' => array('bootstrap' => true, 'routes' => true), | |
'News'=> array('bootstrap' => true, 'routes' => true), | |
'PressReleases' => array('bootstrap' => true, 'routes' => true), | |
'TextBlocks' => array('bootstrap' => true, 'routes' => true), | |
'PullQuotes' => array('bootstrap' => true, 'routes' => true), |
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
--- | |
ip: "192.168.10.10" | |
memory: 2048 | |
cpus: 1 | |
authorize: ~/.ssh/id_rsa.pub | |
keys: | |
- ~/.ssh/id_rsa |
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
{ | |
contact_information: { | |
name: 'Contact Information', | |
description: '', | |
fields: { | |
first_name: { | |
type: 'text', | |
label: 'First Name', | |
description: '', | |
placeholder: '', |
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 $listItems = explode("\n", $careerrequirements); | |
if(!empty($listItems)) { | |
foreach ($listItems as $listItem) { | |
if ($listItem) { | |
echo "<li>$listItem</li>"; | |
} | |
} | |
} | |
?> |
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
/* | |
* simpleWeather | |
* http://simpleweatherjs.com | |
* | |
* A simple jQuery plugin to display current weather data | |
* for any location and doesn't get in your way. | |
* | |
* Developed by James Fleeting <@fleetingftw> <http://iwasasuperhero.com> | |
* Another project from monkeeCreate <http://monkeecreate.com> | |
* |
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
jQuery(function() { | |
$('.js-simpleGH').each(function() { | |
var el = $(this); | |
var repo = el.data('repo'); //monkeecreate/jquery.simpleWeather | |
$.when( | |
$.ajax({ url: 'https://api.github.com/repos/'+repo, dataType: 'jsonp' }), | |
$.ajax({ url: 'https://api.github.com/repos/'+repo+'/tags', dataType: 'jsonp' }) | |
).done(function(repoData, repoTags) { | |
var data = repoData[0].data; |
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 | |
/** | |
* Template Name: Staff Template | |
* Description: Custom page template. | |
* @package WordPress | |
* @subpackage CW | |
* @since CW 1.0 | |
*/ | |
get_header(); ?> |
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 | |
/** | |
* Template Name: FAQs Template | |
* Description: Custom page template. | |
* @package WordPress | |
* @subpackage CW | |
* @since CW 1.0 | |
*/ | |
get_header(); ?> | |
<?php |
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 | |
/** | |
* Reviews Custom Post Type | |
* | |
* @since MB 1.0 | |
*/ | |
function mb_cpp_reviews_init() { | |
$field_args = array( | |
'labels' => array( | |
'name' => __( 'Reviews' ), |