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
function get_capabilities($cap = false){ | |
# Get the WP_Roles object. | |
global $wp_roles; | |
# Set up array for storage. | |
$role_reversal = array(); | |
# Walk through the roles object by role and get capabilities. | |
foreach ($wp_roles->roles as $role_slug=>$role_set){ | |
foreach ($role_set['capabilities'] as $capability=>$cap_bool){ | |
# Don't store a capability if it is false for the role (though none are). |
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> |
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 a safe string for custom variables or event tracking for Google Analytics. | |
*/ | |
function get_for_google_analytics($string){ | |
$string = strip_tags($string); | |
$string = remove_accents( html_entity_decode($string) ); | |
$safe_string = esc_js( $string ); | |
return $safe_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
<?php | |
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Check for mod_rewrite</title></head> | |
<body> | |
Test: |
OlderNewer