WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Featured Widget Amplified
[resolved] Hooks in Genesis Featured Widget Advanced (2 posts)

  1. nikcree
    Member
    Posted 1 year ago #

    I added the following to my functions.php in a Genesis Child Theme:

    add_action('gfwa_before_post_content', 'illuminez_gwfa_content_wrap')
    function illuminez_gwfa_content_wrap() {
    	echo '<div class="post-wrap">';
    }
    
    add_action('gfwa_after_post_content', 'illuminez_gwfa_close_content_wrap')
    function illuminez_gwfa_close_content_wrap() {
    	echo '</div> <!-- end .post-wrap -->';
    }

    but just had returned a blank page. Is this correct or have I done something wrong? Many thanks

    Nik

    http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/

  2. nikcree
    Member
    Posted 1 year ago #

    Duh...left of 2 ';'s didn't I. All solved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic