Skip to content

Instantly share code, notes, and snippets.

View andornagy's full-sized avatar

Andor Nagy andornagy

View GitHub Profile
1.1.0 - Remove Custom Home Page Keywords
- Fixed overflowing images
- Removed WP AutoUpdate Checker ( since wordpress.org has it's own. )
- Added Archive.php
- Removed Custom Header
- Removed Custom CSS from the options page
- Added Official custom CSS support
- Removed Custom Widgets
1.0.9 - Added Pages Widget
anonymous
anonymous / fix.php
Created March 31, 2013 05:43
Fix Sticky Nav Menu in Genesis
<?php
function move_admin_bar() {
echo '<style type="text/css">
#subnav { top: 28px; }
</style>';
}
@donovanh
donovanh / Animation & text mixins
Created April 20, 2013 16:56
Mixins for SASS including: - Animation - Keyframes - Text fill/stroke
/* Mixins to extend what Compass provides */
=animation($values...)
-webkit-animation: $values
-moz-animation: $values
-o-animation: $values
-ms-animation: $values
animation: $values
=keyframes($name)
function display_category_archives_description () {
if (is_category() ) {
echo category_description( $category-id );
}}
add_action( 'genesis_before_loop', 'display_category_archives_description');
/**
* @author Brad Dalton - WP Sites
*
* @link http://wpsites.net/web-design/display-image-on-all-category-pages/
*/
@rickrduncan
rickrduncan / oembed-gist.php
Last active October 3, 2019 04:34
A quick fix to this plugin: http://wordpress.org/plugins/oembed-gist/. Line 57, 61 & 69 were changed to rename the variable from 'gist' to 'oe-gist.' Line 79 was edited to add isset() to stop the error I was getting while testing.
<?php
/*
Plugin Name: oEmbed Gist
Plugin URI: http://firegoby.jp/wp/oembed-gist
Description: Embed source from gist.github.
Author: Takayuki Miyauchi
Version: 1.4.0
Author URI: http://firegoby.jp/
*/