How to migrate the posts from an old custom legacy blog to a new WordPress website?

Old unanswered question, but found this via the googles (1st answer) that appears to have good info / links (might be useful to someone): What is the required format for importing posts into WordPress? Plus this one from the Codex, which has info on importing from all sorts of formats, including RSS and XML. https://codex.wordpress.org/Importing_Content … Read more

error establishing a database connection

Are you still facing the issue? I might be able to help you out. Here are some more reasons why it might be happening: A corrupted database – Bad plugins, addons, themes and data-transfer interruptions might leave your database short of tables or completely corrupted at worst. Corrupted WordPress files Found this on: http://www.wpkube.com/how-to-fix-error-establishing-database-connection-in-wordpress/

Change setting name in Customizer and keep the data

Personally I think keeping your mods in an array is a nice solution, but transferring them shouldn’t be too difficult. Just loop through the array like this: $all_mods = get_theme_mod(‘thefunk_theme_options’); // retrieve array foreach ($all_mods as $key -> $value) { if (!empty($value)) set_theme_mod ($key,$value); // set array element as separate mod } Since you have … Read more