Magento2 – How to get Directory of a Module
Here is the code how to load your module directory:
Magento get base url, skin url, media url, store url
1. Path Retrieval in Static Block or CMS Page Get Base Url: Get Store Url: Get Media Url: Get Skin Url: 2. Path Retrieval in phtml files