Title: Category Based Archives
Author: echoz
Published: <strong>4. august, 2008</strong>
Last modified: 4. august, 2008

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# Category Based Archives

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/category-based-archives/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/category-based-archives/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/category-based-archives/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/category-based-archives/#developers)

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

## Beskrivelse

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.

## Installasjon

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

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«Category Based Archives» er programvare med åpen kildekode. Følgende personer har
bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett «Category Based Archives» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/category-based-archives)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/category-based-archives/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/category-based-archives/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/category-based-archives/)
med [RSS](https://plugins.trac.wordpress.org/log/category-based-archives/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versjon **1.0.5**
 *  Sist oppdatert **18 år siden**
 *  Aktive installasjoner **10+**
 *  WordPress-versjon ** 2.5 eller nyere **
 *  Testet opp til **2.6**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/category-based-archives/)
 * Stikkord
 * [category](https://nb.wordpress.org/plugins/tags/category/)[date](https://nb.wordpress.org/plugins/tags/date/)
   [loop](https://nb.wordpress.org/plugins/tags/loop/)[template](https://nb.wordpress.org/plugins/tags/template/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/category-based-archives/advanced/)

## Vurderinger

No reviews have been submitted yet.

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

[Se alle omtalene](https://wordpress.org/support/plugin/category-based-archives/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/category-based-archives/)