Skip to content

Commit 5852165

Browse files
committed
Body open function called on the frontend custom template files
1 parent b92fe9e commit 5852165

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

includes/tutor-general-functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ function get_tutor_header( $full_screen = false ) {
511511
</head>
512512

513513
<body <?php body_class(); ?>>
514+
<?php wp_body_open(); ?>
514515
<div id="tutor-page-wrap" class="tutor-site-wrap site">
515516
<?php
516517
} else {

templates/account.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<?php wp_head(); ?>
2424
</head>
2525
<body <?php body_class( '' ); ?>>
26+
<?php wp_body_open(); ?>
2627
<?php
2728
global $wp_query;
2829

templates/dashboard-isolated.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<?php wp_head(); ?>
2424
</head>
2525
<body <?php body_class( '' ); ?>>
26+
<?php wp_body_open(); ?>
2627
<?php
2728

2829
$dashboard_page = get_query_var( 'tutor_dashboard_page' );

templates/dashboard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<?php wp_head(); ?>
2828
</head>
2929
<body <?php body_class( '' ); ?>>
30+
<?php wp_body_open(); ?>
3031
<?php
3132
endif;
3233
global $wp_query;

templates/learning-area/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<?php wp_head(); ?>
3434
</head>
3535
<body <?php body_class( '' ); ?> x-data="tutorCourseCompleteHandler()">
36+
<?php wp_body_open(); ?>
3637
<?php
3738

3839
// Tutor global variable for using inside learning area.

0 commit comments

Comments
 (0)