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
/** | |
* Sanitize a string for use in URLs and filenames | |
* | |
* @since 1.7 | |
* @link http://stackoverflow.com/questions/2668854/sanitizing-strings-to-make-them-url-and-filename-safe | |
* | |
* @param string $string The string to be sanitized | |
* @param bool $force_lowercase True to force all characters to lowercase | |
* @param bool $anal True to scrub all non-alphanumeric characters | |
* @return string $clean The cleaned string |
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
<!-- Start of Brightcove Player --> | |
<div style="display:none"> | |
</div> | |
<div id="thePlayer"> | |
<!-- | |
By use of this code snippet, I agree to the Brightcove Publisher T and C | |
found at https://accounts.brightcove.com/en/terms-and-conditions/. | |
--> |
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 class="pullquote" style="width:150px;float:right;padding:6px;margin-left:6px;margin-right:6px;border-left:1px solid black;font-weight:bold;"> The only downside of the memory system, the STM in particular, is that it can sometimes be too much. The limited inventory encourages some tactical thinking, but when a puzzle is stumping you (and they will stump you) the ability to potentially bring every available object in the game into a conversation can feel overwhelming. </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
//Set the function up to receive any custom excerpt set by the user. | |
function a_killer_excerpt( $text ) { | |
//We'll be using the post object, so we need to call the global object down to play with later. | |
global $post; | |
//This if loop makes it so it will only display this modified excerpt if the user hasn't manually set one. | |
if ( '' == $text ) { | |
//Get the full content of the post. | |
$text = get_the_content(''); | |
//Apply all the_content's standard filters. | |
$text = apply_filters('the_content', $text); |
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
//* VERSION 1.0 REV A **// | |
//* TITLE Bootstrap Tumblr **// | |
//* DESCRIPTION Gives the dashboard 2 responsive columns. Great for wide screens. **// | |
//* DEVELOPER Aram Zucker-Scharff **// | |
var jQ = jQuery.noConflict(); | |
jQuery(document).ready(function() { | |
/** | |
* jQuery Masonry v2.1.08 | |
* A dynamic layout plugin for jQuery | |
* The flip-side of CSS Floats |
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 | |
?> | |
<script async src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php the_permalink(); ?>" show_faces="false" width="349" action="recommend" data-colorscheme="light" font=""></fb:like> | |
<a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-count="horizontal" data-via="Chronotope">Tweet</a><script async type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> | |
<su:badge layout="2" location="<?php the_permalink(); ?>"></su:badge> | |
<g:plusone size="medium" href="<?php the_permalink(); ?>"></g:plusone> |