1. Home
  2. Docs
  3. Shortcodes
  4. Website Logo Shortcode

Website Logo Shortcode

The website logo shortcode displays either your primary or your secondary logo (configured under Global Settings > Site Information). You can specify which version of your logo to display by using the show=”” attribute which accepts 2 options for each logo (see below).

The shortcode by default will display the theme’s predefined logo unless you select your own.
The website logo shortcode has multiple options:

  • Show: The show (show=””) attribute determines which logo to display. Accepted values are show=”logo1″ to display the primary logo, and show=”logo2″ for the secondary logo. Any of those 2 can be set under Global Settings > Site Information. If this option is not defined, the shortcode will fallback into the primary logo.
  • Alt: The alt (alt=””) attribute represents the alt of your logo, if not set it will output your site’s title by default.

Usage

[​website-logo show="{logo1|logo2}" alt=""]

Was this article helpful to you? Yes No

How can we help?