';
the_category(', ');
echo '';
endif; ?>
' . esc_html__('Mantrabrain', 'pragyan') . ''
);
}
function pragyan_footer_text()
{
$allowed_tags = array(
'a' => array(
'href' => array(),
'title' => array(),
'class' => array(),
'target' => array()
)
);
$footer_text = pragyan_get_option('copyright_text') . ' | ' . pragyan_author_link();
echo wp_kses(apply_filters('pragyan_footer_copyright_text', $footer_text), $allowed_tags);
}
if (!function_exists('pragyan_custom_logo')) {
function pragyan_custom_logo()
{
the_custom_logo();
}
}
if (!function_exists('pragyan_has_custom_logo')) {
function pragyan_has_custom_logo()
{
if (has_custom_logo()) {
return true;
}
return false;
}
}
if (!function_exists('pragyan_is_home_page')) {
function pragyan_is_home_page()
{
$home_page = (boolean)pragyan_get_option('enable_theme_style_homepage');
if ($home_page && (is_home() || is_front_page())) {
return true;
}
return false;
}
}
if (!function_exists('pragyan_head_callback')):
function pragyan_head_callback()
{
$header_text_color = get_header_textcolor(); ?>
';
$fallback_menu .= '' . esc_html__('Home', 'pragyan') . '';
$fallback_menu .= '' . esc_html__('Courses', 'pragyan') . '';
$fallback_menu .= '' . esc_html__('Notice', 'pragyan') . '';
$fallback_menu .= '' . esc_html__('Events', 'pragyan') . '';
$fallback_menu .= '' . esc_html__('Blog', 'pragyan') . '';
$fallback_menu .= '' . esc_html__('Contact', 'pragyan') . '';
$fallback_menu .= '';
echo $fallback_menu;
}
}
if (!function_exists('pragyan_single_post_post_title_show')) {
function pragyan_single_post_post_title_show()
{
global $post;
$post_id = isset($post->ID) ? $post->ID : 0;
$pragyan_single_hide_page_title = get_post_meta($post_id, 'pragyan_single_hide_page_title', true);
switch ($pragyan_single_hide_page_title) {
case "show":
return true;
break;
case "hide":
return false;
break;
default:
$single_post_post_title_show = (boolean)pragyan_get_option('single_post_post_title_show');
return $single_post_post_title_show ? true : false;
break;
}
return false;
}
}