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

Theme Image URL Shortcode

All of the stock images that come included in our themes can be found inside an ‘/images’ directory. This shortcode comes pre-configured when you first activate your theme. You will find the shortcode configured with a filename in the src=”” attribute, which is the image filename inside the ‘/images’ directory.

The Theme Image URL shortcode outputs an image from such directory and places it inside an <img> tag.


Usage:

[​theme-image src="" alt="" class=""]

Output:

<img src="" alt="" class="">

Was this article helpful to you? No Yes

How can we help?