With WordPress Importer, why can’t I import post meta containing a multi-dimensional array, in which value(s) of that array contain line breaks?

I would wage that your issue is with \r\n (CRLF). If the newlines are created in Windows, they’ll go into the database as \r\n and when serialized get counted as 2 characters. Then when importing, they’ll only be counted as 1 character and they’ll corrupt the string. I tested this hypothesis and sure enough I … Read more

One Click demo content installation feature in WordPress theme options panel

if you check the WordPress importer plugin it is easy to implement this feature. But if you want the direct answer , here it is First of all, we need to copy the WordPress importer plugin files to our theme directory. like this 1. themes/bootstrapguru_theme/inc/wordpress-importer.php 2. themes/bootstrapguru_theme/inc/parser.php you can find this plugin here wordpress importer … Read more

How to add featured thumbnail into import XML?

Got a working solution, This is the post item <item> <title>title1</title> <pubdate>2013-02-20 10:33:58</pubdate> <dc:creator> <![CDATA[ David Jennings ]]> </dc:creator> <guid ispermalink=”false”>http://wordpress/?p=1234</guid> <description> <title>Title</title> </description> <content:encoded> <![CDATA[ABCD]]> </content:encoded> <excerpt:encoded> <![CDATA[ ]]> </excerpt:encoded> <wp:post_id>1234</wp:post_id> <wp:post_date>2013-02-20 10:33:00</wp:post_date> <wp:post_date_gmt>2013-02-20 10:33:00</wp:post_date_gmt> <wp:comment_status>open</wp:comment_status> <wp:comment_status>open</wp:comment_status> <wp:ping_status>open</wp:ping_status> <wp:post_name>title1</wp:post_name> <wp:status>publish</wp:status> <wp:post_parent>0</wp:post_parent> <wp:menu_order>0</wp:menu_order> <wp:post_type>post</wp:post_type> <wp:post_password></wp:post_password> <wp:is_sticky>0</wp:is_sticky> <category domain=”category” nicename=”blog”> <![CDATA[ blog ]]> </category> <wp:postmeta> <wp:meta_key>_thumbnail_id</wp:meta_key> … Read more

Export navigation menu

WordPress has an Import/Export tool, but it doesn’t works with nav menus only, the “All Content” option will export the menus too, but with everything else that is in your site (including posts/pages in the trash) you can try this plugin so the Menu option shows in the Export page.

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