Descrição
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.
Instalação
- Install and activate Contextual Category Widget.
- Add the widget to a widget area in Appearance > Widgets.
- Add descriptions to the categories you want the widget to display.
Perguntas frequentes
-
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.
Avaliações
Este plugin não tem avaliações.
Contribuidores e programadores
“Contextual Category Widget” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
ContribuidoresTraduza o “Contextual Category Widget” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
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.