Title: Index Pages
Author: Doug Wollison
Published: <strong>3. februar, 2016</strong>
Last modified: 14. oktober, 2024

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/index-pages.svg)

# Index Pages

 Af [Doug Wollison](https://profiles.wordpress.org/dougwollison/)

[Download](https://downloads.wordpress.org/plugin/index-pages.1.3.0.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/index-pages/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/index-pages/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/index-pages/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/index-pages/#developers)

 [Support](https://wordpress.org/support/plugin/index-pages/)

## Beskrivelse

The Index Pages system allows you to designate pages as the index page for a particular
post type.

This allows you to have a custom title, text content, and other information displayed
on your
 post type archives, should your current theme support it.

For theme developers, the plugin offers some template functions for loading the 
post object for the
 current index page (including the posts page), in a similar
fashion to `the_post();`, to create things like a customizable introductory banner
that appears above the listing, using the index page’s data.

Designated index pages are flagged as such in the Pages manager, for easy recognition.

### Usage Documentation

The Index Page assignment interface can be found under Settings > Reading. By default,
all post types
 registered with the `has_archive` argument set to true will be available
for assignment.

For theme and plugin developers, you can register support for your custom post types
like so:

    ```
    IndexPages\Registry::add_post_types( $post_types ); // a single post type or array of post types
    ```

When an index page is assigned, it’s permalink will point to the associated post
type’s archive, with
 the page title updated appropriately.

For theme and plugin developers, you can access the index page’s post object with
the following.

    ```
    the_index_page();
    ```

This works exactly like `the_post();`, populating the `$post` variable with the 
index page’s data.

## Installation

 1. Upload the contents of `index-pages.tar.gz` to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Index Pages” er open source-software. Følgende personer har bidraget til dette 
plugin.

Bidragsydere

 *   [ Doug Wollison ](https://profiles.wordpress.org/dougwollison/)

[Oversæt “Index Pages” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/index-pages)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/index-pages/), tjek 
[SVN repository](https://plugins.svn.wordpress.org/index-pages/), eller abonner 
på [udviklerloggen](https://plugins.trac.wordpress.org/log/index-pages/) via [RSS](https://plugins.trac.wordpress.org/log/index-pages/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

**Details on each release can be found [on the GitHub releases page](https://github.com/dougwollison/index-pages/releases)
for this project.**

#### 1.3.0.1

Quick Fix: apparently the Liaison class was never committed to the SVN repo.

#### 1.3.0

Improved handling of post types, bug fixes and WPSEO compatibility.

#### 1.2.0

Added checks to make sure an index page’s associated post type exists.

#### 1.1.0

Updated file and code structure, added missing static keyword to Backend::add_index_notice().

#### 1.0.0

Initial public release.

## Meta

 *  Version **1.3.0.1**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **60+**
 *  WordPress-version ** 4.0.0 eller højere **
 *  Testet op til **6.6.5**
 *  PHP-version ** 5.4.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/index-pages/)
 * Tag
 * [custom post type](https://da.wordpress.org/plugins/tags/custom-post-type/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/index-pages/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/index-pages/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/index-pages/reviews/)

## Bidragsydere

 *   [ Doug Wollison ](https://profiles.wordpress.org/dougwollison/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/index-pages/)