Din index.php in bucla while(have_posts) scoti the_content()
Din index.php in bucla while(have_posts) scoti the_content()
Signatura lipsa
Dac-as avea... Poate e vreun "sinonim" a ce-mi spui tu pe aici prin cod.
Cod:get_header(); // Loads the header.php template. ?> <?php do_atomic( 'before_content' ); // path_before_content ?> <div id="content"> <?php do_atomic( 'open_content' ); // path_open_content ?> <div class="hfeed"> <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', ( post_type_supports( get_post_type(), 'post-formats' ) ? get_post_format() : get_post_type() ) ); ?> <?php if ( is_singular() ) { ?> <?php do_atomic( 'after_singular' ); // path_after_singular ?> <?php get_sidebar( 'after-singular' ); // Loads the sidebar-after-singular.php template. ?> <?php comments_template( '/comments.php', true ); // Loads the comments.php template. ?> <?php } ?> <?php endwhile; ?> <?php else : ?> <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?> <?php endif; ?> </div><!-- .hfeed --> <?php do_atomic( 'close_content' ); // path_close_content ?> <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?> </div><!-- #content --> <?php do_atomic( 'after_content' ); // path_after_content ?> <?php get_footer(); // Loads the footer.php template. ?>
Momentan este/sunt 1 utilizator(i) care navighează în acest subiect. (0 membrii și 1 vizitatori)