Title: Meta Fetcher
Author: webdeveric
Published: <strong>20. Maja 2014.</strong>
Last modified: 8. Decembra 2015.

---

Pretražite dodatke

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

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# Meta Fetcher

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

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

 * [Detalji](https://bs.wordpress.org/plugins/meta-fetcher/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/meta-fetcher/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/meta-fetcher/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/meta-fetcher/#developers)

 [Podrška](https://wordpress.org/support/plugin/meta-fetcher/)

## Opis

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}”.

## Instalacija

 1. Upload `meta-fetcher` folder to the `/wp-content/plugins/` directory
 2. Aktivirajte plugin koristeći WordPressov meni ‘Plugini’
 3. Add shortcode to your content: `[meta name="some_name_here" default="some default
    content"]`

## Recenzije

Nema recenzija za ovaj dodatak.

## Saradnici i programeri

“Meta Fetcher” is open source software. The following people have contributed to
this plugin.

Doprinositelji

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

[Prevedi “Meta Fetcher” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/meta-fetcher)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/meta-fetcher/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/meta-fetcher/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/meta-fetcher/) od [RSS](https://plugins.trac.wordpress.org/log/meta-fetcher/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 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

## Meta

 *  Version **0.4**
 *  Last updated **prije 11 godina**
 *  Active installations **10+**
 *  WordPress version ** 3.0.0 ili viša **
 *  Tested up to **4.4.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/meta-fetcher/)
 * Tags
 * [meta](https://bs.wordpress.org/plugins/tags/meta/)[post](https://bs.wordpress.org/plugins/tags/post/)
   [shortcode](https://bs.wordpress.org/plugins/tags/shortcode/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/meta-fetcher/advanced/)

## Ocjene

No reviews have been submitted yet.

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

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

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/meta-fetcher/)