logical approach to function parameters for markup
This commit is contained in:
parent
0d45a9df7a
commit
c89d030c6b
3 changed files with 6 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
@ -20,5 +20,7 @@
|
|||
) );
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php edit_post_link( __( 'Edit', '_s' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
|
||||
<footer class="entry-footer">
|
||||
<?php edit_post_link( __( 'Edit', '_s' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue