I wanted to add a little “header” y all posts with the type of post. So that way, I used this functions in content.php
<header class="entry-header"><?php echo '<div class="entry-format">'.get_post_format(get_the_ID()).'</div>'; ?>
Everything works ok! I styled each post title with css
But, the only one not appear is standard post type. Anyone knows how get appear standard type too in entry-header???
Thanks in advance 😉
- The topic ‘adding post type in entry header…standard posts???’ is closed to new replies.