By default most WordPress category descriptions will not be displayed. But that doesn’t mean it’s an unchangeable rule. Although there are many problems with WordPress category descriptions not showing, we can still work around them so that the next category description can be displayed.
The main reason that WordPress category descriptions do not appear is in the theme used. The average WordPress theme does not attach a feature to display category descriptions. So from that if we crave so that the description of the category that we have made can appear on the blog, then we must give additional special code.
Why do we have to fill out a description on the WordPress category we have created ? Believe it or not, the ability of this WordPress category description has SEO Friendly abilities if we rework it again. In fact, not just a category description, WordPress tag descriptions can also add good value to our WordPress SEO.
Then if we have determined a unique description in the WordPress category and then want to display it, then we must take a little effort. Although along with the display of the next category description will not affect anything on SEO. But along with the display of category descriptions, it will support a brief explanation about filling all WordPress categories for readers. At first glance, if the visitor reads the category description, it will be clear that the summary of the material comes from the category in which they will read the article.
Here’s how to display category descriptions in the WordPress CMS
Usually this WordPress category description will appear at the top of the category page. Because the description of the WordPress category is made as a description that becomes a representative to fill in the material for all articles available in the category in question. To be more clear re-understanding, please click not true one category blog this interesting information, such as Photoshop category. Well that’s what I mean by category description.
Then to cause the description of the category is not difficult. Because the area to fill out the description of the category itself has been presented by WordPress facilities, both WordPress.com (free) or WordPress.org (paid). We as users only need to fill in the next category description area along with the necessary summary sentences that cover the entire article.
To fill out the category description in CMS WordPress, from the wp-admin dashboard just click Post > Category. Then you specify the category for which the description will be made. Or if your blog does not have a Category (new blog) then make ever category.
When the category page is active, it will contain the name, Slug, parent, and description fields. Now in the next description column to fill out a summary sentence that includes the entire article available in the category.
When a category description that we have written is saved, some themes do not display that category description. So we must take advantage of this next code so that it can display a description of the category :
Place the PHP code above in the archive file.php theme you are using. PHP code in the archive.php depends on each taste. If I put it under the code Then the category description will appear at the top of the article.
Then we can further beautify the appearance of the next category description so that it is more interesting to see. For example, given a background color, given a border, given a picture, and others. We just give additional selector code before and after the PHP code above. For example, here I will make it more interesting to re-display the category description along with giving additional gravatar images in it. Then the code will be more or less like this :
And to adjust the position of the category description so that it looks even neater, I added the next type inside the style.css theme that I use. The code is more or less like this :