Export postmeta (custom fields)

For plugin “All Export”: Create the necessary functions and give it to save and then in each created field add the name of the function corresponding to the necessary field and the variable containing the data is $value, example: function address($value){ $data = maybe_unserialize($value); $data = $data[address]; return $data; } function latitud($value){ $data = maybe_unserialize($value); … Read more

How to assign name the WordPress export.xml file

By default, the filename is defined in /wp-admin/includes/export.php: $sitename = sanitize_key( get_bloginfo( ‘name’ ) ); if ( ! empty( $sitename ) ) { $sitename .= ‘.’; } $date = gmdate( ‘Y-m-d’ ); $wp_filename = $sitename . ‘WordPress.’ . $date . ‘.xml’; And you can filter it: $filename = apply_filters( ‘export_wp_filename’, $wp_filename, $sitename, $date ); So … Read more

Migrating to Tumblr [closed]

I’m thinking if there’s no easy way, I could process a WordPress export and use the Tumblr API write method to re-create all the posts, including date and slug… the URLs are likely to end up a little different, though, so I might need to use some mod-rewrite magic until Google picks up on the … Read more

Importer fails to import every post

Open the WXR in a text editor and see if it contains posts from later years. If not, you will need to revisit your export settings from WP.com to make sure you’re pulling all posts. If it does contain posts from these years, there might be a non UTF8 character breaking the import. You should … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)