Twitter Bootstrap 4 WordPress Starter Theme for Developers

Theme File: postmeta-footer.php

Name: postmeta-footer.php

Path: devdmbootstrap4/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(', '); ?>
    <?php endif; ?>

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