Cokar AI Content Team

Description

Cokar is a content team for your business: it plans, writes, illustrates and improves articles for your site. This plugin is the bridge: install it, connect in one click, and every finished article appears on your site on its own.

The plugin needs a Cokar account, and Cokar is a paid service (pricing). Without a connection the plugin does nothing.

  • One-click connect. Sign in to Cokar, choose the project for this site, approve. No passwords are shared: the plugin receives its own revocable token (OAuth 2 with PKCE).
  • Publishing your way. Publish right away, keep articles as drafts for review, or schedule them a set number of hours later or at a fixed time of day. Choose the author and the category.
  • Pictures in your own media library. Featured images and the pictures inside each article are copied into WordPress, so nothing is hot-linked.
  • SEO fields. The meta description, focus keyword and, for rewritten pages, the SEO title are written into Yoast SEO or Rank Math when one is active.
  • Improvements to existing pages, safely. When you approve a change to a page in Cokar, it is applied only if the page is still exactly the version the change was written for, and pictures and embeds already on the page are kept.
  • Replies to comments, with your approval. The team drafts a reply to a comment nobody answered; it is posted only after you approve it in Cokar.
  • The team knows your site. Published posts and pages (with their publish date, author, featured image and SEO fields), approved comments (name and text only), categories and tags are shared so the team can link to them, refresh older posts and never repeat a topic you already cover.
  • Which articles lead to a sale. On Cokar’s own articles, clicks on links in the text that lead toward a sale (a product or cart page, a phone number, WhatsApp, Telegram, Instagram, a contact, booking or sign-up page, an app store, an email address) are counted per day and kind, and sent to Cokar once a day. No cookies, no IP addresses, nothing about the reader. You can turn this off.
  • Reliable. A signed webhook publishes immediately; a check every five minutes is the safety net.
  • Status at a glance. A status page, an event log and Site Health checks.

Security

  • The token and webhook secret are stored encrypted with your site’s own salts.
  • The webhook is called only by Cokar, and every call must carry a valid HMAC-SHA256 signature with a timestamp within five minutes.
  • The token is only ever sent to Cokar’s own address; redirects are never followed.
  • All article HTML is filtered with wp_kses_post before it is saved.
  • Emails and IP addresses of commenters never leave your site.
  • Click counts on Cokar’s articles hold only the post, the day and the kind of link. Readers get no cookie and their IP address is never stored.
  • Disconnecting or deleting the plugin revokes the token on Cokar.

External services

