Legaciti for WP
Syncs People and Publications from api.legaciti.org with local caching and REST API fallback.
by Legaciti · github.com/quick-release/legaciti-for-wp · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/quick-release/legaciti-for-wp/archive/refs/heads/main.zipWordPress plugin that syncs people and publications from the Legaciti API into custom database tables (leg_*), exposes them via the plugin’s REST API, and serves public profile pages through rewrite rules and templates.
Custom post types are not used. Synced content is not mirrored into wp_posts; see the design note in thoughts/shared/designs/2026-04-08-legaciti-plugin-design.md and the updated plan in thoughts/shared/plans/2026-04-08-legaciti-plugin.md.
DDEV DNS Fix (cURL error 6)
If the People page shows Could not resolve host: api.legaciti.org, the WordPress runtime inside DDEV cannot resolve the API hostname.
- Create
./.ddev/docker-compose.dns.yaml:
services:
web:
dns:
- 1.1.1.1
- 8.8.8.8
- Restart DDEV:
ddev restart
- Verify DNS from inside the web container:
ddev ssh
getent hosts api.legaciti.org
- Re-run Check connectivity on the plugin People page.
Notes:
- In corporate/VPN environments, use your organization DNS servers instead of public resolvers.
- If the API is private/local, set
api_base_urlin plugin settings to a host reachable from the DDEV web container.