1. Home
  2. Docs
  3. Shortcodes
  4. Theme URL Shortcode

Theme URL Shortcode

The Theme URL shortcode outputs the path where your theme is installed in your server. The shortcode is available out of the box and can be used in numerous cases.

This shortcode is mainly intended to be used by developers if needed, as it can output the path of theme assets (images, scripts, stylesheets) and is mainly used in the CSS Page of our themes to get the path of images used for CSS backgrounds.


Usage:

[​themeurl]

Output:

https://yourwebsite.com/wp-content/themes/yourtheme

Was this article helpful to you? Yes No

How can we help?