This plugin connects your site to Cokar (https://cokar.ir), the service that writes the articles. It does nothing until a site administrator connects it, and it talks to no other service.

What is sent to Cokar, and when:

  • When you connect: your browser is sent to Cokar’s connect page (https://cokar.ir/connect) to sign in and approve. The site then exchanges the one-time code for its token and tells Cokar its address, its WordPress and plugin versions, the SEO plugin it uses, its publish mode, time zone and language, and the address of its webhook.
  • Every five minutes, and whenever Cokar’s webhook arrives: the site asks Cokar for waiting articles, downloads them and their pictures from Cokar’s address, and reports back what it published (the post’s ID, address and status).
  • When posts, pages, comments or terms change, and once after connecting: published posts and pages (title, address, content, excerpt, dates, author’s display name, featured image address, categories, tags and SEO fields), approved comments (the commenter’s name and the comment’s text only; never emails or IP addresses), and the site’s categories and tags. Pages and comments can be left out under Settings Cokar Publishing.
  • Once a day: how many clicks toward a sale each of Cokar’s articles had, per day and kind of link. No cookie, IP address or anything else about the reader. This can be turned off in the same place.
  • When you disconnect or delete the plugin: a request that revokes the token.

Cokar’s terms of service and privacy policy.

Installation

  1. In WordPress go to Plugins Add New, search for “Cokar AI Content Team”, install and activate. You can also download the plugin from your Cokar project’s settings (Site connection and API) and upload the zip under Plugins Add New Upload Plugin.
  2. Go to Settings Cokar and press “Connect in one click”.
  3. Approve the connection in Cokar. You come straight back, connected.

To use a token instead, make one with full access in Cokar and paste it under “Connect with an API token instead”.

If WordPress cron is disabled on your server (DISABLE_WP_CRON), the plugin still publishes when Cokar’s webhook arrives; a server cron that calls wp-cron.php every few minutes makes the five-minute check reliable too.

FAQ

Do I need a Cokar account?

Yes. The plugin publishes what Cokar’s team writes for your site, so it needs a Cokar project for this site. Sign up at https://cokar.ir.

Do I need to write any code?

No. Everything is set from Settings Cokar.

Can I review articles before they go live?

Yes. Choose “Keep as a draft for me to review” under Publishing. Cokar counts an article as published when you publish it.

My host cannot reach Cokar and connecting fails.

Some hosts cannot reach Cokar’s public address. Download the plugin from your Cokar project’s settings instead: that copy also knows Cokar’s direct address and uses it when the public one does not answer.

I had the plugin before version 2.0.

Nothing to do. Its connection, settings and published articles are carried over the first time version 2.0 runs, whether it was updated in place or installed beside the old copy. An older copy is turned off and can then be deleted under Plugins.

What happens if I disconnect?

The token is revoked on Cokar and nothing more arrives. Articles already published stay exactly as they are.

My site is not WordPress.

Cokar has a public API for any platform. See the API guide in Cokar.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Cokar AI Content Team” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.3.0

  • The article data for search engines (schema.org) now always carries its dates in the international format, also on sites that show dates in the Persian calendar.
  • The focus keyword is no longer added as a tag unless you turn it on under Settings Cokar Publishing: a tag used by one article makes a thin archive page that competes with the article itself.

2.2.0

  • When none of your categories fits an article, Cokar can ask for a new one; the plugin makes it once, files the article in it and tells Cokar about it. Cokar adds at most three new categories a month.

2.1.0

  • Each new article goes in the one of your site’s categories Cokar chose for it; the category under Settings Cokar Publishing is used when none was chosen.

2.0.0

  • Ready for WordPress.org: the plugin’s folder and text domain are now cokar-connector, and its options, schedules and fields carry the cokar prefix.
  • A site that had an earlier version keeps its connection, settings and published articles: they are carried over once, Cokar is told the webhook’s new address, and an older or second copy of the plugin is turned off so only one runs.
  • Counting clicks toward a sale can be turned off under Settings Cokar Publishing.
  • wp-config.php constants are now COKAR_STUDIO_URL and COKAR_DIRECT_URL.
  • Tested up to WordPress 7.1.

1.8.0

  • Replies to readers’ comments: the Cokar team drafts a reply to a comment nobody answered, the site owner reads, edits and approves it in Cokar, and only then it is posted under that comment as the site’s own reply (by the author articles are published as). The same reply is never posted twice.
  • Comments sent to Cokar say whether they were written by someone who runs the site, so Cokar can tell which comments still wait for an answer.

1.7.0

  • Publishing no longer waits for WordPress cron. When Cokar sends new work, or has not heard from the site for a while, its webhook runs the regular check right away in that same request: waiting articles are published, changes are sent and the first sync goes on. Sites with DISABLE_WP_CRON and no server cron, or with few visitors, now publish on time.

1.6.0

  • On Cokar’s articles, clicks on links that lead toward a sale (product or cart pages, phone, WhatsApp, Telegram, Instagram, contact, booking and sign-up pages, app stores, email) are counted and sent to Cokar once a day, so the team learns which articles bring customers. Only the post, the day and the kind of link are kept: no cookies, no IP addresses.

1.5.0

  • Pictures inside an article are linked to their copy in the media library, so WordPress serves smaller sizes to phones. The featured image keeps a description of what it shows, and its file is named after the article.
  • On a site without Yoast or Rank Math, an article from Cokar carries its schema (author, publish and update dates, image), so Google reads who wrote it and when it changed.

1.4.1

  • Cokar now lives at https://cokar.ir. A copy downloaded from Cokar already knows its address; this is only the fallback for one that does not.

1.4.0

  • Each post now tells Cokar when it was published, who wrote it, its featured image and its SEO fields, so the team can tell which older posts need a refresh and never repeats a topic the site already covers. After the update everything is sent once more.

1.3.0

  • Content Studio is now Cokar: the plugin, its settings page, Site Health checks and messages carry the new name.

1.2.0

  • A site whose host cannot reach Cokar’s public address falls back to its direct address.

1.1.0

  • New articles are handled the moment the webhook arrives, even on a site with no visitors at that time.
  • The first change of the publish mode away from the defaults now reaches Cokar too.
  • A full sync replaces Cokar’s list of pages, so posts deleted while disconnected no longer linger there.
  • A token from another site’s project, or for a project already connected elsewhere, is refused with a clear message.
  • The reason a connection or test failed is shown right in the notice.
  • The event log names each job, and why a connection ended, in plain words.
  • Cokar’s articles are marked in the posts list.

1.0.0

  • First release: one-click connect, publish modes, media library copies, Yoast SEO and Rank Math fields, safe page updates, site sync, signed webhooks, status page and Site Health checks.