Title: OpenPublishing
Author: openpublishing
Published: <strong>3. meje 2018</strong>
Last modified: 29. meje 2020

---

Tykače pytać

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

![](https://ps.w.org/openpublishing/assets/icon-128x128.png?rev=1868196)

# OpenPublishing

 Wot [openpublishing](https://profiles.wordpress.org/openpublishing/)

[Sćahnyć](https://downloads.wordpress.org/plugin/openpublishing.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/openpublishing/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/openpublishing/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/openpublishing/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/openpublishing/#developers)

 [Podpěra](https://wordpress.org/support/plugin/openpublishing/)

## Wopisanje

To visualize Open Publishing data on your page please use smart substitution tags
in place you want to insert a data, like so `[large_document_view:document.123]`
or `[sidebar:newest.1:de]`

This substitution tag will be replaced by the data this plugin retrieve from OP 
server.

Smart substitution notation contain: `[ "tag_name":"object"."object_id":"language"]`

language is an optional parameter, use it to get language specific results. Possible
values: `en`, `de`, `fr`, `es`.

You can use: `document`, `bestseller`, `newest`, `most_read` objects.

Also you can access document count from brand statistics.
 To print document count
use ‚openpublishing_document_count‘ option.

#### Special Features

**Openpublishing substitution**
 To make substitution work please create templates
for each tag_name you would like to use. You can do this in two different ways.

 * Using Elementor plugin:
    1. Go to Elementor [page](https://hsb.wordpress.org/wp-admin/edit.php?post_type=elementor_library)
    2. Create new template, remember a template id (you can see it in the edit url)
    3. You can easily style your template by means of Elementor
 * Using WordPress posts:
    1. Go to Pages > Add New
    2. Create new post and treat it like a template, remember a template id (you can
       see it in the edit url)
    3. (Optional) you can assign special category (like op-templates) to each post 
       to distinguish between others
    4. Use special keywords in your template:`{title} {subtitle} {price} {grin_url}{
       source_url} {document_id} {cdn_host} {realm_id}`

Add newly created templates/posts on this page with corresponding ids.

### Usage:

To use substitution please insert into your page this tag with desired ‚tag_name‘
and ‚object_id‘ like:

    ```
    <h2>Our bestsellers:</h2>
      <div>[large_document_view:bestseller.1] [large_document_view:bestseller.2] [large_document_view:bestseller.3]</div>
    ```

This tags should be replaced right away.

**Openpublishing document count**
 There is a scheduled job which is retrieving 
the brand statistics from OP server and saves the value to Document count on a daily
basis.

### Debug:

To debug plugin work please add next code into your page after all text:

    ```
    <script type="text/javascript">
      var debug = document.getElementsByClassName("OP_debug");
      for(i=0; i<debug.length; i++) { debug[i].style.display = 'inline'; }
    </script>
    ```

This will allow you to see some more information about substitution.

## Instalacija

 1. Install using the WordPress built-in Plugin installer, or clone repository and 
    drop the contents in the `wp-content/plugins/openpublishing` directory of your 
    WordPress installation.
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
 3. Go to Open Publishing settings on left menu bar
 4. Proceed with further instructions: set realm id, brand name and API host.

## Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

## Sobuskutkowarjo a wuwiwarjo

„OpenPublishing“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej
přinošowali.

Sobuskutkowarjo

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

[Přełožće „OpenPublishing“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/openpublishing)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/openpublishing/), hladajće
do [SVN-repozitorija](https://plugins.svn.wordpress.org/openpublishing/) abo abonujće
[wuwiwanski protokol](https://plugins.trac.wordpress.org/log/openpublishing/) přez
[RSS](https://plugins.trac.wordpress.org/log/openpublishing/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.6**
 *  Last updated **6 lět**
 *  Active installations **10+**
 *  WordPress version ** 3.1 abo nowši **
 *  Tested up to **5.3.23**
 *  Language
 * [English (US)](https://wordpress.org/plugins/openpublishing/)
 * Tags
 * [books](https://hsb.wordpress.org/plugins/tags/books/)[ebook](https://hsb.wordpress.org/plugins/tags/ebook/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/openpublishing/advanced/)

## Pohódnoćenja

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/openpublishing/reviews/)

## Sobuskutkowarjo

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

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/openpublishing/)