Title: Article JSON-LD
Author: Nashwan D
Published: <strong>4. november, 2016</strong>
Last modified: 22. oktober, 2020

---

Søg plugins

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/article-json-ld.svg)

# Article JSON-LD

 Af [Nashwan D](https://profiles.wordpress.org/alex-ye/)

[Download](https://downloads.wordpress.org/plugin/article-json-ld.0.3.zip)

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

 [Support](https://wordpress.org/support/plugin/article-json-ld/)

## Beskrivelse

Article JSON-LD is an extendable and straightforward solution to enhance your site
SEO by adding Schema.org microdata as a JSON-LD script on your site posts.

It will automatically insert the JSON-LD script in your site `<head>` tag by using
the standard information provided by WordPress, such as the title, description, 
featured image, publish date, author, categories..etc.

You can support your custom post types or modify the data easily by using the plugin’s
hooks.

#### Custom-Post-Types Support

By default, the plugin supports the `post` post-type. Add support for other custom-
post-types using a code snippet as the example below:

    ```
    add_action('init', 'add_article_json_ld_post_type_support', 15);

    /**
     * @return void
     */
    function add_article_json_ld_post_type_support()
    {
        add_post_type_support('custom-post-type', 'article-json-ld');
    }
    ```

You can use [Code Snippets](https://wordpress.org/plugins/code-snippets) plugin 
to add the code snippets to your site.

An active demo is available on [Arageek](https://www.arageek.com/) articles.

#### Plugin’s Hooks

 * `ArticleJsonLd\post_json_ld_data` A filter for a post JSON-LD data.
 * `ArticleJsonLd\post_author_json_ld_data` A filter for a post author JSON-LD data.
 * `ArticleJsonLd\post_publisher_json_ld_data` A filter for a post publisher JSON-
   LD data.

#### Contributing

Developers can contribute to the source code on the [Github Repository](https://github.com/nash-ye/wp-article-json-ld).

## Installation

 1. Upload and install the plugin
 2. Use the plugin WP filters to customize the data.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Article JSON-LD” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Nashwan D ](https://profiles.wordpress.org/alex-ye/)

[Oversæt “Article JSON-LD” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/article-json-ld)

### Interesseret i udvikling?

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

## Ændringslog

#### 0.3

 * Add compatibility for latest version of WordPress SEO by Yoast.

#### 0.2.1

 * Add the ‘description’ property and use `get_the_excerpt()` to get the value.
 * Use the ISO 8601 format for ‘datePublished’ and ‘dateModified’ properties.
 * Use `get_the_title()` to get the `headline’ property value.
 * Some fixes and minor enhancements.

#### 0.2

 * The Initial version.

## Meta

 *  Version **0.3**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.5.18**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/article-json-ld/)
 * Tags
 * [JSON-LD](https://da.wordpress.org/plugins/tags/json-ld/)[microdata](https://da.wordpress.org/plugins/tags/microdata/)
   [rich snippets](https://da.wordpress.org/plugins/tags/rich-snippets/)[schema.org](https://da.wordpress.org/plugins/tags/schema-org/)
   [seo](https://da.wordpress.org/plugins/tags/seo/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/article-json-ld/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/article-json-ld/reviews/)

## Bidragsydere

 *   [ Nashwan D ](https://profiles.wordpress.org/alex-ye/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/article-json-ld/)