Site icon Hip-Hop Website Design and Development

Should custom directories be created under the wp-content directory?

Another question asks about creating a custom directory under the wp-content directory.

If there is a need for custom files e.g. CSS that need to be called, should a custom directory e.g. css be created under wp-content e.g. wp-content/css?

The function wp_upload_dir() returns the path to the wp-content/uploads directory and there doesn’t appear to be a function to only return the path to wp-content.

Does this mean that custom directories such as the css directory should be created under wp-content/uploads instead?

An article on adding CSS or JavaScript resources suggests uploading these to the root of the child theme directory. What if there are other custom assets e.g. fonts?

In contrast another article recommends creating a sub-directory in the root directory e.g. public_html/subdirectory