- /assets
---- /css
---- /js
- /includes (when we grow past 1 php file)
- ea-share-count.php
Short term we can create an assets directory that contains css and js sub directories. Move CSS into css subdirectory. Take JS out from inline, put into js sub directory.
In the future when the plugin grows, ea-share-count.php can become a simple "loader" file, then we can create an includes directory that will contain the various PHP classes/files.
Proposed structure
Short term we can create an assets directory that contains css and js sub directories. Move CSS into css subdirectory. Take JS out from inline, put into js sub directory.
In the future when the plugin grows, ea-share-count.php can become a simple "loader" file, then we can create an includes directory that will contain the various PHP classes/files.