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
rsync -avz --exclude-from 'exclude-list.txt' |
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 fields for pages using this template parent - page.flexible.php | |
* | |
*/ | |
?> | |
<?php | |
// check if the flexible content field has rows of data | |
?> | |
<?php if( have_rows('page_content_group') ):?> |
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 | |
/** | |
* The template used for displaying page content | |
* | |
* @package WordPress | |
* @subpackage Twenty_Sixteen | |
* @since Twenty Sixteen 1.0 | |
*/ | |
?> |
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: Flexible Page Template | |
* // This template uses ACF and full-width featured image | |
*/ | |
get_header(); ?> | |
<div id="primary" class="content-area"> |
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
// Small handheld collpased navigation | |
(function ($) { | |
'use strict'; | |
$(document).ready(function () { | |
var pullNav = $('#pull-nav'); | |
var menu = $('.secondary-links'); | |
var pullSideMenu = $('#pull-side-one'); | |
var menuSidebar = $('#sidebar-left'); |
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 | |
/** | |
* @file | |
* Default theme implementation for entities. | |
* | |
* Available variables: | |
* - $content: An array of comment items. Use render($content) to print them all, or | |
* print a subset such as render($content['field_example']). Use | |
* hide($content['field_example']) to temporarily suppress the printing of a |
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
/* REMOVE WEBKIT CSS NONSENSE */ | |
input, | |
textarea, | |
input:focus, | |
textarea:focus { | |
-webkit-appearance:none; | |
-webkit-box-sizing:border-box; | |
} | |
input[type="search"]::-webkit-search-decoration, | |
input[type="search"]::-webkit-search-cancel-button, |
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
Preprocess | |
// Slideshow wrapper to allow absolute placement of slideshow content// | |
function theme-name_preprocess_views_view_fields(&$vars, $hook){ | |
if ($vars['view']->name == 'slideshow') { | |
$vars['fields']['title']->wrapper_prefix = '<div class="slideshow-content-wrapper">' . $vars['fields']['title']->wrapper_prefix; | |
$vars['fields']['field_slide_button_link']->wrapper_suffix .= '</div>'; | |
} | |
} |