Technology

How to get the Category Name, Date and Tags in WordPress

When build custom templates in WordPress sometimes you may need to manually add category name and tags directly in the php file. The code below will help you accomplish this task.

To manually get the category name and tags of a wordpress post below:

How to get the category name and tags of a wordpress post code::

<?php the_category(', '); ?>
<?php the_tags('<em>:</em>', ', ', ''); ?>
<?php echo get_the_date('F j, Y');?>
Like what your see, Follow Us on Social Media
About the author

Code for the Culture

Code for the Culture is a company that specializes in merging the concepts hip hop, design, and technology. Our online resource focused on displaying the most up to date new and golden age hip hop, art/design, and technology. Much about Code for the Culture is through our development and design parent company CodeCuz (Learn more about CodeCuz)

Leave a Reply

Your email address will not be published. Required fields are marked *