Split _s_posted_on into two functions
This commit is contained in:
parent
ff6cc41087
commit
2d74ebd7c9
3 changed files with 20 additions and 4 deletions
|
@ -15,7 +15,10 @@
|
|||
|
||||
<?php if ( 'post' === get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php _s_posted_on(); ?>
|
||||
<?php
|
||||
_s_posted_on();
|
||||
_s_posted_by();
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
|
||||
if ( 'post' === get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php _s_posted_on(); ?>
|
||||
<?php
|
||||
_s_posted_on();
|
||||
_s_posted_by();
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php
|
||||
endif; ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue