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

Tagged: 

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

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

    pepacobos
    Participant
    Post count: 2

    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…

    http://www.asmologia.com
    #99653

    Susan
    Moderator
    Post count: 8974

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


    Susan @ Graphically Designing 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.