Title: Arbitrary Shortcodes
Author: philfreo
Published: <strong>11 de maig de 2009</strong>
Last modified: 11 de maig de 2009

---

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

# Arbitrary Shortcodes

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

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

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

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

## Descripció

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)

## Instal·lació

_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.

## PMF

None

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

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

Col·laboradors

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

[Traduïu «Arbitrary Shortcodes» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/arbitrary-shortcodes)

### Interessats en el desenvolupament?

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

## Meta

 *  Versió **1.0**
 *  Darrera actualització **fa 17 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.7.1 o posterior **
 *  Provada fins a **2.7.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/arbitrary-shortcodes/)
 * Etiquetes
 * [customfields](https://ca.wordpress.org/plugins/tags/customfields/)[replace](https://ca.wordpress.org/plugins/tags/replace/)
   [shortcodes](https://ca.wordpress.org/plugins/tags/shortcodes/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/arbitrary-shortcodes/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Afegeix una ressenya](https://wordpress.org/support/plugin/arbitrary-shortcodes/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/arbitrary-shortcodes/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

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

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](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)