HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux box12.multicloud.host 4.18.0-553.52.1.el8_10.x86_64 #1 SMP Wed May 14 09:36:12 EDT 2025 x86_64
User: kashmira (1008)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /home/kashmira/www/razitahir.com/wp-content/themes/upress/header.php
<?php
/**
 * Urdu News Theme Header File.
 * Template Name: Theme Header
 * @package UrduPress
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php
if(is_single()) {
?>
<meta property="og:title" content="<?php the_title() ?>"/>
<meta property="og:url" content="<?php the_permalink() ?>"/>
<meta property="og:site_name" content="<?php bloginfo('name') ?>"/>
<?php 
if( has_post_thumbnail() ) {
$image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); 
?>
<meta property="og:image" content="<?php echo $image[0] ?>"/>
<?php } }?>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

<?php wp_head(); ?>
<?php get_template_part( 'inc/font', 'loader' ); ?>
<?php get_template_part( 'inc/color', 'scheme' ); ?>
</head>

<body <?php body_class(); ?>>
<?php 
	if(get_theme_mod('preloader_setting') == true) {
?>
<div id="loader-wrapper">
    <div id="loader">
	</div>
	<div id="loader-message">
	<h2 class="text-center"><?php echo get_theme_mod('preloadertext_setting','انتظار کیجئے! ویب سائٹ تیار کی جا رہی ہے') ?></h2> 
	</div>
	<a href="javascript:" onclick="close_preloader();" id="close-loader"><i class="icon-cancel-circle fa-3x"></i></a>
</div>
<?php } ?>
<div id="page" class="site<?php echo (get_theme_mod('websitelayout_settings') == "boxed" ? " boxed container": " fullwidth") ?>">
		<?php
		// Elementor `header` location
		if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
			get_template_part( 'layouts/theme', 'header' );
		}
		?>
	<div id="content" class="container-fluid">