View _forms.scss
/**
* @description Gravity Forms SASS overides inconjunction with Jay Hoffmann's add_bootstrap_container_class
*
* @author Jay Hoffmann (modified by Josh Cranwell)
*
* @source https://jayhoffmann.com/using-gravity-forms-bootstrap-styles/
*
* @instructions
* - Gravity Form settings: HTML 5 [true], CSS OUTPUT [false].
* - Repsonsive column classes must be added to each field in the admin to control inputs .col-[screen-size]-[column-count]
View SassMeister-input-HTML.html
<div class="container-fluid">
<div class="page-header">
<h1 class="fw-300">Lord of the lady dancers</h1>
</div>
<div class="page-header">
<h1 class="fw-300">Lord of the lady dancers</h1>
</div>
View functions.php
<?php
// results generator
function node_modify_riders_array($rider_id)
{
$fields = get_field("rider_series_data", $rider_id);
foreach($fields as $field_key => $field_val)
{
$new_fields[$field_val["series"]] = $field_val;
View news.php
<?php
/**
* @package WordPress
* @subpackage Motocom Limited
* @since Sam Lowes 1.0
*/
// Template Name: News
get_header();
View gallery.php
View gist:9393516
<?php
/**
* @package WordPress
* @subpackage Motocom Limited
* @since Sam Lowes 1.0
*/
// Template Name: News
get_header();
View functions.php
<?php
/* MEDIA LIBRARY FILTER */
add_filter('parse_query', 'node_admin_posts_filter');
add_action('restrict_manage_posts', 'node_admin_posts_filter_restrict_manage_posts');
function node_admin_posts_filter($wp_query)
{
if (is_admin() && isset($_GET['page_id']) && $_GET['page_id'] != '')
{
$original_query = $wp_query;
View functions.php
<?php
/* MEDIA LIBRARY FILTER */
add_filter('parse_query', 'node_admin_posts_filter');
add_action('restrict_manage_posts', 'node_admin_posts_filter_restrict_manage_posts');
function node_admin_posts_filter($wp_query)
{
if (is_admin() && isset($_GET['page_id']) && $_GET['page_id'] != '')
{
$original_query = $wp_query;
View Source
var menu = '<div class="navbar navbar-inverse navbar-fixed-top"><div class="navbar-inner"><div class="container"><button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a class="brand" href=""></a><div class="nav-collapse collapse"><ul id="menu-main-menu" class="nav"><li id="menu-item-29" class="main-menu-home menu-item menu-item-type-custom menu-item-object-custom menu-item-29"><a href="">Select event</a></li>
</ul><ul class="nav visible-phone" id="subMobile"><li ><a href="" title=" 's Downloads"><i class="icon-camera icon-white"></i>'s Downloads</a></li><li id="menu-item-65" class="sub-menu-images menu-item menu-item-type-post_type menu-item-object-download menu-item-65"><a href="download=studio-ambient-images">Studio &#038; Ambient</a></li>
<li id="menu-item-64" class="sub-menu-images menu-item menu-item-type-post_type menu-item-object-download menu-item-64"><a href="d
View functions.php
<?php
// REMOVE DUPLICATE IMAGES
function print_duplicated_image_box( $post ) {
wp_nonce_field( 'remove_duplicated_nonce_action', 'remove_duplicated_nonce' ); ?>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#scan-images-duplicated, #delete-images-duplicated').click(function(e){
e.preventDefault();
var order = $(this).hasClass('scanimages') ? 'scan' : 'delete_all',