Title: optiontree Shortcode
Author: ethanpil
Published: <strong>25 setembro, 2013</strong>
Last modified: 25 setembro, 2013

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# optiontree Shortcode

 Por [ethanpil](https://profiles.wordpress.org/ethanpil/)

[Baixar](https://downloads.wordpress.org/plugin/optiontree-shortcode.zip)

 * [Detalhes](https://br.wordpress.org/plugins/optiontree-shortcode/#description)
 * [Avaliações](https://br.wordpress.org/plugins/optiontree-shortcode/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/optiontree-shortcode/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/optiontree-shortcode/#developers)

 [Suporte](https://wordpress.org/support/plugin/optiontree-shortcode/)

## Descrição

This plugin adds a shortcode [ot_get_option] to pull info from like the function
ot_get_option(). Its very simple to use and supports the same values as ot_get_option().

BEWARE: It will not work with options that return non-text values.

Why a shortcode and not the function in PHP? Sometimes I need to implement slight
variations of the same site. This allows me to set my options in the UI and have
the values propagate into the post content as needed without remembering every place
that needs changes.

If you aren’t using OptionTree ( https://wordpress.org/plugins/option-tree/ ) this
will probably be useless for you!

Its used like this:

    ```
    [ot_get_option option_id="XYZ" default="123"]
    ```

This is the equivalent of the following in PHP:

    ```
    ot_get_option("XYZ","123");
    ```

Fork away: https://github.com/ethanpil/wp-optiontree-shortcode

## Instalação

 1. Upload `wp-optiontree-shortcode.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Include the [ot_get_option] shortcode in your editor….

## Perguntas frequentes

  I dont see any settings or options!

There arent any!

  How to I enable it?

If the plugins system has it on then its working.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“optiontree Shortcode” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

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

[Traduzir o “optiontree Shortcode” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/optiontree-shortcode)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/optiontree-shortcode/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/optiontree-shortcode/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/optiontree-shortcode/)
por [RSS](https://plugins.trac.wordpress.org/log/optiontree-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0

 * Hello World!

## Meta

 *  Versão **1.0**
 *  Última atualização **13 anos atrás**
 *  Instalações ativas **200+**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **3.6.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/optiontree-shortcode/)
 * Tags
 * [optiontree](https://br.wordpress.org/plugins/tags/optiontree/)[shortcode](https://br.wordpress.org/plugins/tags/shortcode/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/optiontree-shortcode/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/optiontree-shortcode/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/optiontree-shortcode/)