HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/Siyum/wp-content/themes/siyum/footer.php
<footer class="footer">
	<div class="footer-inner">
		<div class="container custom-container">
			<div class="row">
				<div class="col-2">
					<a class="logo-sec" href="<?php echo esc_url(site_url()); ?>">
						<img src="<?php echo get_template_directory_uri(); ?>/img/logo-new.svg" alt="Logo" class="footer-logo">
					</a>
				</div>
				<div class="col-10"></div>                   

			</div>
			<div class="row footer-top-sec">
				<!-- Left Section -->
				<div class="col-md-6">

					<!-- <div class="foot-title mb-2">Kedushas Shabbos</div> -->
					<!--                     <div class="foot-title">

Agudath Israel Of America<br>
42 Broadway, 14th Floor<br>
New York, NY 10004
</div> -->
				</div>
				<!-- Right Section -->
				<div class="col-md-6 text-md-end">
					<div class="cont-block">
						<a href="tel:1.212.797.9000" class="foot-cont-link foot-title"><span class="icon phn-img"><img src="<?php echo get_template_directory_uri(); ?>/img/f-phone.svg" alt=""></span> <span>(212) 797-9000</span></a> 
						<a href="mailto:info@thesiyum.org" class="foot-cont-link foot-title"><span class="icon email-img"><img src="<?php echo get_template_directory_uri(); ?>/img/f-inbox.svg" alt=""></span><span>info@thesiyum.org</span></a>
					</div>

				</div>
			</div>
			<!-- Links Section -->


		</div>
		<div class="footer-top-links">
			<div class="container custom-container">
				<div class="row ">
					<div class="col-12 footer-links text-center">
						<a href="#" class="footer-link">Home</a>
						
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="footer-bottom">
		<div class="container custom-container">
  <span>&copy; <span id="year">2025</span> THE SIYUM | BUILT BY 
    <a href="https://kornerstonemedia.com/" target="_blank" class="policy-link strong">
      <strong class="fw-bold">KORNERSTONE MEDIA</strong>
    </a>
  </span>
</div>
		</div>

		</footer>

<script
src="https://code.jquery.com/jquery-3.6.0.min.js"></script><!-- js import -->
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<!-- Slick JS -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/parsleyjs"></script>

<!-- scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js"
integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/header.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/radio_streaming.js"></script>
<script>
document.getElementById("year").textContent = new Date().getFullYear();
 
document.addEventListener('DOMContentLoaded', function () {
  const tabPanes = document.querySelectorAll('.tab-pane');

  // Initially hide all panes except the first
  tabPanes.forEach((pane, index) => {
    if (index !== 0) {
      pane.classList.remove('active', 'show');
    } else {
      pane.classList.add('active', 'show');
    }
  });

  // On tab switch, show only the target pane and scroll to its heading
  document.querySelectorAll('[data-bs-toggle="tab"]').forEach(tab => {
    tab.addEventListener('shown.bs.tab', function () {
      const targetId = this.getAttribute('data-bs-target');
      const target = document.querySelector(targetId);

      // Hide all tab panes
      tabPanes.forEach(pane => {
        pane.classList.remove('active', 'show');
      });

      // Show selected pane
      if (target) {
        target.classList.add('active', 'show');

        // Determine the heading to scroll to
        const heading = target.querySelector('h2.title');
        if (heading) {
          // Introduce a slight delay to ensure rendering
          setTimeout(() => {
            heading.scrollIntoView({ behavior: 'smooth', block: 'center' });
          }, 100);
        }
      }
    });
  });
});



document.getElementById("register-tab").addEventListener("click", function () {
  const targetSelector = this.getAttribute("data-target");
  const targetElement = document.querySelector(targetSelector);
  const headerOffset = 100; // Adjust based on your fixed header height

  if (targetElement) {
    const elementPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;
    const offsetPosition = elementPosition - headerOffset;

    window.scrollTo({
      top: offsetPosition,
      behavior: "smooth"
    });
  }
});

document.getElementById("scroll-tab").addEventListener("click", function () {
  const targetSelector = this.getAttribute("data-target");
  const targetElement = document.querySelector(targetSelector);
  const headerOffset = 100; // Adjust based on your fixed header height

  if (targetElement) {
    const elementPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;
    const offsetPosition = elementPosition - headerOffset;

    window.scrollTo({
      top: offsetPosition,
      behavior: "smooth"
    });
  }
});

  
document.addEventListener('DOMContentLoaded', function () {
  const conditionalFields = document.querySelectorAll('.conditional-field');
  const shiurNameInput = document.querySelector('input[name="shiurName"]');
  const maggidShiurInput = document.querySelector('input[name="maggidShiur"]');
  const radios = document.querySelectorAll('input[name="learningMethod"]');

  function toggleConditionalFields(show) {
    conditionalFields.forEach(field => {
      field.style.display = show ? 'block' : 'none';
    });

    if (show) {
      shiurNameInput.setAttribute('required', 'required');
      shiurNameInput.setAttribute('data-parsley-required-message', 'Shiur name is required.');
      maggidShiurInput.setAttribute('required', 'required');
      maggidShiurInput.setAttribute('data-parsley-required-message', 'Maggid shiur is required.');
    } else {
      shiurNameInput.removeAttribute('required');
      maggidShiurInput.removeAttribute('required');
    }
  }

  toggleConditionalFields(false); // hide by default

  radios.forEach(radio => {
    radio.addEventListener('change', function () {
      if (this.value === 'shiur' || this.value === 'virtual') {
        toggleConditionalFields(true);
      } else {
        toggleConditionalFields(false);
      }
    });
  });
});
 
  // window.addEventListener('load', function() {
  //   if (window.innerWidth <= 768) {
  //     document.querySelectorAll('input[placeholder], textarea[placeholder]').forEach(function(el) {
  //       el.removeAttribute('placeholder');
  //     });
  //   }
  // });
 

</script>
<style>
.scroll-down-btn1 {
  cursor: pointer;
}
@media (max-width: 767px) {
  input::placeholder,
  textarea::placeholder {
    color: transparent !important;
  }

  select {
    color: transparent !important;
  }

  select:focus {
    color: inherit !important;
  }
}

textarea.form-control.parsley-error {
    margin-bottom: 5px;
}
   

    /* Style Parsley validation error messages */
.parsley-errors-list {
    color: red !important; /* Make error messages red */
    font-size: 14px; /* Adjust font size */
    margin-top: 5px; /* Add some space */
    list-style: none; /* Remove bullet points */
    padding-left: 0; /* Remove padding */
}

/* Highlight input fields with errors */
input.parsley-error,
textarea.parsley-error {
    border: 2px solid red !important; /* Add a red border */
    background-color: #ffe6e6; /* Light red background */
}

select.parsley-error,
textarea.parsley-error {
    border: 2px solid red !important; /* Add a red border */
    background-color: #ffe6e6; /* Light red background */
}
input.form-control.parsley-error {
    margin-bottom: 0px;
}
select.form-select.custom-select-arrow.parsley-error {
    margin-bottom: 0px;
}
select.form-select.parsley-error {
    margin-bottom: 0px;
}

#next-section {
  scroll-margin-top: 100px; /* Adjust to match your header height */
}

</style>
<?php wp_footer(); ?>
</body>

</html>