Title: SJF WP API Shortcode
Author: Scott Fennell
Published: <strong>13. september 2014</strong>
Last modified: 24. desember 2015

---

Søk gjennom innstikk

![](https://ps.w.org/json-rest-api-shortcode/assets/banner-772x250.jpg?rev=1237755)

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://ps.w.org/json-rest-api-shortcode/assets/icon-256x256.jpg?rev=1237725)

# SJF WP API Shortcode

 Av [Scott Fennell](https://profiles.wordpress.org/scofennellgmailcom/)

[Last ned](https://downloads.wordpress.org/plugin/json-rest-api-shortcode.2.0.9.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/json-rest-api-shortcode/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/json-rest-api-shortcode/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/json-rest-api-shortcode/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/json-rest-api-shortcode/#developers)

 [Hjelp](https://wordpress.org/support/plugin/json-rest-api-shortcode/)

## Skildring

Activate this plugin and use the shortcode [wp_api] in a post or page. It takes 
a few different arguments that are documented in the plugin source code.

## Skjermbilete

[⌊This screen shot shows the result of using the shortcode to fire an API request.⌉⌊
This screen shot shows the result of using the shortcode to fire an API request.⌉[

This screen shot shows the result of using the shortcode to fire an API request.

## Installasjon

This section describes how to install the plugin and get it working.

 1. Upload `json-rest-api-shortcode` folder to the `/wp-content/plugins/` directory
 2. Aktiver innstikket gjennom Innstikk-menyen i WordPress
 3. Activate this plugin and use the shortcode [wp_api] in a post or page. It takes
    a few different arguments that are documented in the plugin source code.

## Vanlege spm.

#### Does my blog need the JSON REST API plugin in order for this plugin to work?

Until the JSON REST API is merged into core, yes.

#### If I use this plugin to ping a remote blog, does the remote blog need the JSON REST API?

Yes.

#### If I use this plugin to ping a remote blog, does the remote blog need to allow CORS?

Yes. One fantastic way to do this is to use this plugin on the remote blog: https://
wordpress.org/plugins/wp-cors/

#### Do I need to be careful when I use this plugin? Can it send real traffic and execute real database queries, including CRUD?

Yes.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“SJF WP API Shortcode” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Scott Fennell ](https://profiles.wordpress.org/scofennellgmailcom/)

[Omset “SJF WP API Shortcode” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/json-rest-api-shortcode)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/json-rest-api-shortcode/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/json-rest-api-shortcode/) 
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/json-rest-api-shortcode/)
med [RSS](https://plugins.trac.wordpress.org/log/json-rest-api-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 2.0.9

 * Updated for new version of API.

#### 2.0.1

 * Better console logging.

#### 2.0

 * Total rewrite for code cleanup and also to support v2 of the WP API.

#### 1.0.4

 * Include auth data in debug output.

#### 1.0.3

 * Fix bug with passing nonce for cookie auth.

#### 1.0.2

 * Refactor duplicate code into methods.

#### 1.0.1

 * Refactor plugin to use WP Ajax API & WP HTTP API.

#### 1.0

 * Initial Release

## Om

 *  Version **2.0.9**
 *  Last updated **10 år sidan**
 *  Active installations **Færre enn 10**
 *  WordPress version ** 3.4.2 eller nyare **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/json-rest-api-shortcode/)
 * Tag
 * [wp-api](https://nn.wordpress.org/plugins/tags/wp-api/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/json-rest-api-shortcode/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/json-rest-api-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/json-rest-api-shortcode/reviews/)

## Contributors

 *   [ Scott Fennell ](https://profiles.wordpress.org/scofennellgmailcom/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/json-rest-api-shortcode/)