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
// Remember to load jQuery & Galleria.Js | |
<script> | |
// Load the classic theme | |
Galleria.loadTheme('galleria.classic.js'); | |
// Initialize Galleria | |
Galleria.run('#galleria', { |
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
<span class="post-date"><?php the_time(__('d/m/Y')) ?></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
<?php if ( has_post_thumbnail() ) :?> | |
<a href="<?php the_permalink() ?>" class="thumb"><?php the_post_thumbnail('thumbnail', array( | |
'alt' => trim(strip_tags( $post->post_title )), | |
'title' => trim(strip_tags( $post->post_title )), | |
)); ?></a> | |
<?php endif; ?> |
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
//Adding the Open Graph in the Language Attributes - functions.php | |
function add_opengraph_doctype( $output ) { | |
return $output . ' xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"'; | |
} | |
add_filter('language_attributes', 'add_opengraph_doctype'); | |
//Lets add Open Graph Meta Info | |
function insert_fb_in_head() { |
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
@font-face { | |
font-family: 'ModernNo.20Regular'; | |
src: url('../fonts/mod20-webfont.eot'); | |
src: url('../fonts/mod20-webfont.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/mod20-webfont.woff') format('woff'), | |
url('../fonts/mod20-webfont.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} |
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 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&appId=224015364350232"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
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
.icon-facebook { | |
background-position: -50px 0; | |
width: 20px; | |
height: 19px; | |
position: relative; | |
text-indent: -9999px; | |
display: inline-block; | |
} | |
.icon-facebook:after{ | |
background: url("images/sprites/sprite-icons.png") no-repeat scroll -75px 0 transparent; |
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
<!doctype html> | |
<header> </header> | |
<body> | |
<span style="float:left;"> | |
<label for="id1">label1:</label> | |
<input type="text" id="id1"/><br> |
OlderNewer