Не работает при использовании HTML
-
<ul id="tabs" class="tabs"> <li><a href="#tab-1">1-местный</a></li> <li><a href="#tab-2">2-местный</a></li> <li><a href="#tab-3">2-местный (улучш.)</a></li> <li><a href="#tab-4">3-местный</a></li> <li><a href="#tab-5">4-местный</a></li> <section id="tab-1" class="tab active"> <?php query_posts('page_id=119' ); if ( have_posts() ) : while ( have_posts() ) : the_post();?> <?php the_content(''); ?> <?php endwhile; else: endif; wp_reset_query(); ?> </section><section id="tab-2" class="tab"> <?php query_posts('page_id=120' ); if ( have_posts() ) : while ( have_posts() ) : the_post();?> <?php the_content(''); ?> <?php endwhile; else: endif; wp_reset_query(); ?> </section><section id="tab-3" class="tab"> <?php query_posts('page_id=121' ); if ( have_posts() ) : while ( have_posts() ) : the_post();?> <?php the_content(''); ?> <?php endwhile; else: endif; wp_reset_query(); ?> </section><section id="tab-4" class="tab"> <?php query_posts('page_id=122' ); if ( have_posts() ) : while ( have_posts() ) : the_post();?> <?php the_content(''); ?> <?php endwhile; else: endif; wp_reset_query(); ?> </section><section id="tab-5" class="tab"> <?php query_posts('page_id=123' ); if ( have_posts() ) : while ( have_posts() ) : the_post();?> <?php the_content(''); ?> <?php endwhile; else: endif; wp_reset_query(); ?> </section>
Что не так???
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Не работает при использовании HTML’ is closed to new replies.