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
/* RESPONSIVE IFRAME GIST | |
--------------------- | |
Useful Links: | |
Responsive Embeds: http://amobil.se/2011/11/responsive-embeds/ | |
Creating Intrinsic Ratios for Video: http://alistapart.com/article/creating-intrinsic-ratios-for-video */ | |
/* STEP 1: Grab the Embed. Go to https://docs.google.com/viewer and paste in URL to the document. looks like below:*/ | |
<iframe src="http://docs.google.com/viewer?url=ueab.ac.ke%2Fdownloads%2Ffinal-bulletin-2013.pdf&embedded=true" width="600" height="780" style="border: none;"></iframe> |
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
/** To use a separate single post template for each category, you will need to add the following function in your functions.php: **/ | |
/** | |
* Define a constant path to our single template folder | |
*/ | |
define(SINGLE_PATH, TEMPLATEPATH . '/single'); | |
/** | |
* Filter the single_template with our custom function | |
*/ |
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
<html> | |
<head> | |
</head> | |
<body class style=""height: 100%> | |
<div class="container"><!-- The Main Container --> | |
<div id="topbar" class="clearfix"><!-- The Topbar --> | |
<div id="search"><!-- Search Panel --> | |
Search Area -> Quick Links |
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
<link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet"> | |
<div> | |
<a class="button one"><i class="icon-facebook"></i> | |
<a class="button one"><i class="icon-twitter"></i> | |
<a class="button one"><i class="icon-linkedin"></i> | |
<a class="button one"><i class="icon-pinterest"></i> | |
<a class="button one"><i class="icon-google-plus"></i></a> | |
</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
<link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet"> | |
<div> | |
<a class="button one"><i class="icon-facebook"></i> | |
<a class="button one"><i class="icon-twitter"></i> | |
<a class="button one"><i class="icon-linkedin"></i> | |
<a class="button one"><i class="icon-pinterest"></i> | |
<a class="button one"><i class="icon-google-plus"></i></a> | |
</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
<link href='http://fonts.googleapis.com/css?family=Lato:400,300' rel='stylesheet' type='text/css'> | |
<div id="wrapper"> | |
<div id="list"> | |
<div class="item" id="primeiro" style="height: 14em;"> | |
<p class="titulo">Winterfell</p> | |
</div> | |
<div class="item" id="segundo" style="height: 26em;"> | |
<p class="titulo">Jon Snow</p> | |
</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
<!-- RIBBON 1 --> | |
<div class="container one"> | |
<div class="bk l"> | |
<div class="arrow top"></div> | |
<div class="arrow bottom"></div> | |
</div> | |
<div class="skew l"></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
<?php /*Add the code below to the genesis_before_post_content Hook */ | |
<div class="post-info"> | |
<span class="time"> | |
<?php /*Code courtesy of WP Beginner: http://goo.gl/3512D and Studiopress: http://goo.gl/72Qbx*/ ?> | |
<?php $u_time = get_the_time('U'); | |
$u_modified_time = get_the_modified_time('U'); | |
if ($u_modified_time >= $u_time + 86400) { | |
echo "Last modified on "; | |
the_modified_time('F jS, Y'); |
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 | |
/*** Change default comment text in StudioPress Genesis Courtesy of WP Snacks: http://goo.gl/Dp8Lv**/ | |
function change_default_comment_text($args) { | |
$args['title_reply'] = 'Have your Say'; | |
return $args; | |
} | |
add_filter( 'genesis_comment_form_args', 'change_default_comment_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
/**Place in Functions.php | |
// move comment box above comments | |
remove_action('genesis_comment_form', 'genesis_do_comment_form'); | |
add_action( 'genesis_before_comments', 'genesis_do_comment_form'); |
OlderNewer