An extremely simplified greensock / tweenlite animation template to get an animation sketch started!
A Pen by dain blodorn on CodePen.
An extremely simplified greensock / tweenlite animation template to get an animation sketch started!
A Pen by dain blodorn on CodePen.
A Pen by dain blodorn on CodePen.
Basic jQuery ScrollCheck Function
A Pen by dain blodorn on CodePen.
A Pen by dain blodorn on CodePen.
Randomly animated LogoType for myself... who else?
A Pen by dain blodorn on CodePen.
Randomly animated LogoType?
A Pen by dain blodorn on CodePen.
module.exports = function ( gulp, ftp ) { | |
return function () { | |
var user = '**username**', | |
// Insert your password, host, etc | |
password = '**password**', | |
host = '**host.host**', | |
port = 21, | |
// only upload files in the theme directory | |
localFilesGlob = ['*.php' , 'css/**/*.css', 'imgs/**/*', 'js/**/*.js','style.css'], |
<?php $excludePOST = get_the_ID(); // Set a variable with the value of the current post ?> | |
<h1>Current Post: <?php echo $excludePOST; ?></h1> | |
<?php $args = array( 'posts_per_page' => 100, 'post_type' => 'foo'); query_posts($args); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<?php $currentID = get_the_ID(); // The post ID of each post to be repeated?> | |
<?php if ($currentID != $excludePOST): // Show posts other than the one we are looking at?> | |
<p>Preview Post: <?php echo $currentID; ?></p> | |
<?php endif ?> | |
<?php endwhile; ?> | |
<?php endif; ?> |
<?php if(is_singular('foo')): ?> | |
<div class="prev-next-nav"> | |
<div class="prev-post"><?php previous_post_link('%link', 'PREVIOUS') ?></div> | |
<div class="next-post"><?php next_post_link('%link', 'NEXT') ?></div> | |
</div> | |
<?php endif; ?> |
/*eslint-env node */ | |
'use strict'; | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const PATHS = { | |
app: path.join(__dirname, './public/_js/') | |
}; | |
module.exports = { | |
entry: { |