=== Todoist Task Sync by Volade ===
Contributors: volade
Tags: todoist, tasks, productivity, sync, comments
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Sync WordPress with Todoist — list and create tasks in wp-admin, optional post/comment hooks, [tds_tasks] shortcode, 4 presets and free JSON export.

== Description ==

Todoist Task Sync by Volade connects [Todoist](https://todoist.com) to WordPress.

* Masked API token — or override via `TDS_API_TOKEN` / `TODOIST_API_TOKEN` in wp-config.php (no secrets in repo)
* API client — `wp_remote_get/post` to Todoist REST API v2 with Bearer token
* Dashboard — list open tasks from default project, create tasks, refresh + transient cache
* Optional wp-admin dashboard widget (lite)
* Test connection button
* Optional hooks — pending comments and new drafts → Todoist tasks (toggleable)
* 4 presets: Editorial Queue, Support Inbox, Agency Handoff, Personal Inbox
* Public shortcode `[tds_tasks]` for read-only open task lists
* Site Health test, REST `tds/v1`, WP-CLI `wp tds`, free JSON export

Works without a Volade account. Connect for REST automation. V+ for multisite.

== Installation ==

1. Upload the ZIP via Plugins → Add New → Upload
2. Activate Todoist Task Sync by Volade
3. Add your Todoist API token and default project ID
4. Refresh tasks and apply a preset

Optional in wp-config.php:

`define( 'TDS_API_TOKEN', '…' );`

== Frequently Asked Questions ==

= Where do I get a Todoist token? =

In Todoist → Settings → Integrations → Developer — create an API token.

= How do I find my project ID? =

Use Todoist REST API or browser dev tools when opening a project — the numeric project ID is required for listing tasks.

= What if no token is set? =

The admin dashboard shows setup notices; the shortcode renders a graceful placeholder without exposing errors.

== Changelog ==

= 1.0.0 =
* Initial release — settings, API client, tasks dashboard, sync hooks, presets, export, REST and WP-CLI.
