Skip to content

Instantly share code, notes, and snippets.

View kriot1's full-sized avatar

Katrina kriot1

View GitHub Profile
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Karla::latin', 'Montserrat::latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
@kriot1
kriot1 / sexnerd.html
Last active October 31, 2019 23:31
sexnerd numbnut embed code
<iframe allowfullscreen src='http://sexnerdpod.com/?attachment_id=137&kgvid_video_embed[enable]=true' frameborder='0' scrolling='no' width='640' height='360'></iframe>
@kriot1
kriot1 / affiliate.css
Last active October 22, 2018 20:30
Affiliate Disclaimer
.affiliate_disclaimer {
background: #f5f5f;
color: #000;
border-radius: 3px;
margin: 0 2px 20px;
padding: 10px 20px;
}
<span class="hello">Hello!</span>
<span class="intro">your text here</span>
/* Keeping Twitter Icon */
.entry-title:before,
.widget-title:before,
.sidebar .featured-content .entry-title:before {
display:none;
}
/* All Icons Removed */
.entry-title:before,
.widget-title:before,
@kriot1
kriot1 / five-colums
Last active July 31, 2017 20:53
Column Classes via Genesis
<div class="one-fifth first">
This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind.
</div>
<div class="one-fifth">
This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind.
</div>
<div class="one-fifth">
This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind
</div>
<div class="one-fifth">
//* Hook before header widget area before site header
add_action( 'genesis_before_header', 'before_header_widget_area' );
function before_header_widget_area() {
genesis_widget_area( 'before-header', array(
'before' => '<div class="before-header widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Lato|Open+Sans">
<a class="button" href="http://yourawesomelinkhere.com">Text<a>