Md Mehedi Hasan

single_cat_title() | single_tag_title()

    <h1>Posts Under
        <?php single_tag_title(); ?>
    </h1>
<h1>Posts Under
    <?php single_cat_title(); ?>
</h1>