Adding widget in News Pro Front Page

Community Forums Forums Design Tips and Tricks Adding widget in News Pro Front Page

This topic is: not resolved


This topic contains 1 reply, has 2 voices, and was last updated by  Susan 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #87787


    Hi, I would like to add two widgets in the front page bottom. The theme has only one and I want two side by side (as the middle ones). I have so far registered the new widget area and it appears ok. I have change the front-page.php and added this instead the formar function for bottom widget:

    function news_homepage_bottom_widgets() {
    	if ( is_active_sidebar( 'home-bottom-left' ) || is_active_sidebar( 'home-bottom-right' ) ) {
    		echo '<div class="home-bottom2">';
    		genesis_widget_area( 'home-bottom-left', array(
    			'before' => '<div class="home-bottom-left widget-area">',
    			'after'  => '</div>',
    		) );
    		genesis_widget_area( 'home-bottom-right', array(
    			'before' => '<div class="home-bottom-right widget-area">',
    			'after'  => '</div>',
    		) );
    		echo '</div>';

    I have added the CSS too but nothing appears in that part of the page when I add some content. Any ideas about what could be happening?
    Thanks so much!! It driving me crazy…


    I hope you were able to get your issue resolved. If not, please check back in, and I can escalate for you. Thanks!

    Susan @ One Happy Studio I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.