Title: kjmagic13's Replies | WordPress.org

---

# kjmagic13

  [  ](https://wordpress.org/support/users/kjmagic13/)

 *   [Profile](https://wordpress.org/support/users/kjmagic13/)
 *   [Topics Started](https://wordpress.org/support/users/kjmagic13/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kjmagic13/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kjmagic13/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kjmagic13/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kjmagic13/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kjmagic13/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Ultimate CSV Importer – Import CSV, XML & Excel into WordPress] New version of plugin interferes with edit post page styles](https://wordpress.org/support/topic/new-version-of-plugin-interferes-with-edit-post-page-styles/)
 *  [kjmagic13](https://wordpress.org/support/users/kjmagic13/)
 * (@kjmagic13)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/new-version-of-plugin-interferes-with-edit-post-page-styles/#post-4679143)
 * My apologies, I created a new [topic](http://wordpress.org/support/topic/bootstrap-css-alters-wysiwyg-throughout-wp-admin)
   with this exact issue.
 * Consider the following changes to the _action\_admin\_init_ function in the plugin’s
   index.php file and replacing the _admin\_init_ action with _admin\_enqueue\_scripts_
   per [Targeting a Specific Admin Page](http://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts#Example:_Target_a_Specific_Admin_Page)
 *     ```
       function action_admin_init($hook)
       {
       	if( 'toplevel_page_wp-ultimate-csv-importer/index' != $hook ) { return; }
       	...
       }
       add_action('admin_enqueue_scripts', 'action_admin_init');
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Ultimate CSV Importer – Import CSV, XML & Excel into WordPress] Bootstrap CSS alters WYSIWYG throughout WP admin](https://wordpress.org/support/topic/bootstrap-css-alters-wysiwyg-throughout-wp-admin/)
 *  Thread Starter [kjmagic13](https://wordpress.org/support/users/kjmagic13/)
 * (@kjmagic13)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/bootstrap-css-alters-wysiwyg-throughout-wp-admin/#post-4681698)
 * Consider the following changes to the _action\_admin\_init_ function in the plugin’s
   index.php file and replacing the _admin\_init_ action with _admin\_enqueue\_scripts_
   per [Targeting a Specific Admin Page](http://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts#Example:_Target_a_Specific_Admin_Page)
 *     ```
       function action_admin_init($hook)
       {
       	if( 'toplevel_page_wp-ultimate-csv-importer/index' != $hook ) { return; }
       	...
       }
       add_action('admin_enqueue_scripts', 'action_admin_init');
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GEO my WP] [Plugin: GEO my WP] Getting array_chunk() Error on Search Results page.](https://wordpress.org/support/topic/plugin-geo-my-wp-getting-array_chunk-error-on-search-results-page/)
 *  Thread Starter [kjmagic13](https://wordpress.org/support/users/kjmagic13/)
 * (@kjmagic13)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-geo-my-wp-getting-array_chunk-error-on-search-results-page/#post-3025271)
 * That’s what it was. Thanks so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Contact Forms] [Plugin: Custom Contact Forms] cannot manage forms or fields](https://wordpress.org/support/topic/plugin-custom-contact-forms-cannot-manage-forms-or-fields/)
 *  [kjmagic13](https://wordpress.org/support/users/kjmagic13/)
 * (@kjmagic13)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-contact-forms-cannot-manage-forms-or-fields/#post-2825136)
 * I’m having a similar issue. I can click on the ‘Options’ button to edit my form
   info, but I cannot attach any fields to the form.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CSV Importer] [Plugin: CSV Importer] Setting serialized meta to not be reserialized on import](https://wordpress.org/support/topic/plugin-csv-importer-setting-serialized-meta-to-not-be-reserialized-on-import/)
 *  [kjmagic13](https://wordpress.org/support/users/kjmagic13/)
 * (@kjmagic13)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-csv-importer-setting-serialized-meta-to-not-be-reserialized-on-import/#post-2570793)
 * I had the same issue while trying to mass import products into eShop. Around 
   line 539 of the _csv\_importer.php_ file I, using WordPress’s _[is\_serialized()](http://codex.wordpress.org/Function_Reference/is_serialized)_
   function, edited the _create\_custom\_fields()_ function to unserialize any values
   to be added to the post meta. In turn _[add\_post\_meta()](http://codex.wordpress.org/Function_Reference/add_post_meta)_
   re-serializes any arrays passed through the _$meta\_value_ (third) parameter.
 *     ```
       function create_custom_fields($post_id, $data) {
           foreach ($data as $k => $v) {
               // anything that doesn't start with csv_ is a custom field
               if (!preg_match('/^csv_/', $k) && $v != '') {
                   // if value is serialized unserialize it
                   if( is_serialized($v) ) {
                       $v = unserialize($v);
                       // the unserialized array will be re-serialized with add_post_meta()
                   }
                   add_post_meta($post_id, $k, $v);
               }
           }
       }
       ```
   
 * You could also set it to perform a certain task depending on a specific key.
 *     ```
       if( $k == '_eshop_product' ) {
           $v = unserialize($v);
           // etc., etc.
       }
       ```
   
 * Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)