Default Usage. Displays the description of a category, given its id, by echoing the return value of the tag. If no category given and used on a category page, it returns the description of the current category. Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference! Function Referencecategory description. Languages: English WordPress is a favorite blogging tool of mine and I share tips and tricks for using WordPress here.
Note: if there is no category description, the function returns a br tag. Using Category Slug. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site How to get post, page or category ID in WordPress on Probewise WordPress post or page ID is very important to WordPress as it is the way to have a distinction to posts a computer can read, meaning, humanly speaking we can only read a posts or a page by its name or slug.
One essential thing that a I'm using this plugin which displays the active category or subcategory description in a widget. This Description. When you add text to the category description textarea and save the category, WordPress runs content filters that strips out all but the most basic formatting tags. Description# Description. If you change the type to link in the arguments, then the link categories will be returned instead. Also all categories will be updated to be backward compatible with pre2.
3 plugins and themes. Most WordPress themes will automatically display the category description on the category archive pages. However if your theme does not display category description on archive pages, then you will need to edit your theme files.
Definition of category in WordPress. How to add, edit, and delete categories. What is a child category and how to convert categories into tags. numbers, and hyphens. If you are creating a child category then choose a parent category. Provide a description for your category and click on Add New Category button. Only the category name is the