get_dozent_header( bool $fullScreen = false, null $name = null )

Load Dozent Header Template


Parameters

$name

(null) (Optional)

Default value: null

$fullScreen

(bool) (Optional)

Default value: false


Source

File: includes/template-functions.php

	function get_dozent_header( $fullScreen = false, $name = null ) {
		$enable_focus_mode = (bool) dozent_get_option( 'enable_focus_mode' );

		if ( $enable_focus_mode || $fullScreen ) {
			?>
			<!doctype html>
			<html <?php language_attributes(); ?>>
			<head>
				<meta charset="<?php bloginfo( 'charset' ); ?>"/>
				<meta name="viewport" content="width=device-width, initial-scale=1"/>
				<link rel="profile" href="https://gmpg.org/xfn/11"/>
				<?php wp_head(); ?>
			</head>
			<body <?php body_class(); ?>>
			<div id="dozent-page-wrap" <?php dozent_post_class( 'dozent-site-wrap' ); ?>>
			<?php
		} else {
			get_header( $name );
		}

	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.