WP Manifestindependent plugin directory
manifest / integrations / devto-wp-importer

Devto Wp Importer

Import articles from your dev.to profile to WordPress dashboard

by WeLabs · github.com/aminurislamarnob/devto-wp-importer · website

0stars
0forks

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.zip

Readme

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_at change 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

  1. Place this plugin in your wp-content/plugins/ directory.
  2. Run composer install.
  3. Activate the plugin from WordPress admin.
  4. Go to Tools -> Dev.to Importer.
  5. Enter your Dev.to API key (from dev.to/settings/extensions).
  6. 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_args
  • devto_wp_importer_should_import_article
  • devto_wp_importer_article_post_data
  • devto_wp_importer_post_status
  • devto_wp_importer_article_meta_data

Actions

  • devto_wp_importer_before_import
  • devto_wp_importer_after_import
  • devto_wp_importer_article_imported
  • devto_wp_importer_article_updated
  • devto_wp_importer_article_skipped

Read the full README on GitHub →