--- layout: docs title: WordPress prev_section: typo link_source: wordpress next_section: wordpressdotcom permalink: /docs/wordpress/ --- To import your posts from a self-hosted [WordPress](http://wordpress.org) installation, run: {% highlight bash %} $ ruby -rubygems -e 'require "jekyll-import"; JekyllImport::Importers::WordPress.run({ "dbname" => "", "user" => "", "password" => "", "host" => "localhost", "socket" => "", "table_prefix" => "wp_", "clean_entities" => true, "comments" => true, "categories" => true, "tags" => true, "more_excerpt" => true, "more_anchor" => true, "status" => ["publish"] })' {% endhighlight %} None of the fields are required. Their defaults are as you see above.
This only imports post & page data & content

This importer only converts your posts and creates YAML front-matter. It does not import any layouts, styling, or external files (images, CSS, etc.).