Title: Customize Import
Last modified: July 4, 2017

---

# Customize Import

 *  Resolved [trungnt](https://wordpress.org/support/users/trungnt/)
 * (@trungnt)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/customize-import/)
 * Dear plugin author,
    I want to import revolution with your plugin. I have customized
   a function to call ajax import Revolution Slider but error 500 show when i click
   import. Can you please let me know how to fix it. This is code that i added:
 * add_action( ‘pt-ocdi/after_content_import_execution’, array( $this, ‘import_revslider’),
   40, 3 );
    public function import_revslider( $selected_import_files, $import_files,
   $selected_index ){ if ( ! empty( $selected_import_files[‘revslider’] ) && class_exists(‘
   RevSlider’ ) ) { // $_FILES[‘import_file’][‘tmp_name’] = $selected_import_files[‘
   revslider’]; $orevslider = new RevSlider(); $orevslider->importSliderFromPost(
   true, true, $selected_import_files[‘revslider’] ); } }
 * Thanks!
    -  This topic was modified 8 years, 9 months ago by [trungnt](https://wordpress.org/support/users/trungnt/).

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

 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/customize-import/#post-9287485)
 * Hi,
 * I would recommend, that you check out the two articles linked in this github 
   issue: [https://github.com/proteusthemes/one-click-demo-import/issues/93](https://github.com/proteusthemes/one-click-demo-import/issues/93)
 * This should help you out with the Revolution slider import with our one click
   demo import plugin.
 * If you still have issues with this, after reading these articles, then let me
   know and I’ll try to help you out.
 * Take care!
 *  Thread Starter [trungnt](https://wordpress.org/support/users/trungnt/)
 * (@trungnt)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/customize-import/#post-9300587)
 * Hi,
    I have resolved our issue, Thanks so much!
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/customize-import/#post-9300695)
 * Hi,
 * that’s great! 🙂
 * If you like our plugin, please review it here: [https://wordpress.org/support/plugin/one-click-demo-import/reviews/](https://wordpress.org/support/plugin/one-click-demo-import/reviews/).
   We would really appreciate it.
 * Have a nice day!

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

The topic ‘Customize Import’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/customize-import/#post-9300695)
 * Status: resolved