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
RewriteRule ^folder/(.*)$ http://domain.com/$1 [R=301,NC,L] |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 ( has_post_thumbnail() ) { | |
the_post_thumbnail(); | |
} else { | |
echo '<img src="'; |
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(); ?> |
OlderNewer