{"id":21834,"date":"2017-10-09T22:53:56","date_gmt":"2017-10-09T15:53:56","guid":{"rendered":"http:\/\/tom.ji42.com\/?p=21834"},"modified":"2017-10-09T22:53:56","modified_gmt":"2017-10-09T15:53:56","slug":"how-to-display-blog-post-meta-data-in-your-wordpress-themes","status":"publish","type":"post","link":"https:\/\/tom.tomwork.net\/?p=21834","title":{"rendered":"How to Display Blog Post Meta Data in Your WordPress Themes"},"content":{"rendered":"<p>Do you want to learn how to display post meta data in WordPress blog posts? Post meta data are relevant information about your blog post such as published date, category, author name, etc. In this article, we will show you how to display post meta data in WordPress posts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45863\" title=\"Displaying post meta data in WordPress\" src=\"http:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2017\/08\/postmetawp.png\" alt=\"Displaying post meta data in WordPress\" width=\"550\" height=\"340\" \/><\/p>\n<h4>What is Post Meta Data in WordPress?<\/h4>\n<p>Post meta data is information about a post that is not part of the actual content. This includes information like post date, author,\u00a0<a title=\"Categories vs Tags \u2013 SEO Best Practices for Sorting your Content\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/categories-vs-tags-seo-best-practices-which-one-is-better\/\">categories and tags<\/a>, or custom taxonomies.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45850\" title=\"Post meta data shown in a WordPress blog post\" src=\"http:\/\/cdn.wpbeginner.com\/wp-content\/uploads\/2017\/08\/postmetadata.png\" alt=\"Post meta data shown in a WordPress blog post\" width=\"550\" height=\"294\" \/><\/p>\n<p>Depending on your WordPress theme, this information can be displayed on different locations. For example, below post title,\u00a0<a title=\"How to Add Signature or Ads after Post Content in WordPress\" href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/how-add-signature-ads-post-content-wordpress\/\">after post content<\/a>, in a sidebar column, and more.<\/p>\n<p>This information helps your users learn more about the content they are viewing. If used correctly, post meta data can\u00a0<a title=\"How to Increase Pageviews and Reduce Bounce Rate in WordPress\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-increase-pageviews-and-reduce-bounce-rate-in-wordpress\/\">increase page views<\/a>, improve user experience, and make your site look more professional.<\/p>\n<p>On the downside, too much meta data can make your website look messy.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45851\" title=\"Messy display of post meta data\" src=\"http:\/\/cdn3.wpbeginner.com\/wp-content\/uploads\/2017\/08\/messymetadata.png\" alt=\"Messy display of post meta data\" width=\"550\" height=\"254\" \/><\/p>\n<p>Depending on your website, you can add or remove information and add\u00a0<a title=\"How to Easily Add Custom CSS to Your WordPress Site\" href=\"http:\/\/www.wpbeginner.com\/plugins\/how-to-easily-add-custom-css-to-your-wordpress-site\/\">custom css styles<\/a>\u00a0to make it more useful.<\/p>\n<p>Let\u2019s take a look at how to display post meta data in WordPress.<\/p>\n<p>Note: This article requires basic understanding of how WordPress themes work. You\u2019ll also need to edit WordPress files. If you haven\u2019t done this before, then take a look at our guide on\u00a0<a title=\"Beginner\u2019s Guide to Pasting Snippets from the Web into WordPress\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress\/\">how to copy and paste code in WordPress<\/a>.<\/p>\n<h4>How WordPress Themes Display Post Meta Data?<\/h4>\n<p>There are multiple ways to display post meta data. Some themes have simpler code located below the post title.<\/p>\n<div>\n<div id=\"highlighter_984424\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">By &lt;?php the_author_posts_link(); ?&gt; on &lt;?php the_time(<\/code><code class=\"php string\">'F jS, Y'<\/code><code class=\"php plain\">); ?&gt;\u00a0 in &lt;?php the_category(<\/code><code class=\"php string\">', '<\/code><code class=\"php plain\">); ?&gt; &lt;?php edit_post_link(__(<\/code><code class=\"php string\">'{Edit}'<\/code><code class=\"php plain\">), <\/code><code class=\"php string\">''<\/code><code class=\"php plain\">); ?&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>This code simply displays author\u2019s name, post date, and category(s).<\/p>\n<p>Other themes may define their own\u00a0<a title=\"Template Tag\" href=\"http:\/\/www.wpbeginner.com\/glossary\/template-tag\/\">template tags<\/a>, functions, and classes to display post meta data. These functions are then called in the theme files responsible for displaying posts.<\/p>\n<p>Usually, you will find post meta data code in your theme\u2019s index.php, single.php, archive.php, and content templates.<\/p>\n<p>You can\u00a0<a title=\"How to Create a WordPress Child Theme (Video)\" href=\"http:\/\/www.wpbeginner.com\/wp-themes\/how-to-create-a-wordpress-child-theme-video\/\">create a child theme<\/a>\u00a0to override these theme files. If you are creating your own custom theme, then you can directly add or modify the code in your existing theme files.<\/p>\n<p>Let\u2019s take a look at some examples of how to display different post meta data in WordPress.<\/p>\n<h4>How to Display or Hide Post Date in WordPress<\/h4>\n<p>To display the publish date of a post, you need to add this code to your theme.<\/p>\n<div>\n<div id=\"highlighter_123828\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;p&gt;This article was published on: &lt;?php the_time(<\/code><code class=\"php string\">'m\/j\/y g:i A'<\/code><code class=\"php plain\">) ?&gt;&lt;\/p&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Notice the characters inside\u00a0<code>the_time<\/code>\u00a0function. These are called format characters, and they tell PHP how to format the date and time. To learn more, see our article on\u00a0<a title=\"How to Change Date and Time Format in WordPress\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-change-date-and-time-format-in-wordpress\/\">how to change date and time format in WordPress<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45852\" title=\"Showing publish date for WordPress posts\" src=\"http:\/\/cdn4.wpbeginner.com\/wp-content\/uploads\/2017\/08\/postmetadata-date.png\" alt=\"Showing publish date for WordPress posts\" width=\"550\" height=\"262\" \/><\/p>\n<p>Want to remove dates from your WordPress posts? You\u2019ll need to locate the code with\u00a0<code>the_time<\/code>\u00a0or\u00a0<code>the_date<\/code>\u00a0functions in your theme files and delete those lines.<\/p>\n<h4>How to Display Last Update Date for WordPress Posts<\/h4>\n<p>If you frequently update old articles on your website, then you may want to display the last updated date of your posts. This helps your content look fresh and attract readers who who may not read a post that was published years ago.<\/p>\n<p>Simply add the following code to your theme files where you want to display the last updated date:<\/p>\n<div>\n<div id=\"highlighter_979784\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<div class=\"line number8 index7 alt1\">8<\/div>\n<div class=\"line number9 index8 alt2\">9<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php variable\">$u_time<\/code> <code class=\"php plain\">= get_the_time(<\/code><code class=\"php string\">'U'<\/code><code class=\"php plain\">); <\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"php variable\">$u_modified_time<\/code> <code class=\"php plain\">= get_the_modified_time(<\/code><code class=\"php string\">'U'<\/code><code class=\"php plain\">); <\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"php keyword\">if<\/code> <code class=\"php plain\">(<\/code><code class=\"php variable\">$u_modified_time<\/code> <code class=\"php plain\">&gt;= <\/code><code class=\"php variable\">$u_time<\/code> <code class=\"php plain\">+ 86400) { <\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"php functions\">echo<\/code> <code class=\"php string\">\"&lt;p&gt;Last modified on \"<\/code><code class=\"php plain\">; <\/code><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"php plain\">the_modified_time(<\/code><code class=\"php string\">'F jS, Y'<\/code><code class=\"php plain\">); <\/code><\/div>\n<div class=\"line number6 index5 alt1\"><code class=\"php functions\">echo<\/code> <code class=\"php string\">\" at \"<\/code><code class=\"php plain\">; <\/code><\/div>\n<div class=\"line number7 index6 alt2\"><code class=\"php plain\">the_modified_time(); <\/code><\/div>\n<div class=\"line number8 index7 alt1\"><code class=\"php functions\">echo<\/code> <code class=\"php string\">\"&lt;\/p&gt; \"<\/code><code class=\"php plain\">; <\/code><\/div>\n<div class=\"line number9 index8 alt2\"><code class=\"php plain\">} <\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45853\" title=\"Showing last updated date for a WordPress post\" src=\"http:\/\/cdn.wpbeginner.com\/wp-content\/uploads\/2017\/08\/lastupdated.png\" alt=\"Showing last updated date for a WordPress post\" width=\"550\" height=\"221\" \/><\/p>\n<p>For alternate methods and more detailed instructions, see our guide on how to\u00a0<a title=\"How to Display the Last Updated Date of Your Posts in WordPress\" href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/display-the-last-updated-date-of-your-posts-in-wordpress\/\">display the last update date of your posts in WordPress<\/a>.<\/p>\n<h4>How to Show or Hide Author Name in WordPress<\/h4>\n<p>To display\u00a0<a title=\"How to Change the Author of a Post in WordPress\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-change-the-author-of-a-post-in-wordpress\/\">author name<\/a>, you need to add the following code to your theme files.<\/p>\n<div>\n<div id=\"highlighter_674436\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;p&gt;This article was written by &lt;?php the_author(); ?&gt;&lt;\/p&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>This code uses\u00a0<code>the_author<\/code>\u00a0tag, which only displays author name.<\/p>\n<p>You can also display author name linked to all posts written by that author. Simply replace\u00a0<code>the_author<\/code>\u00a0tag with the\u00a0<code>the_author_posts_link<\/code>:<\/p>\n<div>\n<div id=\"highlighter_965817\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;p&gt;View all articles by &lt;?php the_author_posts_link(); ?&gt;&lt;\/p&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45861\" title=\"Showing author link in WordPress posts\" src=\"http:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2017\/08\/authortlink.jpg\" alt=\"Showing author link in WordPress posts\" width=\"550\" height=\"238\" \/><\/p>\n<p>If you want to remove the author\u2019s name from your theme, then you will need to locate these tags in your theme files and delete them.<\/p>\n<h4>How to Show or Hide Categories in WordPress Posts<\/h4>\n<p>To display\u00a0<a title=\"How to Add Categories and Subcategories to WordPress\" href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-add-categories-and-subcategories-to-wordpress\/\">categories<\/a>, you need to add the following code to your theme files:<\/p>\n<div>\n<div id=\"highlighter_230138\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;p&gt;This post was filed under: &lt;?php the_category(<\/code><code class=\"php string\">', '<\/code><code class=\"php plain\">) ?&gt;&lt;\/p&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>This code will display post categories separated by a comma. You can replace the comma with any character you want to use as a separator between category names.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45860\" title=\"Showing post categories\" src=\"http:\/\/cdn2.wpbeginner.com\/wp-content\/uploads\/2017\/08\/showpostcategories-1.jpg\" alt=\"Showing post categories\" width=\"550\" height=\"223\" \/><\/p>\n<p>Another way to display post categories is by displaying one category at a time. This gives you more control over styling.<\/p>\n<p>For example, you can add the following code to your WordPress theme files:<\/p>\n<div>\n<div id=\"highlighter_680559\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;?php<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"php variable\">$categories<\/code> <code class=\"php plain\">= get_the_category( <\/code><code class=\"php variable\">$post<\/code><code class=\"php plain\">-&gt;ID );<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"php keyword\">foreach<\/code> <code class=\"php plain\">( <\/code><code class=\"php variable\">$categories<\/code> <code class=\"php keyword\">as<\/code> <code class=\"php variable\">$category<\/code> <code class=\"php plain\">) {<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"php functions\">echo<\/code> <code class=\"php string\">'&lt;span class=\"wpb-category\"&gt;&lt;a href=\"'<\/code> <code class=\"php plain\">. get_category_link( <\/code><code class=\"php variable\">$category<\/code><code class=\"php plain\">-&gt;term_id ) . <\/code><code class=\"php string\">'\"&gt;'<\/code> <code class=\"php plain\">.\u00a0 <\/code><code class=\"php variable\">$category<\/code><code class=\"php plain\">-&gt;name\u00a0 . <\/code><code class=\"php string\">'&lt;\/a&gt;&lt;\/span&gt;'<\/code><code class=\"php plain\">;<\/code><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"php plain\">}<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><code class=\"php plain\">?&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Now you can use\u00a0<code>wpb-category<\/code>\u00a0class in your\u00a0<a title=\"How to Style Individual Categories Differently in WordPress\" href=\"http:\/\/www.wpbeginner.com\/wp-themes\/how-to-style-individual-categories-differently-in-wordpress\/\">custom CSS to style category<\/a>names.<\/p>\n<p>Want to remove category names from WordPress posts? You\u2019ll need to locate the line with\u00a0<code>the_category<\/code>\u00a0tag in your theme files and delete it.<\/p>\n<h4>How to Show or Hide Tags in WordPress Posts<\/h4>\n<p>To display post tags, you need to add the following code to your theme files:<\/p>\n<div>\n<div id=\"highlighter_553570\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;p&gt;Tags: &lt;?php the_tags(); ?&gt;&lt;\/p&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>This code will simply show all tags associated with the post separated by a comma. You can replace the comma with any character you want to use as a separator.<\/p>\n<p>For example, the following code will show tags separated by a slash.<\/p>\n<div>\n<div id=\"highlighter_61064\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;?php the_tags( <\/code><code class=\"php string\">'Tags: '<\/code><code class=\"php plain\">\/ <\/code><code class=\"php string\">', '<\/code><code class=\"php plain\">, <\/code><code class=\"php string\">'&lt;br \/&gt;'<\/code> <code class=\"php plain\">); ?&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>As you can see, the_tags function accepts three parameters.<\/p>\n<div>\n<div id=\"highlighter_63220\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">the_tags(<\/code><code class=\"php variable\">$before<\/code><code class=\"php plain\">, <\/code><code class=\"php variable\">$separator<\/code><code class=\"php plain\">, <\/code><code class=\"php variable\">$after<\/code><code class=\"php plain\">)<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>You can use the before and after parameter to add any text or HTML you want to add. This allows you to add CSS classes, which you can later use to style tags in WordPress.<\/p>\n<p>Take a look at the following example:<\/p>\n<div>\n<div id=\"highlighter_514695\" class=\"syntaxhighlighter  php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">&lt;?php the_tags(<\/code><code class=\"php string\">'&lt;div class=\"wpb-tags\"&gt;Tags: '<\/code><code class=\"php plain\">, <\/code><code class=\"php string\">'\u00a0 '<\/code><code class=\"php plain\">, <\/code><code class=\"php string\">'&lt;\/div&gt;'<\/code><code class=\"php plain\">);<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-45858\" title=\"Showing post tags\" src=\"http:\/\/cdn4.wpbeginner.com\/wp-content\/uploads\/2017\/08\/posttags.jpg\" alt=\"Showing post tags\" width=\"550\" height=\"233\" \/><\/p>\n<p>If you don\u2019t want to display tags before or after each post, then locate the line with\u00a0<code>the_tags()<\/code>\u00a0code and delete it from your theme files.<\/p>\n<h4>Doing More with Post Meta Data in WordPress<\/h4>\n<p>So far we showed you how to display or hide the basic default post meta data items. Theme developers can use the same basic template tags to display post meta data in many different ways.<\/p>\n<p>For example, you can use post meta data to display\u00a0<a title=\"How to Add an Author Info Box in WordPress Posts\" href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-an-author-info-box-in-wordpress-posts\/\">author info box<\/a>, or\u00a0<a title=\"How to Display Relative Dates in WordPress\" href=\"http:\/\/www.wpbeginner.com\/plugins\/how-to-display-relative-dates-in-wordpress\/\">replace post date with relative dates<\/a>.<\/p>\n<p>Want to take it to the next level? Check out\u00a0<a title=\"WordPress Custom Fields 101: Tips, Tricks, and Hacks\" href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/wordpress-custom-fields-101-tips-tricks-and-hacks\/\">custom fields<\/a>, which allow you to add your own meta data to WordPress posts. You can even create\u00a0<a title=\"How to Add Custom Meta Boxes in WordPress Posts and Post Types\" href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-custom-meta-boxes-in-wordpress-posts-and-post-types\/\">custom meta boxes<\/a>\u00a0to easily add those custom fields.<\/p>\n<p>That\u2019s all for now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to learn how to display post meta data in WordPress blog posts? Post meta data are relevant information about your blog post such as published date, category, author name, etc. In this article, we will show you how to display post meta data in WordPress posts. What is Post Meta Data in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-21834","post","type-post","status-publish","format-standard","hentry","category-13"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6cOVM-5Ga","_links":{"self":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/21834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21834"}],"version-history":[{"count":1,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/21834\/revisions"}],"predecessor-version":[{"id":21835,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/21834\/revisions\/21835"}],"wp:attachment":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}