Mime types - by Spectralus - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago ago by Eva Kemp

  • Avatar: Spectralus
    Spectralus
    Participant
    January 12, 2017 at 14:25

    Hello

    Trying to allow mime types .xml and .csv through functions.php but It does not seem to work. Also tried theme-functions.php and no success with that either.

    http://www.wpbeginner.com/wp-tutorials/how-to-add-additional-file-types-to-be-uploaded-in-wordpress/

    Where does this exactly go? We cannot upload .csv or .xml files.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    January 13, 2017 at 15:02

    Hello,

    If you want to import xml files, then you can use WordPress Import
    http://prntscr.com/dv4vmj
    If you want to do this with another plugin or edit the files, then you need make changes in the child theme.
    Also please check if your code works with default WordPress theme.

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.