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
/*#-webkit-web-inspector .script-view, | |
#-webkit-web-inspector .text-editor-contents,*/ | |
#-webkit-web-inspector #elements-content { | |
/*#-webkit-web-inspector .sidebar, | |
#-webkit-web-inspector .sidebar-overlay {*/ | |
font-size: 14px !important; | |
} | |
#-webkit-web-inspector li.hovered:not(.selected) .selection { | |
border-radius: 0 !important; |
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 | |
// [caption]content[/caption] | |
function caption_shortcode( $atts, $content = null ) { | |
extract( shortcode_atts( array( | |
'class' => 'caption', | |
), $atts ) ); | |
return '<span class="' . esc_attr($class) . '">' . $content . '</span>'; | |
} |
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
/* Transparent PNG image black border removal */ | |
img { | |
background: transparent; | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; // IE8 | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); // IE6 + 7 | |
zoom: 1; | |
} |
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
# Block access to .ht* files | |
<Files ~ "^.*\.([Hh][Tt][Aa])"> | |
order allow,deny | |
deny from all | |
satisfy all | |
</Files> |
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
<!-- from http://forums.anchorcms.com/discussion/spam-prevention-for-comments#post-1882 --> | |
<script type="text/javascript">/* <![CDATA[ */ document.write('<input type="hidden" name="captcha" id="captcha" value="P' + 'R' + 'O' + 'T' + 'E' + 'C' + 'T" />'); /* ]]> */ </script> <noscript> <label for="captcha">Antispam: "<em>PROTECTED</em>"</label> <input id="captcha" name="captcha" value="" class="input"/> </noscript> |
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
<!-- general Open Graph metas --> | |
<meta property="og:image" content="/img/.."/> | |
<meta property="og:title" content="Title"/> | |
<meta property="og:site_name" content="Title"/> | |
<meta property="og:url" content="http://website.com/"/> | |
<meta property="og:type" content="blog"/> |
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
/** | |
* Get Twitter Feed | |
* Based on codes from http://www.webdevdoor.com/javascript-ajax/custom-twitter-feed-integration-jquery/ | |
* Author: Charlie Chao | |
*/ | |
$(function() { | |
var twitterFeed = (function() { | |
var options = { | |
user: 'twitter', // Twitter screen name |
NewerOlder