This file contains hidden or 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 | |
/** | |
* Post Type Functions | |
* | |
* @package FFW | |
* @subpackage Functions | |
* @copyright Copyright (c) 2013, Fifty and Fifty | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
* @since 1.0 | |
*/ |
This file contains hidden or 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
<script> | |
function moveScroller() { | |
var move = function() { | |
var st = jQuery(window).scrollTop(); | |
var ot = jQuery("#white_bar_stop").offset().top; | |
var s = jQuery("#white_bar"); | |
if(st > ot) { | |
s.css({ |
This file contains hidden or 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 | |
/** | |
* Code block 1 | |
* This block doesn't work. Having "://" in there makes this not work at all. | |
*/ | |
$vimeo_id = 72170966; //Example ID. | |
$hash = unserialize(file_get_contents("https://vimeo.com/api/v2/video/$vimeo_id.php")); //Parses JSON to get Video info | |
$vimeo_thumb = $hash[0]['thumbnail_small']; //this ends up being http://secure-b.vimeocdn.com/ts/153/182/15318283_100.jpg |
NewerOlder