Skip to content

Instantly share code, notes, and snippets.

View jeremyescott's full-sized avatar

Jeremy Scott jeremyescott

View GitHub Profile
@jeremyescott
jeremyescott / shortcodes_in_genesis_author_archive.php
Created March 30, 2016 23:12
Process Shortcodes in Genesis Author Meta
<?php
// Process Shortcodes from Genesis Author Meta
remove_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 );
add_action( 'genesis_before_loop', 'CUSTOM_do_author_box_archive', 15 );
// Copied from /genesis/lib/structure/archive.php:98
function CUSTOM_do_author_box_archive() {
if ( ! is_author() || get_query_var( 'paged' ) >= 2 )
return;
@jeremyescott
jeremyescott / yoast-wpseo-metabox-priority.php
Created March 18, 2016 17:45
Moves the Yoast SEO Meta Box to lower in the screen so that it doesn't fight with custom post meta, etc. Add to functions.php on theme.
<?php
add_filter( 'wpseo_metabox_priority', function() { return 'default';});
?>