Title: Meta Fetcher
Author: webdeveric
Published: <strong>20. maj, 2014</strong>
Last modified: 8. december, 2015

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Meta Fetcher

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

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

 * [Detaljer](https://da.wordpress.org/plugins/meta-fetcher/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/meta-fetcher/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/meta-fetcher/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/meta-fetcher/#developers)

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

## Beskrivelse

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

## Installation

 1. Upload `meta-fetcher` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add shortcode to your content: `[meta name="some_name_here" default="some default
    content"]`

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Meta Fetcher” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Meta Fetcher” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/meta-fetcher)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/meta-fetcher/), tjek
[SVN repository](https://plugins.svn.wordpress.org/meta-fetcher/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/meta-fetcher/) via [RSS](https://plugins.trac.wordpress.org/log/meta-fetcher/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0.0 eller højere **
 *  Testet op til **4.4.0**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/meta-fetcher/)
 * Tags
 * [meta](https://da.wordpress.org/plugins/tags/meta/)[post](https://da.wordpress.org/plugins/tags/post/)
   [shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/meta-fetcher/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/meta-fetcher/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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