Because the CSS and JS are called statically for a good loading speed of the entire website, Hide My WP Ghost will not change the paths and remove the comments within the website theme style.
If you really want to change the paths and remove the theme comments, you can set Hide My WP Ghost to load it dynamically.
To do this, follow these steps:
- Add this line in wp-config.php file after the line with define(‘WP_DEBUG’ ….
define( 'HMW_DYNAMIC_THEME_STYLE', 1 );
- Rename the Theme style name in Hide My WP Ghost> Permalinks > Custom Theme Style Name. Use a name ending in .css (e.g. design.css)
- Save the setting and check the website with a different browser or in incognito mode to make sure the style is loaded correctly.