All required CSS and JavaScript files should only get enqueued when the current page loads an instance of WeDocs. The changes in this pull request ensures that file-requests for unnecessary resources are avoided by checking if the content of the current page contains the wedocs-shortcode.
All required CSS and JavaScript files should only get enqueued when the current page loads an instance of WeDocs. The changes in this pull request ensures that file-requests for unnecessary resources are avoided by checking if the content of the current page contains the wedocs-shortcode.