Àpèjúwe
The archives within WordPress are pretty limited in a sense that they do not offer much configuration beyond what they do. Date based will be date based, like category based archives will only display categories. This plugin mitigates the issue by giving date based archives the ability to list content by categories as well.
This is done via modification of the rewrite rules to allow for the ability to have permalinks like http://yourblog.com/2008/in-blog/. This basically is a date based archive that shows only entries from the “blog” category.
This plugin can also work without the usage of rewrite rules. It currently supports date based archives for years and months.
Usable Commands for Theme Developers
The PHP commands for theme developers to use are pretty straight forward.
cba_get_category_id() returns the current category ID of the archive.
cba_the_year() returns the current year of the date based archive.
cba_the_month() returns the current month of the date based archive.
cba_auto_thedate() gets the string representation of the date.
cba_get_year_link($year) returns the permalink for the year archive based on the current category.
Ìgbéwọlẹ̀
- Upload category-based-archives.php into your plugins folder.
- Activate and you’re done.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Category Based Archives” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Category Based Archives” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.