Contextual Category Widget

ຄຳອະທິບາຍ

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.

ການຕິດຕັ້ງ

  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.

ຄຳຖາມທີ່ພົບເລື້ອຍ

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.

ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Contextual Category Widget” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

ແປ “Contextual Category Widget” ເປັນພາສາຂອງເຈົ້າ.

ສົນໃຈຮ່ວມພັດທະນາບໍ່?

ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.

ບັນທຶກການປ່ຽນແປງ

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.