DevDmBootstrap4

Twitter Bootstrap 4 WordPress Starter Theme for Developers

Theme File: postmeta-footer.php

Name: postmeta-footer.php

Path: devdmbootstrap4/template-parts/postmeta-footer.php

Source: https://github.com/dannymachal/devdmbootstrap4/blob/master/template-parts/postmeta-footer.php

A template part used in our main post loops: index.php, archive.php and single.php. We check for and display post categories and tags.

<div class="dmbs-post-meta-footer">

    <?php if( has_category() ) : ?>
        <div class="dmbs-post-meta-categories">
            <?php echo esc_html('Posted in ','devdmbootstrap4'); the_category(', '); ?>
        </div>
    <?php endif; ?>

    <?php if( has_tag() ) : ?>
        <div class="dmbs-post-meta-tags">
            <span class="fa fa-tags"></span> <?php the_tags(); ?>
        </div>
    <?php endif; ?>

</div>
  • Dev Updates?

    Follow DevDmBootstrap4 Theme development with email updates.

  • Recent Posts

  • Recent Comments

  • Archives

  • Categories

  • Meta