Working with wordpress plugin and theme templates structures

If this is a plugin you should really keep the files in your plugin folder. Alternatively you can use the theme folder under it’s own name separate from the active theme. I have seen the latter done and it works fine but you don’t want some unsuspecting users to activate it by mistake. You should never write to the active theme or any theme the user has installed.

error code: 523