Title: Meta Fetcher
Author: webdeveric
Published: <strong>20 Maio, 2014</strong>
Last modified: 8 Dezembro, 2015

---

Procurar plugins

![](https://ps.w.org/meta-fetcher/assets/banner-772x250.jpg?rev=917954)

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# Meta Fetcher

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

[Descarregar](https://downloads.wordpress.org/plugin/meta-fetcher.0.4.zip)

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

 [Suporte](https://wordpress.org/support/plugin/meta-fetcher/)

## Descrição

This plugin provides a simple `[meta]` shortcode that allows you to fetch meta information
for the current `$post`.
 There are options to return a single value, multiple values
joined by a user defined string, or a JSON string.

**Examples:**

    ```
    [meta name="your_meta_field"]
    ```

This will return the value of “your_meta_field”. If the value is an array, it will
return a comma separated list, unless you specify an alternative join string.

    ```
    [meta name="your_meta_field" single="false"]
    ```

By default, [meta] will return a single value. If you have multiple meta fields 
with the same name, you can get them all by setting single=”false”.

    ```
    [meta name="your_meta_field" single="false" json="true"]
    ```

This will return the JSON encoded value of “your_meta_field”.

    ```
    [meta name="your_meta_field" single="false" join="|"]
    ```

This will return a pipe separated values of “your_meta_field”.

    ```
    [meta name="your_meta_field" shortcode="false"]
    ```

By default, the value will be passed to do_shortcode, unless you turn if off.

    ```
    [meta name="your_meta_field" filters="true"]
    ```

There are a couple filters available if you want to filter the value. They are called
after do_shortcode and before any JSON/array handling.
 They are on be default, 
but can be turned of with filters=”false”. The filters are “meta_fetcher_value” 
and “meta_fetcher_{$name}”.

## Instalação

 1. Upload `meta-fetcher` folder to the `/wp-content/plugins/` directory
 2. Active o plugin no menu Plugins
 3. Add shortcode to your content: `[meta name="some_name_here" default="some default
    content"]`

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“Meta Fetcher” é software de código aberto. As seguintes pessoas contribuíram para
este plugin:

Contribuidores

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

[Traduza o “Meta Fetcher” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/meta-fetcher)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/meta-fetcher/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/meta-fetcher/), ou subscreva
o [registo de alterações](https://plugins.trac.wordpress.org/log/meta-fetcher/) 
por [RSS](https://plugins.trac.wordpress.org/log/meta-fetcher/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 0.4

 * Added option to return a JSON string.
 * Added options for handling array meta values.

#### 0.3

 * Added better checking for argument values.

#### 0.2

 * Added additional arguments.

#### 0.1

 * Initial build

## Metadados

 *  Versão **0.4**
 *  Última actualização **Há 11 anos**
 *  Instalações activas **10+**
 *  Versão do WordPress ** 3.0.0 ou superior **
 *  Testado até **4.4.0**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/meta-fetcher/)
 * Etiquetas
 * [meta](https://pt.wordpress.org/plugins/tags/meta/)[post](https://pt.wordpress.org/plugins/tags/post/)
   [shortcode](https://pt.wordpress.org/plugins/tags/shortcode/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/meta-fetcher/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

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

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

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

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