وضاحت
Worddown is a powerful WordPress plugin that enables you to export your pages and posts to markdown files, making them perfect for integration with AI chatbots and other markdown-based systems.
Key Features
- Export pages and posts to markdown files
- Support for custom page builders (ACF Flexible Content, Elementor, etc.)
- REST API endpoints for programmatic access
- WP-CLI commands for automation
- Multilingual support
- Background export mode for large sites
- Customizable HTML content filters
Export Methods
- WordPress Admin Dashboard
- WP-CLI Commands
- REST API Endpoints
WP-CLI Support
Export your content directly from the command line:
wp worddown export
For large sites, use background mode:
wp worddown export --background
REST API
Access export functionality programmatically through REST API endpoints:
- GET /wp-json/worddown/v1/files – List all exported markdown files
- GET /wp-json/worddown/v1/files/{post_id} – Get specific file content
- POST /wp-json/worddown/v1/export – Trigger export
Custom HTML Content Filters
Customize your markdown output using WordPress filters:
add_filter('worddown_custom_html_content', function($content, $post_id, $post_type) {
if ($post_type === 'page') {
$content .= '<div>My custom HTML for page ' . $post_id . '</div>';
}
return $content;
}, 10, 3);
Available Translations
- English
- Swedish (sv_SE)
Development
For development instructions and advanced usage, please visit the plugin repository.
Build Process
The plugin uses Vite for asset compilation. Development requirements:
- Node.js 16.0 or higher
- npm 8.0 or higher
انسٽاليشن
- Upload the plugin files to the
/wp-content/plugins/worddowndirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Configure the plugin settings through the ‘Worddown’ menu item in the WordPress admin panel
FAQ
-
Can I use this with my custom page builder?
-
Yes! Worddown provides filters that allow you to inject custom HTML content from any page builder before the markdown conversion process.
-
Does it support multisite?
-
Yes, Worddown works with WordPress multisite installations. You can use the –url parameter with WP-CLI commands to target specific subsites.
-
How do I handle large exports?
-
For large sites, we recommend using either the background mode via WP-CLI (
wp worddown export --background) or the REST API with the background parameter enabled.
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
“Worddown” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙواحد: “Worddown” 1 لوڪل ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.
ترجمو ڪريو “Worddown” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
= 1.1.1
* Fixes and improvements
= 1.1.0
* Implement atomic export using pending directory
* General improvements
1.0.0
- Initial release
