Title: Arbitrary Shortcodes
Author: philfreo
Published: <strong>11. mai 2009</strong>
Last modified: 11. mai 2009

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# Arbitrary Shortcodes

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

[Last ned](https://downloads.wordpress.org/plugin/arbitrary-shortcodes.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/arbitrary-shortcodes/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/arbitrary-shortcodes/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/arbitrary-shortcodes/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/arbitrary-shortcodes/#developers)

 [Hjelp](https://wordpress.org/support/plugin/arbitrary-shortcodes/)

## Skildring

Replaces Shortcodes with Homepage Custom Fields.

This plugin allows you to write your page content like this:
 «Contact our company,[
company_name], by email at: [email].»

Text with these shortcodes can be defined on any number of pages throughout your
site.

The values of all of the shortcodes are controlled in a single location: the Custom
Fields of your blog’s home page. For the above example, there would be Custom Fields
on the home page called «company_name» and «email» with the values, respectively,
of «Example Company Name» and «info@example.com».

_This plugin requires that you have WordPress set to show a static Page on the home
page under Settings->Reading and «Front page»._

So then, for all the custom fields entered on the home page, this plugin looks for
shortcodes (in all pages) and replaces each of their values, upon output, with the
relevant custom field value.

This is useful for if you want to fill many pages with text that includes an arbitrary
number of shortcodes or template text and have all the values can be replaced in
one place.

-By [Phil Freo](http://philfreo.com)

## Installasjon

_This plugin requires that you have WordPress set to show a static Page on the home
page under Settings->Reading and «Front page»._

 1. Upload the `arbitrary-shortcodes/` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the «Plugins» menu in WordPress
 3. Fill your content on any page(s) on your site with the desired arbitrary shortcodes
 4. For each shortcode you would like to define, create a custom field (and value) 
    on the page that is shown as the «home page» for the site.

## Vanlege spm.

None

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Arbitrary Shortcodes” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Omset “Arbitrary Shortcodes” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/arbitrary-shortcodes)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/arbitrary-shortcodes/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/arbitrary-shortcodes/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/arbitrary-shortcodes/)
med [RSS](https://plugins.trac.wordpress.org/log/arbitrary-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Om

 *  Version **1.0**
 *  Last updated **17 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 2.7.1 eller nyare **
 *  Tested up to **2.7.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/arbitrary-shortcodes/)
 * Tags
 * [customfields](https://nn.wordpress.org/plugins/tags/customfields/)[replace](https://nn.wordpress.org/plugins/tags/replace/)
   [shortcodes](https://nn.wordpress.org/plugins/tags/shortcodes/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/arbitrary-shortcodes/advanced/)

## Vurderingar

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/arbitrary-shortcodes/reviews/)

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/arbitrary-shortcodes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=phil%40philfreo%2ecom&lc=US&item_name=PhilFreo%2ecom&no_note=1&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)