• hello everybody!

    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 😉

Viewing 1 replies (of 1 total)
  • Thread Starter manuelfnavas

    (@manuelfnavas)

    If somebody is interested I “semi-resolved” the issue I use this sentence in content.php
    <header class="entry-header"><?php echo '<div class="entry-format">'.get_post_format_string(get_post_format(get_the_ID())).'</div>'; ?>

    Everything works ok, but standard post-type doesn’t show in single post. ¿Anyone could help me?

    Thanks in advance

Viewing 1 replies (of 1 total)
  • The topic ‘adding post type in entry header…standard posts???’ is closed to new replies.