Substack Importer
The Substack Importer allows you to import content from a Substack newsletter into your WordPress site.
Utiliser avec prudence
Substack Importer works, but test it on a staging site before relying on it in 2026. It runs on 1K+ sites, is rated 2.8/5 and was last updated 7 months ago, and scores 42/100 on our health check.
- Momentum — downloads up 31.9% vs the previous 30 days
- Note basse jusqu'à présent — 2,8/5 sur seulement 4 avis
- Uniquement testé jusqu'à WordPress 6,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Substack Importer stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| importeur | #31 |
| substack | #2 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 2.8 from 4 reviews
About Substack Importer
À partir du Lisezmoi officiel · v1.2.0Description
The Substack Importer will import content from an export file downloaded from your Substack newsletter.
The following content will be imported:
- Posts and images.
- Podcasts.
- Comments (only for publicly accessible posts).
- Author information.
In the future, we plan to improve the importer by:
- Mailing lists.
- Enhancing the performance of processing export files with many posts and media.
Développement
For running unit tests and contributing to the plugin, see the README on GitHub.
Tests can be run with wp-env or with any local WordPress setup paired with a Docker MySQL container. Run composer install first, then vendor/bin/phpunit.
Crochets
The Substack Importer provides filters and actions at key stages of the content conversion pipeline.
Post-level Filters
substack_importer_post_meta
Filter the post metadata loaded from the Substack API before it is used for author, comments, and other post data.
Parameters:
* $post_meta (array|null) – The post metadata from the Substack API response.
* $post (array) – The raw Substack post data from the CSV.
* $id (int) – The Substack post ID.
substack_importer_raw_content
Filter the raw HTML content before Gutenberg conversion. Runs after the subtitle has been prepended (if present). Useful for cleaning up Substack-specific HTML, adding custom elements, or stripping unwanted markup.
Parameters:
* $html_body (string) – The raw HTML content from the Substack export.
* $post (array) – The raw Substack post data from the CSV.
* $post_meta (array|null) – The post metadata from the Substack API response.
substack_importer_subtitle
Filter the subtitle HTML before it is prepended to the post content. Return an empty string to skip the subtitle entirely.
Parameters:
* $heading (string) – The subtitle HTML (default: an h2 element).
* $post (array) – The raw Substack post data.
substack_importer_post_content_after_conversion
Filter the post content after Gutenberg conversion but before it is added to the WXR. Useful for wrapping paywalled content in custom blocks (e.g., membership plugins).
Parameters:
* $post_content (string) – The converted Gutenberg block content.
* $post (array) – The original Substack post data.
* $post_meta (array|null) – Additional post metadata from Substack API.
substack_importer_post_data
Filter the final post data array before it is added to the WXR.
Parameters:
* $post_data (array) – The post data.
* $post (array) – The original Substack post data.
Content Conversion Filters
substack_importer_converted_node
Filter the result of a single node conversion to a Gutenberg block. Allows modification of the block name and attributes. Return a null block_name to skip the node.
Parameters:
* $block_data (array) – Array with ‘block_name’ and ‘block_attributes’ keys.
* $node (DOMElement) – The converted DOM node.
* $node_name (string) – The original HTML tag name (e.g. ‘p’, ‘div’, ‘h2’).
substack_importer_image_result
Filter the image node conversion result. Useful for adjusting image sizes, captions, or link destinations.
Parameters:
* $result (array) – Array with ‘block_attributes’ and ‘node’ keys.
* $image_data (array|null) – The decoded image data from the Substack data-attrs attribute.
substack_importer_pre_embed_conversion
Short-circuit the embed node conversion before default handling. Return a non-null array to skip the built-in switch statement entirely. Useful for handling unsupported embed types or overriding the default conversion for a specific provider.
Parameters:
* $pre_result (array|null) – Return non-null to short-circuit. Expected keys: ‘node’, ‘block_attributes’, ‘block_name’.
* $node (DOMElement) – The embed DOM node before conversion.
* $parent (DOMElement) – The parent DOM element.
* $first_class (string) – The CSS class identifying the embed type (e.g. ‘youtube-wrap’, ‘tweet’).
substack_importer_embed_result
Filter the embed node conversion result after the default conversion. Useful for modifying embed URLs, adding custom attributes, or changing how embeds are represented.
Parameters:
* $output (array) – Array with ‘block_name’, ‘block_attributes’, and ‘node’ keys.
* $first_class (string) – The CSS class identifying the embed type.
substack_importer_audio_block
Filter the Gutenberg audio block HTML for podcast posts.
Parameters:
* $block (string) – The Gutenberg audio block HTML.
* $audio_url (string) – The URL of the podcast audio file.
Paywall Filters
substack_importer_paywall_marker_text
Filter the paywall marker text that appears in the imported content.
Parameters:
* $marker_text (string) – The default paywall marker text.
* $node (DOMElement) – The paywall node being converted.
* $parent (DOMElement) – The parent element.
substack_importer_paywall_content
Filter the entire paywall conversion result. Return a non-null value to override the default conversion.
Parameters:
* $result (array|null) – The conversion result, null to use default.
* $node (DOMElement) – The paywall node being converted.
* $parent (DOMElement) – The parent element.
Actes
substack_importer_before_post
Fires before a single Substack post is processed and converted. Useful for setting up state or performing actions before conversion begins.
Parameters:
* $post (array) – The raw Substack post data from the CSV.
* $post_meta (array|null) – The post metadata from the Substack API response.
* $id (int) – The Substack post ID.
substack_importer_after_post
Fires after a single Substack post has been converted and added to the WXR. Useful for logging, progress tracking, or performing cleanup after each post.
Parameters:
* $post_data (array) – The final post data that was added to the WXR.
* $post (array) – The raw Substack post data from the CSV.
* $post_meta (array|null) – The post metadata from the Substack API response.
* $id (int) – The Substack post ID.
Installation
This plugin depends on the WordPress Importer plugin which needs to be installed first.
To install the Substack Importer:
- Téléchargez le répertoire
substack-importerdans le répertoire/wp-content/plugins/ - Activez le plugin via le menu « Plugins » dans WordPress
Journal de modifications
1.2.0
- Compatibility: the plugin now requires PHP 7.4 or higher.
- Enhancement: added new pre-import options for forcing Draft status, choosing publish date mode, setting the first image as Featured Image, and applying a global Category/Tag.
- Enhancement: improved import behavior handling for featured image assignment and post metadata processing during import.
- Enhancement: added
substack_importer_paywall_marker_textfilter to customize paywall marker text. - Enhancement: added
substack_importer_paywall_contentfilter to override paywall block conversion. - Enhancement: added
substack_importer_post_content_after_conversionfilter to modify content after Gutenberg conversion. - Enhancement: added
substack_importer_raw_contentfilter to modify raw HTML before Gutenberg conversion. - Enhancement: added
substack_importer_subtitlefilter to customize or skip the subtitle heading. - Enhancement: added
substack_importer_post_metafilter to modify post metadata before processing. - Enhancement: added
substack_importer_converted_nodefilter to customize individual block conversions. - Enhancement: added
substack_importer_image_resultfilter to modify image block attributes. - Enhancement: added
substack_importer_embed_resultfilter to modify embed block results after conversion. - Enhancement: added
substack_importer_pre_embed_conversionfilter to short-circuit embed conversion before default handling. - Enhancement: added
substack_importer_audio_blockfilter to customize the podcast audio block. - Enhancement: added
substack_importer_before_postaction that fires before each post is processed. - Enhancement: added
substack_importer_after_postaction that fires after each post is added to the WXR.
1.1.2
- Enhancement: support captions for images.
- Enhancement: support TikTok embeds
- Compatibility: the plugin now requires PHP 7.2 or higher.
- Fix: convert preformatted content to verse block.
- Fix: twitter conversion bug.
1.1.1
- Tested up to WordPress 6.7
- Fix: null checking
1.1.0
- Update
wxr-generatorto latest version. Fixes a bug where imports could error out due to a misformed timezone identifier.
1.0.9
- Use subtitle as post excerpt if not empty
- Testing the plugin up to WordPress 6.4.2
- Fix PHPCS error and cleanup composer.lock
1.0.8
- Removed the subscription input from post content
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Substack Importer alternatives
All importer plugins →FAQ
Substack Importer: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Substack Importer free?
Yes. Substack Importer is free to download and use from the official WordPress.org plugin directory.
Is Substack Importer safe to use in 2026?
Substack Importer works, but test it on a staging site before relying on it in 2026. It runs on 1K+ sites, is rated 2.8/5 and was last updated 7 months ago, and scores 42/100 on our health check.
How many websites use Substack Importer?
Substack Importer is active on 1K+ WordPress websites and has been downloaded 16,430 times since it launched in December 2020. It was downloaded 620 times in the last 30 days.
Does Substack Importer work with WordPress 7.1?
Substack Importer is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Substack Importer need?
Substack Importer requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Substack Importer last updated?
The latest version, 1.2.0, was released on April 22, 2026 (7 months ago).
Who makes Substack Importer?
Substack Importer is developed and maintained by WordPress.org.
What are the best alternatives to Substack Importer?
The most popular alternatives to Substack Importer are WordPress Importer (2M+ installs), Starter Templates & Sites P… (70K+ installs) and Blogger Importer (50K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
