Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Post Info as Div
*
*/
function be_post_info_div( $tag, $args ) {
if( genesis_html5() )
$tag = str_replace( array( '<p', '</p>'), array( '<div', '</div>' ), $tag );
return $tag;
.custom-header .site-header { background: url(http://honestbeans.com/wp-content/uploads/2014/02/HonestBeansLogo1.png) no-repeat !important; }
@media only screen and (max-width: 650px ) {
.entry.feature img.alignleft {
float: none;
}
}
/* Headings
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
<h3 class="section">Annual Photo Galleries</h3>
<div class="one-fourth first">
<p><a href="http://master-wp.com/birdsandblooms/gallery/2013-bird-photo-challenge/"><img class="attachment-be_related wp-post-image" alt="6-24-10-century-tree" src="http://master-wp.com/birdsandblooms/wp-content/uploads/2014/02/6-24-10-century-tree-190x125.jpg" width="190" height="125" /></a></p>
<h2 class="entry-title"><a href="http://master-wp.com/birdsandblooms/gallery/2013-bird-photo-challenge/">2013 Bird Photo Challenge</a></h2>
</div>
<div class="one-fourth">
<p><a href="http://master-wp.com/birdsandblooms/gallery/2013-bird-photo-challenge/"><img class="attachment-be_related wp-post-image" alt="6-24-10-century-tree" src="http://master-wp.com/birdsandblooms/wp-content/uploads/2014/02/6-24-10-century-tree-190x125.jpg" width="190" height="125" /></a></p>
<h2 class="entry-title"><a href="http://master-wp.com/birdsandblooms/gallery/2013-bird-photo-challenge/">2013 Bird Photo Challenge</a></h2>
<?php
/**
* EA Genesis Child.
*
* @package EAGenesisChild
* @since 1.0.0
* @copyright Copyright (c) 2013, Contributors to EA Genesis Child project
* @license GPL-2.0+
*/
<?php
/**
* Blog Introduction
*
*/
function be_blog_intro() {
if( is_home() ) {
echo '<h2>Blog Introduction</h2><p>This is my blog introduction.</p>';
}
jQuery(document).ready(function($){
$('.video-play').fancybox({
padding: [ 10, 0, 0, 0 ],
width: 900,
tpl: {
closeBtn: '<div title="Close" class="fancybox-item fancybox-close">Close</div>'
}
});
<?php
/**
* EA Genesis Child.
*
* @package EAGenesisChild
* @since 1.0.0
* @copyright Copyright (c) 2013, Contributors to EA Genesis Child project
* @license GPL-2.0+
*/
.title-area {
float: left;
width: 165px;
}
h1.site-title,
p.site-title {
margin: 0;
}