• laudes90

    (@laudes90)


    Hello,

    I am making my homepage an static page called front-page.php.
    The thing is I remove the original loop:

    remove_action('genesis_loop','genesis_do_loop');
    add_action('genesis_loop','be_home_loop');

    And I made my own home loop:

    function be_home_loop(){
    	echo '<div class="content-slider">';
    		while(have_posts()): the_post();
    
    			the_content();
    		endwhile;
    	echo '</div>';
    }

    But then is not showing nothing. Any suggestion?

    Thank’s

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

The topic ‘The loop not showing any post’ is closed to new replies.