Title: PageSpot
Author: nickpdx
Published: <strong>19. juni, 2009</strong>
Last modified: 20. juni, 2009

---

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/pagespot.svg)

# PageSpot

 Af [nickpdx](https://profiles.wordpress.org/nickpdx/)

[Download](https://downloads.wordpress.org/plugin/pagespot.0.1.4.zip)

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

 [Support](https://wordpress.org/support/plugin/pagespot/)

## Beskrivelse

PageSpot uses private Pages as groups of content to be inserted in various
 other
places in your Page or theme. By default it creates two special private Pages:

_PageSpot Snippets_ are pieces of another Page. To create a new snippet,
 just create
a child Page of the [PageSpot] Page Snippets page. PageSpot will ensure your new
snippet remains Private and inaccessible on its own. PageSpot then expects you to
assign the snippet to a Spot on one of your public Pages.

To do that, you will first need to create custom templates in your theme
 directory.
If you create a template with “pagespot” in the name, and select it in the Page 
editor, the PageSpot admin box will become active for that Page. PageSpot will parse
the template for annotations that look like “[[PageSpot:Foo]]”, and allow you to
assign a PageSpot Snippet to the “Foo” spot.

The final result is that when viewed from the front end, your Page will have
 the
assigned snippet Page’s content inserted in place of your [[PageSpot]] annotation.
This lets you build up complex layouts for a Page, composed of other Pages. content
which you can edit and replace independent of each other.

_Sidebar Items_ are pages that together comprise a sidebar for your theme.
 To create
a sidebar, just create a private Page named “[Sidebar] Foo”. All child pages of 
that page constitute the Foo sidebar. PageSpot will add a meta-box in the Page Edit
screen to select the sidebar to use for the current Page. Adding some simple PHP
code to your sidebar template is all you then need to bring this functionality into
your custom theme:

    ```
    <?php PageSpot::print_sidebar(); ?>
    ```

## Skærmbilleder

[⌊An example PageSpot template, pagespot-nsew.php, with spots for North, South, 
East, and West⌉⌊An example PageSpot template, pagespot-nsew.php, with spots for 
North, South, East, and West⌉[

An example PageSpot template, pagespot-nsew.php, with spots for North, South, East,
and West

[⌊Adding PageSpot snippets to be reused in public Page layouts⌉⌊Adding PageSpot 
snippets to be reused in public Page layouts⌉[

Adding PageSpot snippets to be reused in public Page layouts

[⌊After selecting a PageSpot template, you can assign pages to fill in the spots
in that template⌉⌊After selecting a PageSpot template, you can assign pages to fill
in the spots in that template⌉[

After selecting a PageSpot template, you can assign pages to fill in the spots in
that template

[⌊Creating selectable Sidebars by adding child pages to private "[Sidebar] Foo" 
pages⌉⌊Creating selectable Sidebars by adding child pages to private "[Sidebar] 
Foo" pages⌉[

Creating selectable Sidebars by adding child pages to private “[Sidebar] Foo” pages

[⌊Assigning a sidebar to a Page⌉⌊Assigning a sidebar to a Page⌉[

Assigning a sidebar to a Page

## Installation

 1. Extract PageSpot archive to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

 * Creating a PageSpot page template*

 1. Create a template in your theme directory with “pagespot” in the filename (See 
    screenshot 1)
 2. Add spot annotations to your template of the form [[PageSpot:aSpotName]]
 3. Create a child Page of the private Page “[PageSpot] Page Snippets” (See screenshot
    2)
 4. Edit the target public Page, in the Template dropdown select “pagespot-foo” (See
    screenshot 3)
 5. In the PageSpot meta box, the names of your template annotations are displayed;
    assign a Page to each.

 * Creating a PageSpot sidebar*

 1. Add child pages to the private Page “[Sidebar] Default Sidebar”
 2. Add the sidebar code to your theme template: `<?php PageSpot::print_sidebar(); ?
    >`
 3. Assign the sidebar to your public Pages using the Sidebar meta box
 4. Create other sidebars by creating private Pages named “[Sidebar] Your Name Here”

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

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

Bidragsydere

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

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

### Interesseret i udvikling?

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

## Meta

 *  Version **0.1.4**
 *  Senest opdateret **17 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.7 eller højere **
 *  Testet op til **2.7**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/pagespot/)
 * Tags
 * [cms](https://da.wordpress.org/plugins/tags/cms/)[page](https://da.wordpress.org/plugins/tags/page/)
   [sidebar](https://da.wordpress.org/plugins/tags/sidebar/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/pagespot/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

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

## Bidragsydere

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

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/pagespot/)