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
<!-- New HTML5 FB Comments --> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; | |
fjs.parentNode.insertBefore(js, fjs); |
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
I needed to create some faux small caps that were only slightly smaller than the full cap. Font-variant was too drastic so instead I wrapped each word in a <span> set the span to inline-block and used :first-letter to increase the font-size of the first letter in each word. |
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
/** | |
* Horizontal Type Line Behind Text | |
* Inspired by this discussion @ CSS-Tricks: http://css-tricks.com/forums/discussion/comment/51357#Comment_51357 | |
* Available on jsFiddle: http://jsfiddle.net/ericrasch/jAXXA/ | |
* Available on Dabblet: http://dabblet.com/gist/2045198 | |
* Available on GitHub Gist: https://gist.github.com/2045198 | |
*/ | |
h2 { | |
font: 33px sans-serif; |
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
<h1> | |
This is the primary heading and there should only be one of these per page | |
</h1> | |
<p> | |
A small paragraph to <em>emphasis</em> and show <strong>important</strong> bits. | |
</p> | |
<ul> | |
<li>This is a list item | |
</li> | |
<li>So is this - there could be more |
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
// important: note the priority of 99, the js needs to be placed after tinymce loads | |
// important: note that this assumes you're using http://wordpress.org/extend/plugins/verve-meta-boxes/ | |
// to create the textarea - otherwise change your selector | |
function admin_add_wysiwyg_custom_field_textarea() | |
{ ?> | |
<script type="text/javascript">/* <![CDATA[ */ | |
jQuery(function($){ | |
var i=1; | |
$('.verve_meta_box_content textarea').each(function(e) |
NewerOlder