тег h1
-
<?php get_header(); ?> <div id="sidebar-center" class="origamiez-size-01 pull-left"> <?php get_template_part( 'parts/breadcrumb' ); ?> <?php if ( have_posts() ) : ?> <div class="clearfix"></div> <div id="sidebar-center-bottom" class="row clearfix"> <?php while ( have_posts() ) : the_post(); ?> <article id="origamiez-post-wrap" <?php post_class( 'clearfix' ); ?>> <h1 class="entry-title" style="display: none;"><?php the_title(); ?></h1> <div class="entry-content"> <?php the_content(); ?> </div> <?php wp_link_pages(array( 'before' => '<div id="origamiez_singular_pagination" class="clearfix">', 'after' => '</div>', 'next_or_number' => 'next', 'separator' => ' . ', 'nextpagelink' => esc_attr__( 'Next', 'origamiez' ), 'previouspagelink' => esc_attr__( 'Previous', 'origamiez' ), )); ?> </article> <?php comments_template(); ?> <?php endwhile; ?> </div> <?php else : get_template_part( 'content', 'none' ); endif; ?> </div> <?php get_sidebar( 'right' ); ?> <div class="clearfix"></div> <?php $footer_number_of_cols = (int) get_theme_mod( 'footer_number_of_cols', 5 ); get_footer( $footer_number_of_cols );
Можно ли в данном коде поменять следующую строчку:
<h1 class="entry-title" style="display: none;"><?php the_title(); ?></h1>
на вот такую:
<h1 class="title"><?php the_title(); ?></h1>
будет ли все работать исправно?
Просмотр 3 ответов — с 1 по 3 (всего 3)
Просмотр 3 ответов — с 1 по 3 (всего 3)
- Тема «тег h1» закрыта для новых ответов.