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 # -*- coding: utf-8 -*- | |
/** | |
* Plugin Name: T5 Toolbar hooks | |
* Description: Adds a toolbar item with the current page hooks. | |
* Version: 2012.06.19 | |
* Author: Thomas Scholz <[email protected]> | |
* Author URI: http://toscho.de | |
* License: MIT | |
* License URI: http://www.opensource.org/licenses/mit-license.php | |
*/ |
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
/* !-------- WORDPRESS CLASSES ------------------- */ | |
/*------------------------------------------------------------ *\ | |
\*------------------------------------------------------------ */ | |
/* !-- WP WYSIWYG Editor Styles -- */ | |
.entry-content img { | |
margin: 0 0 1.5em 0; | |
} | |
.alignleft, img.alignleft { | |
margin-right: 1.5em; |
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
function shortcode_empty_paragraph_fix($content) | |
{ | |
$array = array ( | |
'<p>[' => '[', | |
']</p>' => ']', | |
']<br />' => ']' | |
); | |
$content = strtr($content, $array); |
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
.ti { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
/* this is just the text-indent, no width, no height, no background image */ |
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
/* !-------- REMOVE UNNECESSARY HEADLINKS ------------------- */ | |
/*------------------------------------------------------------ */ | |
function bb_remove_headlinks() { | |
// remove simple discovery link | |
remove_action('wp_head', 'rsd_link'); | |
// remove windows live writer link | |
remove_action('wp_head', 'wlwmanifest_link'); | |
// remove the version number | |
remove_action('wp_head', 'wp_generator'); | |
remove_action('wp_head', 'start_post_rel_link'); |
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 | |
/** | |
* @package RedRokk | |
* @version 1.0.0 | |
* | |
* Plugin Name: Empty Widget | |
* Description: Single Widget Class handles all of the widget responsibility, all that you need to do is create the html. Just use Find/Replace on the Empty_Widget keyword to rebrand this class for your needs. | |
* Author: RedRokk Interactive Media | |
* Version: 1.0.0 | |
* Author URI: http://www.redrokk.com |
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
/* !-------- BODY-TAG BROWSER CLASSES ------------------- */ | |
/*------------------------------------------------------------ */ | |
function bb_browser_class($classes) { | |
global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone; | |
if($is_lynx) $classes[] = 'browser-lynx'; | |
elseif($is_gecko) $classes[] = 'browser-gecko'; | |
elseif($is_opera) $classes[] = 'browser-opera'; | |
elseif($is_NS4) $classes[] = 'browser-ns4'; | |
elseif($is_safari) $classes[] = 'browser-safari'; |
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 | |
/* !-------- CUSTOM POST TYPE ------------------- */ | |
/*------------------------------------------------------------ */ | |
/** | |
* This is a Template for a Custom Post Type, in this case a Slider Image Post Type. | |
* I use this Post Type for Slideshows like Flexslider. | |
* Copy this file and/or customize it for you needs. | |
*/ |
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
/* CLEARING | |
============================================================================ */ | |
/* Self Clearing Goodness */ | |
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } | |
/* Use clearfix class on parent to clear nested columns, | |
or wrap each row of columns in a <div class="row"> */ | |
.clearfix:before, | |
.clearfix:after, | |
.row:before, |
NewerOlder