WordPress.org

Forums

Import CSV with Ultimate CSV Importer
[resolved] This plugin doesn't work on sites with a custom path to wp-content (2 posts)

  1. WPsites
    Member
    Posted 2 years ago #

    Hi,

    This line and possibly others don't agree with sites that have a wp-content folder in a different location:

    wp_register_script('wp_ultimate_scripts', site_url()."/wp-content/plugins/wp-ultimate-csv-importer/wp_ultimate_csv_importer.js",

    You can't assume that every site will have site_url() /wp-content/plugins as the path to their plugin directory.If you could use build our file paths as they advise on the codex that would be great.

    http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    This hasn't broken my site but it is causing your plugin not to work.

    Thanks

    http://wordpress.org/extend/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the feedback. It will be fixed in next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Import CSV with Ultimate CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.