• Resolved In Brackets

    (@inbrackets)


    Hi, I’m using local import files. So I have wie files for widgets, XML for the content and dat files for the Customizer. All of them are within my theme’s folder.
    But I’m running Theme Check plugin and get the following errors:

    REQUIRED: widget.wie Widget import file found. This file must not be in a theme.
    REQUIRED: demo-content.xml XML file found. This file must not be in a theme.
    REQUIRED: customizer.dat Customizer import file found. This file must not be in a theme.

    What can I do to fix that? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @inbrackets,

    you can switch from using local import files to hosted ones.

    Please take a look at the first configuration example: https://awesomemotive.github.io/one-click-demo-import/

    You are currently using the second example (local import files).

    In the first example, the import files are hosted on your server and so you don’t need to have the import files inside the theme folder (theme check issues will be fixed), but your users will still be able to import your predefined demo imports.

    Take care!

    Thread Starter In Brackets

    (@inbrackets)

    Thanks for your prompt reply, Gregor!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error messages in Theme Check plugin when using local file import’ is closed to new replies.