Skip to content

Commit efde585

Browse files
dd32claude
andauthored
Update README with project description and Playground link (#7)
* Update README with project description and Playground link Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix Playground link to use git:directory blueprint The simple ?plugin= parameter doesn't support GitHub repo URLs. Use an inline blueprint with git:directory resource instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix Playground link to use base64-encoded blueprint Percent-encoded JSON caused 'Invalid blueprint' errors. Base64 encoding is the recommended format for blueprint URLs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Commit build assets for Playground and direct GitHub installs Remove build/ from .gitignore and commit compiled JS/CSS so the plugin works when loaded directly from the repository. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a2f7fd2 commit efde585

6 files changed

Lines changed: 43 additions & 3 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules/
22
vendor/
3-
build/
43
*.log
54
package-lock.json
65
composer.lock

README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,38 @@
1-
# multi-author-posts
2-
A WordPress plugin to allow multi-author posts
1+
# Multi-Author Posts
2+
3+
A WordPress plugin that allows multiple authors to edit a single post via shared invite links. Compatible with WordPress collaborative editing.
4+
5+
[Test in WordPress Playground](https://playground.wordpress.net/#eyJsYW5kaW5nUGFnZSI6Ii93cC1hZG1pbi9wb3N0LW5ldy5waHAiLCJsb2dpbiI6dHJ1ZSwic3RlcHMiOlt7InN0ZXAiOiJpbnN0YWxsUGx1Z2luIiwicGx1Z2luRGF0YSI6eyJyZXNvdXJjZSI6ImdpdDpkaXJlY3RvcnkiLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vZGQzMi9tdWx0aS1hdXRob3ItcG9zdHMiLCJyZWYiOiJIRUFEIiwicmVmVHlwZSI6InJlZm5hbWUifX1dfQ==)
6+
7+
## Features
8+
9+
- **Co-author management** -- Add or remove co-authors from any post via the block editor sidebar panel.
10+
- **Shared invite links** -- Generate a shareable URL that lets any registered user join as a co-author.
11+
- **Capability-aware** -- Co-authors can edit and read their assigned posts without gaining broader site permissions.
12+
- **Multisite support** -- Invited users are automatically added to the site with a subscriber role so they can access the editor.
13+
- **Author preservation** -- When a post's author is reassigned, the previous author is automatically kept as a co-author.
14+
15+
## Requirements
16+
17+
- WordPress 6.6+
18+
- PHP 7.4+
19+
- Node.js 20+ (for development)
20+
21+
## Development
22+
23+
```bash
24+
# Install dependencies
25+
npm install
26+
27+
# Start the development environment
28+
npm run env:start
29+
30+
# Build the editor assets
31+
npm run build
32+
33+
# Run JavaScript tests
34+
npm run test:unit
35+
36+
# Run PHP tests (requires wp-env)
37+
npm run test:php
38+
```

build/index-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.asset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'e44cf7ba85b1a87d62e8');

build/index.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)