14 lines
357 B
PHP
14 lines
357 B
PHP
<?php
|
|
/**
|
|
* The template for displaying tutor single page
|
|
*/
|
|
get_header();
|
|
|
|
$post_id = upstudy_get_id();
|
|
$tutor_single_page_layout = Upstudy::setting('tutor_single_page_layout');
|
|
|
|
if (in_array($tutor_single_page_layout, ['1', '2', '3', '4', '5'])) {
|
|
get_template_part('tutor/tpl-part/single/single-layout', $tutor_single_page_layout);
|
|
}
|
|
|
|
get_footer(); |