Devto Wp Importer
Import articles from your dev.to profile to WordPress dashboard
by WeLabs · github.com/aminurislamarnob/devto-wp-importer · 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/aminurislamarnob/devto-wp-importer/archive/refs/heads/feat%2Ffull-sync-devto-importer.zipReadme
Devto WP Importer
A WordPress plugin that imports your Dev.to articles into WordPress posts with one click.
It includes duplicate prevention via Dev.to article ID mapping and incremental updates on subsequent imports.
Features
- One-click import from the WordPress admin dashboard (
Tools -> Dev.to Importer) - Duplicate prevention using post meta mapping (
_devto_wp_importer_devto_id) - Smart updates using Dev.to
edited_atchange detection - Full content import (title, HTML body, excerpt, tags, and metadata)
- Cover image sideloading to featured image
- Configurable post status, author, and import scope (published or all)
- Encrypted API key storage
- Extensible via plugin-specific actions and filters
Installation
- Place this plugin in your
wp-content/plugins/directory. - Run
composer install. - Activate the plugin from WordPress admin.
- Go to
Tools -> Dev.to Importer. - Enter your Dev.to API key (from dev.to/settings/extensions).
- Click Import Articles from Dev.to.
Development
Install development dependencies:
composer install
Update dependency versions from composer.json (modifies composer.lock):
composer update
Run PHPCS:
composer phpcs
Auto-fix with PHPCBF:
composer phpcbf
Production Build
Install production dependencies only:
composer install --optimize-autoloader --no-dev -q
Build release package:
chmod +x bin/build.sh
bin/build.sh
Architecture
See DEVELOPMENT-PLAN.md for detailed architecture, API behavior, mapping rules, and import workflow.
Extensibility
Filters
devto_wp_importer_api_request_argsdevto_wp_importer_should_import_articledevto_wp_importer_article_post_datadevto_wp_importer_post_statusdevto_wp_importer_article_meta_data
Actions
devto_wp_importer_before_importdevto_wp_importer_after_importdevto_wp_importer_article_importeddevto_wp_importer_article_updateddevto_wp_importer_article_skipped