Adding Additional Widget on Under This Plugin
-
I’d like to add an additional widget (for ex, eNews Extended) below the plugin. I wrote the following code but it doesn’t show on the blog page.
genesis_register_sidebar( array(
‘id’ => ‘after-teaser’,
‘name’ => __( ‘After Teaser Widget’, ‘wpsites’ ),
‘description’ => __( ‘This is the before post widget area on the blog page only.’, ‘wpsites’ ),
) );add_action( ‘genesis_after_content’, ‘leaguewp_after_teaser_widget’ ); //* Tying the Widget After the Pagination
function leaguewp_after_teaser_widget() {
if ( is_page( ‘280’ ) )
genesis_widget_area( ‘after-teaser’, array(
‘before’ => ‘<div class=”after-teaser widget-area”>’,
‘after’ => ‘</div>’,
));}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding Additional Widget on Under This Plugin’ is closed to new replies.