Absolute URL for Assets Folder
-
Is there a way to set an absolute URL path for the assets folder with a filter/hook or other method? Because of a renaming issue with the site, the icons for the tables (chevrons in pagination, etc) are not showing up, everything else works. The icons/fonts are trying to be pulled from the relative URL, which after renaming does not exist.
Say the natural URL is sub.domain.com/wp-content/plugins/wpdatatables/assets/, then the URL gets renamed to https://www.domain. com/sitefolder/wp-content/plugins/wpdatatables/assets/. I need an option to set assets/fonts to pull from sub.domain.com instead of the relative url of /sitefolder/wp-content/…/.
Any help is greatly appreciated!
- The topic ‘Absolute URL for Assets Folder’ is closed to new replies.