Title: Contextual Category Widget
Author: Vinnie
Published: <strong>September 6, 2019</strong>
Last modified: July 28, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/contextual-category-widget.svg)

# Contextual Category Widget

 By [Vinnie](https://profiles.wordpress.org/nemovrusso/)

[Download](https://downloads.wordpress.org/plugin/contextual-category-widget.0.7.0.zip)

 * [Details](https://co.wordpress.org/plugins/contextual-category-widget/#description)
 * [Reviews](https://co.wordpress.org/plugins/contextual-category-widget/#reviews)
 *  [Installation](https://co.wordpress.org/plugins/contextual-category-widget/#installation)
 * [Development](https://co.wordpress.org/plugins/contextual-category-widget/#developers)

 [Support](https://wordpress.org/support/plugin/contextual-category-widget/)

## Description

Contextual Category Widget displays the name and description of the first category
assigned to the post currently being viewed.

The widget remains hidden on archives, pages, and posts whose first category has
no description. Its output uses the surrounding widget markup supplied by the active
theme.

## Installation

 1. Install and activate Contextual Category Widget.
 2. Add the widget to a widget area in Appearance > Widgets.
 3. Add descriptions to the categories you want the widget to display.

## FAQ

### What happens when a post has multiple categories?

The widget displays the first category returned by WordPress for that post.

### Can I choose a category in the widget settings?

No. The widget is intentionally contextual and uses the category assigned to the
current post.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Contextual Category Widget” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Vinnie ](https://profiles.wordpress.org/nemovrusso/)

[Translate “Contextual Category Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/contextual-category-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/contextual-category-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/contextual-category-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/contextual-category-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/contextual-category-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.7.0

 * Add compatibility metadata for current WordPress and PHP versions.
 * Escape and sanitize dynamic widget output.
 * Make the widget name and description translatable.
 * Preserve theme widget wrappers and existing widget registrations.

#### 0.6.1

 * Fix formatting.

#### 0.6

 * Do not display the widget when there is no description for the article’s first
   category.

#### 0.5.1

 * Fix div wrapping.

#### 0.5

 * Wrap output in a div with class `textwidget`.

#### 0.4

 * Fix version.

#### 0.3

 * Fix readme.

#### 0.2

 * Rename main file.

#### 0.1

 * First release.

## Meta

 *  Version **0.7.0**
 *  Last updated **2 months ago**
 *  Active installations **10+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/contextual-category-widget/)
 * Tags
 * [category](https://co.wordpress.org/plugins/tags/category/)[taxonomy](https://co.wordpress.org/plugins/tags/taxonomy/)
   [widget](https://co.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://co.wordpress.org/plugins/contextual-category-widget/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/contextual-category-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/contextual-category-widget/reviews/)

## Contributors

 *   [ Vinnie ](https://profiles.wordpress.org/nemovrusso/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/contextual-category-widget/)