Skip to content

Instantly share code, notes, and snippets.

View northernbellediaries's full-sized avatar

northernbellediaries

View GitHub Profile
@northernbellediaries
northernbellediaries / Add a post signature for multiple authors?
Created October 12, 2014 16:10
Add a post signature for multiple authors?
<?php
//* Add a post signature for multiple authors
if ( is_single() ) {
printf ('<div class="tracey-signature ' .
get_the_author_meta('user_id') . '"> </div>');
}
elseif ( is_single() ) {
printf ('<div class="cat-signature ' .
get_the_author_meta('user_id') . '"> </div>');
}
@northernbellediaries
northernbellediaries / robots.txt
Created August 1, 2015 13:14
Fixing CSS and JS permissions for robots.txt
User-agent: *
Disallow: /wp-admin/
User-agent: Googlebot
Allow: /* .js*
Allow: /* .css*