Title: Category Based Archives
Author: echoz
Published: <strong>4 d'agost de 2008</strong>
Last modified: 4 d'agost de 2008

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Category Based Archives

 Per [echoz](https://profiles.wordpress.org/echoz/)

[Baixa](https://downloads.wordpress.org/plugin/category-based-archives.1.0.5.zip)

 * [Detalls](https://ca.wordpress.org/plugins/category-based-archives/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/category-based-archives/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/category-based-archives/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/category-based-archives/#developers)

 [Suport](https://wordpress.org/support/plugin/category-based-archives/)

## Descripció

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.

## Instal·lació

 1. Upload category-based-archives.php into your plugins folder.
 2. Activate and you’re done.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Category Based Archives» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

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

[Traduïu «Category Based Archives» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/category-based-archives)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/category-based-archives/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/category-based-archives/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/category-based-archives/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/category-based-archives/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **1.0.5**
 *  Darrera actualització **fa 18 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.5 o posterior **
 *  Provada fins a **2.6**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/category-based-archives/)
 * Etiquetes
 * [category](https://ca.wordpress.org/plugins/tags/category/)[date](https://ca.wordpress.org/plugins/tags/date/)
   [loop](https://ca.wordpress.org/plugins/tags/loop/)[template](https://ca.wordpress.org/plugins/tags/template/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/category-based-archives/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[La vostra ressenya](https://wordpress.org/support/plugin/category-based-archives/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/category-based-archives/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/category-based-archives/)