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>';
			}
		}

Changelog

Changelog
Version Description
1.8.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.