Skip to content

Instantly share code, notes, and snippets.

/* Column Classes
--------------------------------------------- */
.five-sixths,
.four-sixths,
.four-fifths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
@osalcedo
osalcedo / Genesis Google Tag Manager
Last active August 29, 2015 14:18
Genesis Google Tag Manager
add_action('genesis_before', 'es_google_tag_manager');
function es_google_tag_manager() { ?>
<!-- Start Google Tag Manager Code -->
<!-- End Google Tag Manager Code -->
<?php
@osalcedo
osalcedo / Genesis Favicon - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Custom Favicon for Genesis Themes - FUNCTIONS.PHP
/** Favicon **/
add_filter( 'genesis_pre_load_favicon', 'eline_favicon_filter' );
function es_favicon_filter( $favicon_url ) {
return $url = site_url('/wp-content/images/favicon.ico');
}
@osalcedo
osalcedo / Genesis Footer Credits - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Custom Footer Credits for Genesis Themes - FUNCTIONS.PHP
@osalcedo
osalcedo / Admin Footer Credits - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Custom Admin Footer Credits - FUNCTIONS.PHP
@osalcedo
osalcedo / Admin Bar Hello Greeting - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Custom Admin Bar Hello Greeting - FUNCTIONS.PHP
/** Admin Bar Hello Greeting **/
add_filter( 'admin_bar_menu', 'eline_howdy_to_hello', 25 );
function eline_howdy_to_hello( $wp_admin_bar ) {
$my_account = $wp_admin_bar->get_node('my-account');
$newtitle = str_replace( 'Howdy,', 'Welcome,', $my_account->title );
$wp_admin_bar->add_node( array(
'id' => 'my-account',
'title' => $newtitle,
));
}
@osalcedo
osalcedo / Remove Admin Bar Logo - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Remove Admin Bar Logo - FUNCTIONS.PHP
/** Remove Admin Bar Logo **/
function eline_admin_bar_remove() {
global $wp_admin_bar;
/* Remove WP Menu */
$wp_admin_bar->remove_menu('wp-logo');
}
add_action('wp_before_admin_bar_render', 'eline_admin_bar_remove', 0);
@osalcedo
osalcedo / Genesis Footer Navigation Menu - FUNCTIONS.PHP
Last active August 29, 2015 14:18
Custom Footer Navigation Menu for Genesis Themes - FUNCTIONS.PHP

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@osalcedo
osalcedo / border-image - CSS
Last active August 29, 2015 14:19
CSS snippet for border-image property
p {
border-style: solid;
border-width: 0px 0px 0px 15px;
-moz-border-image: url(http://border-image.png) 0 0 0 15 repeat;
-webkit-border-image: url(http://border-image.png) 0 0 0 15 repeat;
-o-border-image: url(http://border-image.png) 0 0 0 15 repeat;
border-image: url(http://border-image.png) 0 0 0 15 repeat;
}