ntheme_asset

Loads the asset URL specific to the theme

Example

[%ntheme_asset%]css/style.css[%/ntheme_asset%]

Usage

The ntheme_asset function will load the asset folder relative to the theme you are working on. The sample above would output the following:

/assets/themes/[THEME-NAME]/css/style.css?1533934563

Where the [THEME-NAME] is the filename of the theme folder.

Was this article useful?

Be notified when this page is updated. Optional.