Astra_Breadcrumbs_Markup::astra_hook_breadcrumb_position()
Astra Hook Breadcrumb Position
Description
Hook breadcrumb to position of selected option
Return
(void)
Source
File: inc/addons/breadcrumbs/class-astra-breadcrumbs-markup.php
public function astra_hook_breadcrumb_position() { $breadcrumb_position = astra_get_option( 'breadcrumb-position' ); if ( $breadcrumb_position && ( 'astra_header_markup_after' === $breadcrumb_position || 'astra_header_after' === $breadcrumb_position ) ) { echo '<div class="main-header-bar ast-header-breadcrumb"> <div class="ast-container">'; } astra_get_breadcrumb(); if ( $breadcrumb_position && ( 'astra_header_markup_after' === $breadcrumb_position || 'astra_header_after' === $breadcrumb_position ) ) { echo ' </div> </div>'; } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.8.0 | Introduced. |