[site_logo]

The shortcode allows you to display the site logo based on the specified type.


Product


Shortcode Attributes

  • type – Defines the type of logo to display.
    • Options: default, footer (only one value can be specified)
    • Default: default (displays the main site logo, usually used in the site header).

Example Usage

[site_logo]
[site_logo type="footer"]

Results

Example 1:
In this example, the shortcode will display the default site logo which is the logo used on the site header:

Example 2:
This shortcode will display the footer logo if available; otherwise, it will fall back to the default site logo.
If the footer logo is not set, the default logo will be displayed automatically.