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 get_header(); ?> | |
<div id="content"> | |
<h1 class="noLine">Work</h1> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div id="singleWork"> | |
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 | |
// Page Template Name: Work | |
?> | |
<?php get_header(); ?> | |
<div id="content"> | |
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 | |
// Page Template Name: Culture / People | |
?> | |
<?php get_header(); ?> | |
<div id="content"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
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
<html> | |
<head> | |
<title>Random Numbers!</title> | |
</head> | |
<body> | |
<?php | |
//Random Numbers Script |
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 | |
if(is_page()) | |
{ | |
//Assuming current working page is the parent | |
// | |
$the_parent_id = $post->ID; | |
//Otherwise get the greatest ancestor id | |
// |
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
<section class="flexslider-sidebar"> | |
<ul class="slides"> | |
<?php $args=array( | |
'post_type' => 'platinum_logos', | |
'posts_per_page' => 4, | |
'orderby' => 'rand' |
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
//Closes interceptor | |
// | |
$('.btn-close-interceptor').click( | |
function() | |
{ | |
$('#link-interceptor-container').bPopup().close(); | |
}); | |
//Intercepts all anchor clicks | |
// |
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
//Closes interceptor | |
// | |
$('.btn-close-interceptor').click( | |
function() | |
{ | |
$('#link-interceptor-container').bPopup().close(); | |
}); | |
//Intercepts all anchor clicks | |
// |
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
<div id="link-interceptor-container"> | |
<div class="close-interceptor"> | |
<div class="btn-close-interceptor">Close</div> | |
</div> | |
<div id="link-interceptor-content"></div> | |
</div> | |
<script type="text" id="tpl-interceptor"> | |
<h2>You Are Leaving Domain.com</h2> | |
<div> |
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 if ( is_page('slug') ) { // only executes on this page ?> | |
<script type="text/javascript"> | |
function gform_format_option_label(fullLabel, fieldLabel, priceLabel, selectedPrice, price, formId, fieldId) | |
{ | |
// Only for field with ID of 5 | |
if (fieldId == 5) | |
// Disable option pricing. Simply return the field label. | |
// This removes the price differentials in the drop down | |
return fieldLabel; | |
} |
OlderNewer