Skip to content

Instantly share code, notes, and snippets.

@dougdaulton
Created March 5, 2016 03:09

Revisions

  1. dougdaulton created this gist Mar 5, 2016.
    15 changes: 15 additions & 0 deletions functions.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    /*
    * Modify Author Archive
    */
    remove_action( 'genesis_before_loop', 'genesis_do_author_title_description', 15 );

    add_action( 'genesis_before_loop', 'sk_display_starbox', 15 );
    function sk_display_starbox() {

    if ( ! is_author() ) {
    return;
    }

    echo do_shortcode( '[starbox]' );

    }