Name | Return | Usage |
---|
totaltheme/header/logo/text_class | array | Returns an array of classes to be added to the text based header logo element. |
totaltheme/header/logo/icon | string | Returns the HTML for the header logo icon if enabled. |
totaltheme/header/logo/is_image_svg | bool | Check if the header logo is using an SVG based image. |
totaltheme/header/logo/image_height | int | Returns the logo image width to be used for the height attribute. |
totaltheme/header/logo/image_width | int | Returns the logo image width to be used for the width attribute. |
totaltheme/header/logo/retina_image_id | int | Returns the attachment ID for the logo retina image. |
totaltheme/header/logo/has_scroll_top_link | bool | Check if the header logo should scroll to the top of the site when clicked. |
totaltheme/header/background_image | string | Filters the header background image. Allows but a URL to an image or an attachment ID. |
totaltheme/header/has_flex_container | bool | Check if the header should include a flex container. If true the theme inserts a new div (#site-header-flex) inside the header. |
totaltheme/header/has_fixed_height | bool | Returns true or false if the current header style has a fixed height. By default it returns true for all the "Flex" header styles. |