HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/www/shaneconrad.me/wp-content/themes/doctors-profile/actions/home-intro.php
<?php
/*
*
* Home intro section for portfolix section
*
*
*/



function doctors_profile_intro_section_output()
{
  $doctors_profile_dfimgh = get_template_directory_uri() . '/assets/img/doctor.png';
  $doctors_profile_intro_img = get_theme_mod('doctors_profile_intro_img', $doctors_profile_dfimgh);
  $doctors_profile_intro_subtitle = get_theme_mod('doctors_profile_intro_subtitle', __('DR. Zelma Billington', 'doctors-profile'));
  $doctors_profile_intro_title = get_theme_mod('doctors_profile_intro_title', __('I\'m a Dental', 'doctors-profile'));
  $doctors_profile_intro_designation = get_theme_mod('doctors_profile_intro_designation', __('Doctor..', 'doctors-profile'));
  $doctors_profile_intro_desc = get_theme_mod('doctors_profile_intro_desc', __('Care you can believe in.', 'doctors-profile'));
  $doctors_profile_btn_text_one = get_theme_mod('doctors_profile_btn_text_one', __('About Me', 'doctors-profile'));
  $doctors_profile_btn_url_one = get_theme_mod('doctors_profile_btn_url_one', '#');
  $doctors_profile_btn_text_two = get_theme_mod('doctors_profile_btn_text_two', __('Download CV', 'doctors-profile'));
  $doctors_profile_btn_url_two = get_theme_mod('doctors_profile_btn_url_two');
?>
  <!-- home -->
  <section class="home" id="home">
    <div class="container">
      <div class="home-all-content">
        <div class="row">
          <div class="col-lg-6">

            <div class="content">
              <?php if ($doctors_profile_intro_subtitle) : ?>
                <h5><?php echo esc_html($doctors_profile_intro_subtitle); ?></h5>
              <?php endif; ?>
              <?php if ($doctors_profile_intro_title) : ?>
                <h1><?php echo esc_html($doctors_profile_intro_title); ?> <br><span id="type1"><?php echo esc_html($doctors_profile_intro_designation); ?></span></h1>
              <?php endif; ?>
              <?php if ($doctors_profile_intro_desc) : ?>
                <p><?php echo esc_html($doctors_profile_intro_desc); ?></p>
              <?php endif; ?>
              <?php if ($doctors_profile_btn_url_one) : ?>
                <a href="<?php echo esc_url($doctors_profile_btn_url_one); ?>" class="btn btn-hero"><?php echo esc_html($doctors_profile_btn_text_one); ?></a>
              <?php endif; ?>
              <?php if ($doctors_profile_btn_url_two) : ?>
                <a href="<?php echo esc_url($doctors_profile_btn_url_two); ?>" class="btn btn-hero"><?php echo esc_html($doctors_profile_btn_text_two); ?></a>
              <?php endif; ?>
            </div>

          </div>

          <div class="col-lg-6">
            <?php if ($doctors_profile_intro_img) : ?>
              <div class="hero-img">
                <img src="<?php echo esc_url($doctors_profile_intro_img); ?>" alt="<?php esc_attr($doctors_profile_intro_title); ?>">
              <?php else : ?>
                <div class="hero-img px-noimg">
                <?php endif; ?>
                </div>

              </div>

          </div>
        </div>
      </div>
  </section>

<?php
}
add_action('doctors_profile_profile_intro', 'doctors_profile_intro_section_output');