| Server IP : 152.53.162.115 / Your IP : 216.73.217.85 Web Server : Apache/2 System : Linux host 6.12.0-55.40.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:54:51 EDT 2025 x86_64 User : pbshosting ( 1005) PHP Version : 8.3.30 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/pbshosting/domains/drvinodthomas.in/public_html/wp-content/themes/Theme11/inc/ |
Upload File : |
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other 'pages' on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?>
<div class="Drinfo_desk">
<div class="dr_info">
<?php
query_posts('page_id=113');
while (have_posts()) : the_post(); ?>
<img src="<?php echo wp_get_attachment_url(get_post_thumbnail_id(get_the_ID())); ?>" alt="<?php the_title(); ?>" />
<?php
$dr_speciality = get_post_custom_values('speciality');
$speciality = (!empty($dr_speciality) && is_array($dr_speciality)) ? $dr_speciality[0] : '';
if($speciality) { echo '<span>'.$speciality.'</span>'; }
?>
<h2><?php the_title(); ?></h2>
<?php
$dr_degree = get_post_custom_values('degree');
$degree = (!empty($dr_degree) && is_array($dr_degree)) ? $dr_degree[0] : '';
if($degree) { echo '<span>'.$degree.'</span>'; }
?>
<br>
<?php the_content();
endwhile; ?>
</div>
<div class="dr_btns">
<div class="contact"> <i class="fa fa-envelope"></i> CONTACT ME</div>
<span> </span><div class="consult"><i class="fa fa-clock-o"></i> CONSULTING HOURS</div><span> </span>
<div class="apoint"><i class="fa fa-calendar"></i> APPOINTMENT</div>
<div class="contact_frm">
<?php echo do_shortcode('[contact-form-7 id="25" title="Contact"]'); ?>
</div>
</a>
<div class="Consult_time" style="display:none;">
<?php if( is_active_sidebar('consulting') ) dynamic_sidebar( 'consulting');?>
</div>
<div class="apnt_frm" style="display:none;">
<?php echo do_shortcode('[contact-form-7 id="116" title="Home Appointment"]'); ?>
</div>
</div>
</div>
<!----------------------------------------->
<?php
query_posts('page_id=113');
while (have_posts()) : the_post(); ?>
<div class="drinfo_res">
<?php
$dr_res_img = get_post_custom_values('dr_res_img');
$dr_image = (!empty($dr_res_img) && is_array($dr_res_img)) ? $dr_res_img[0] : '';
?>
<div style="background-image: url('<?php echo $dr_image; ?>');" class="dr_info_res">
<div align="center">
<?php
$dr_speciality = get_post_custom_values('speciality');
$speciality = (!empty($dr_speciality) && is_array($dr_speciality)) ? $dr_speciality[0] : '';
if($speciality) { echo '<span>'.$speciality.'</span>'; }
?>
<h2><?php the_title(); ?></h2>
<?php
$dr_degree = get_post_custom_values('degree');
$degree = (!empty($dr_degree) && is_array($dr_degree)) ? $dr_degree[0] : '';
if($degree) { echo '<span>'.$degree.'</span>'; }
?><br>
</div>
<?php the_content(); ?> </div>
</div>
<?php endwhile; ?>