niwh homepage - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of niwh homepage.php

  1. <?php
  2. /*
  3. Template Name: Home Page 2
  4. */
  5.  
  6. get_header('home'); ?>
  7.  
  8.         <div class="container">
  9.  
  10.         <div id="primary" class="content-area">
  11.                 <div id="content" class="site-content" role="main">
  12.  
  13.                 <div id="homeWrapper" class="">
  14.  
  15.                 <div id="WHEbanner">
  16.                         <a href="http://www.wholehealtheducation.com/accreditation/whole-health-education-pilot-studies/"><img 
  17.                                 src="http://www.wholehealtheducation.com/site/wp-content/uploads/2015/12/WHE-Slideshow-Banner.gif"
  18.                                 alt="Whole Health Education training: Give your clients 
  19.                                 evidence-based health information to improve their health
  20.                                 and prevent disease through self-directed, sustainable 
  21.                                 lifestyle changes."
  22.                                 title="Whole Health Education [R] Training"
  23.                                 /></a></div><!-- #WHEbanner -->
  24.                
  25.                 <div id="theMiddle">
  26.                        
  27.                         <div id="middleContent">
  28.                                 <div id="addNewScope">
  29.                                                
  30.                                         <div id="addJoyDiv" style="margin:0;">
  31.                                                 <a class="redlink" href="http://www.wholehealtheducation.com/niwh-whole-health-education-3-in-1-program/">Educate</a>,
  32.                                                 <a class="redlink" href="https://www.wholehealtheducation.com/board-certified-eligible-patient-advocacy-program/ ">Advocate</a>,
  33.                                                 <a class="redlink" href="http://www.wholehealtheducation.com/whole-health-programs/compare/">Coach</a><sup><span class="tinytext">®</span></sup>
  34.                                         </div><!-- #addJoyDiv -->
  35.                               </h2>       </div>
  36.             <div id="accredited">
  37.               <div style=text-align:center;margin-top:-20px;margin-bottom:20px;font-size:12pt;
  38.                                         <h5 class="niwhAccredited">
  39.             The National Institute of Whole Health
  40. <br>Accredited Pioneer of Whole Health and Whole Person Care™
  41.       <br />
  42.               <br>
  43.          
  44.                                                                                 <a 
  45.                                                 href="http://www.credentialingexcellence.org/p/cm/ld/fid=32"
  46.                                                 target="_blank"><img class="icelogo"
  47.                                                 src="http://www.wholehealtheducation.com/site/wp-content/uploads/2016/08/ICE.jpg" width="220" height="80"
  48.                                                 alt="Institute for Credentialing Excellence (ICE)"
  49.                                
  50.                                                 /></a>                         
  51.                                    
  52.             </div><!-- #accredited -->
  53.                         
  54.                 <strong> <font color='#C70200'><big>WITH OUR ACCELERATED <a style="color:#C70200" href="https://www.wholehealtheducation.com/accelerated-program/"><u>SIX MONTH PROGRAM</u></a><BR>Expand your current credentials with our accredited 
  55.                   <br>Whole Health Education ® Programs</big></font>
  56. <ul>
  57. ➢ Become a Credentialed Patient Educator           <br><br>
  58. ➢<font color='#36469B'> Receive an <a style="color:#36469B" href="https://www.wholehealtheducation.com/who-can-have-an-npi-number/">NPI Provider Number</a> to allow for    <br>
  59. health insurance billing in a medical office    <br>
  60. or for your own private practice                      
  61. </font><br><br>
  62. ➢ Earn Board Certification as a Patient Advocate<br><br>
  63. ➢ Learn NIWH Whole Health Coaching™ model                      
  64. </strong>
  65. </ul>
  66.                    <h2 class="addjoy lyp-link" style="margin-top:10px;margin-bottom:20px; font-size: 14pt;"><font color='#36469B'>
  67.                      <br>
  68.             <span><em>
  69.               <a style="color:#C70200" href="https://www.wholehealtheducation.com/free-whole-health-course-sample-excerpts/"><big>Watch Two Hours of FREE <br> Whole Health Course Excerpts</big></a>
  70.             </em></span><br><br>
  71.                     
  72.        <a 
  73.                                                 href="https://www.wholehealtheducation.com/free-whole-health-course-sample-excerpts/"
  74.                                                 target="_blank"><img class="Collage to use for ads"
  75.                                                 src="https://www.wholehealtheducation.com/site/wp-content/uploads/2014/06/Collage-to-use-for-ads.jpg"width="360"/></a>
  76.                      <p></p>                                 
  77.                                 <strong><em> <font color='#C70200'><big>Choose from these Accredited Programs -</big><br><br>
  78.          
  79.  <a style="color:#36469B" href="https://www.wholehealtheducation.com/whole-health-programs/core-courses/whole-health-educator-program-for-nurses-with-health-coaching-skills/">> 3-in-1 Whole Health Education for Nurses</a><br><br>
  80.  
  81.  <a style="color:#36469B" href="https://www.wholehealtheducation.com/board-certified-eligible-patient-advocacy-program/">> Whole Health Patient Advocacy</a>                 <br><br>
  82.  
  83.  <a style="color:#36469B" href="https://www.wholehealtheducation.com/niwh-whole-health-education-3-in-1-program/">> Whole Health 3-in-1 for Licensed health   <br>and Education professionals</a>                  <br><br>
  84. </font>
  85.                
  86.                                          
  87.                                                           
  88.            
  89.            
  90.  
  91.                                       
  92.                                                
  93.  
  94.                                                                                
  95.                                 </div><!-- #addNewScope -->
  96.  
  97.                                
  98.  
  99.                                
  100.                                
  101.                                 <div id="watchVideo" style="margin-top:20px;">
  102.                                         <h4 id="watchNow"><a style="color: #C70200 !important;text-decoration: underline;" class="bluelink" href="http://www.wholehealtheducation.com/about-niwh/dr-gass-comments-on-niwh/"
  103.                                         class="popup" 
  104.                                         data-width="450" data-height="360" data-scrollbars="0" alt="Click to watch the video"
  105.                                         >Watch our 1.5 minute<br />
  106.                                         Introductory Video Now!</a></h4>
  107.           
  108.                                         <video width="375" controls preload="none" poster="https://www.wholehealtheducation.com/site/wp-content/uploads/2019/08/alan-gass-video-poster.jpg">
  109.   <source src="https://www.wholehealtheducation.com/site/wp-content/uploads/2019/08/alan-gass-video-blue-screen-fix2.mp4" type="video/mp4">
  110.   Your browser does not support the video tag.
  111. </video>
  112.                                 </div><!-- #watchVideo -->
  113.           <p></p>    
  114.         <a 
  115.                                                 href="https://www.wholehealtheducation.com/sign-up/"
  116.                                                 target="_blank"><img class="icelogo"
  117.                                                 src="https://www.wholehealtheducation.com/site/wp-content/uploads/2019/01/CAREERGUIDEIMG.jpg" width="315" 
  118.                                                 alt="FREE WHOLE HEALTH CAREER GUIDE"
  119.                                                 /></a>    
  120.                                 <div id="right4U" style="font-size: 16px;">
  121.                                         <p>The NIWH Whole Health approach provides the client with a simple, yet evidence-based understanding of the <a style="color:#ca0000 !important;text-decoration:underline;" href="https://www.wholehealtheducation.com/a-whole-person-health-approach-to-health-and-healing/">5 Aspects of Whole Health™</a>, regarding the cause of their chronic health concerns, empowering them to discern their personal, self-directed lifestyle choices for sustainable health and wellness.</p>
  122.                     <p style="margin-bottom: 0;"><em>"We cannot change our old behaviors without new information©." *</em></p>
  123.                                 </div><!-- #right4U -->
  124.  
  125.                                 <a style="color: #fff;background: #ca0000;font-size: 18px;font-weight: bold;padding: 14px;letter-spacing: 2px;display: inline-block;margin: 5px 0 10px;border: 5px solid #fff;text-decoration:none;" href="https://www.wholehealtheducation.com/live-your-purpose/">View Our One Click Program Summary</a>
  126.                                
  127.                                 <div id="right4U" style="font-size:16px;">
  128.                                         <p style="margin-bottom: 0;">With the current Value Care focus on disease prevention and patient education, the NIWH 3-in-1, nationally accredited program, provides the only comprehensive, evidence-based Whole Health training grounded in over 40 years of research and development, reflecting the standards of the Institute of Medicine and the World Health Organization.</p>
  129.                     <p style="margin-top:20px;font-size:8pt;">*“We cannot change our old behavior without new information ©” is a copyright of the National Institute of Whole Health.</p>
  130.           <p style="margin-top:20px;font-size:12pt;"><em>Choose the NIWH accredited, post-professional training for secondary provider status, professional liability insurance and billing & coding privileges!</em></p>
  131.                                 </div><!-- #right4U -->
  132.                                
  133.                         </div><!-- #middleContent -->
  134.                
  135.                         <div id="middleContact">
  136.                     <p style="line-height: 1em;max-width: 210px;margin-top: 25px;font-weight: bold;margin: 25px auto 15px;letter-spacing: 2px;">Watch our 30 Second Explainer Video</p>
  137.                 <video width="80%" height="auto" controls preload="none" poster="https://www.wholehealtheducation.com/site/wp-content/uploads/2019/08/National-Institute-Of-Whole-Health-poster.jpg">
  138.                     <source src="https://www.wholehealtheducation.com/site/wp-content/uploads/2019/08/National-Institute-Of-Whole-Health-V4-1.mp4" type="video/mp4">
  139.                     Your browser does not support the video tag.
  140.                 </video>
  141.                                 <div id="click2call">
  142.                                         <a href="tel:+1-888-354-4325">Click to Call Us Now</a>
  143.                                 </div><!-- #click2call -->
  144.                                
  145.                                 <div id="askforinfo">
  146.                                         <h4 id="homeGetInfo">Request Information on our<br />
  147.                                                 <em>Accredited</em> 3-in-1<br />
  148.                                                 <a 
  149.                                                 class="bluelink" 
  150.                                                 href="http://www.wholehealtheducation.com/whole-health-programs/"
  151.                                                 >Whole Health Education®<br /> 
  152.                                                 400-hour training</a></h4>
  153.                                         <div id="theContactForm">
  154.                                         <?php echo do_shortcode( '[gravityform id=2 title=false description=false ajax=true]' ); ?>
  155.                                         </div><!-- #theContactForm -->
  156.                                 </div><!-- #askforinfo -->
  157.                                 <div class="clear"></div>
  158.                                
  159.                                 <div id="homeAHPA">
  160.                                         <div id="homeAhpaMember">
  161.                                         <a class="bluelink"
  162.                                                 href="https://www.wholehealtheducation.com/board-certified-eligible-patient-advocacy-program/">Our Whole Health<br /> 
  163.                                         Patient Advocacy Program</a>
  164.                                         <img class="aligncenter padd-tb-15"
  165.                                                 src="http://www.wholehealtheducation.com/site/wp-content/uploads/2015/12/advocacy.png"
  166.                                                 width="250" height="105"
  167.                                                 alt="advocacy"
  168.                                         />
  169.                                         is an AFFILIATE member of
  170.                                         </div><!-- #homeAhpaMember -->
  171.                                        
  172.                                         <a href="http://healthadvocateprograms.com/master-list/"
  173.                                                 target="_blank"
  174.                                                 ><img class="aligncenter"
  175.                                         src="http://www.wholehealtheducation.com/site/wp-content/uploads/2010/06/AHPA-logo.png"
  176.                                         alt="Alliance of Professional Health Advocates"
  177.                                         width="250" height="53" /></a>
  178.                                 </div><!-- #homeAHPA -->
  179.                                
  180.                         <br>  
  181.         <br>
  182.         
  183.             <div><!-- #livabovdramalogo -->
  184.                                                                                 <a href="https://livingabovethedrama.com/"
  185.                                                 target="_blank"
  186.                                                 >
  187.                       <img class="aligncenter; padd-20" 
  188.                                         src="https://www.wholehealtheducation.com/site/wp-content/uploads/2018/02/donadio290.jpg "
  189.                                         alt="Living Above The Drama"
  190.                                         width="190" height="190"
  191.                    /></a>
  192.               <br>
  193.               <br>
  194.                                 </div><!-- #livabovdramalogo -->
  195.  
  196.                         </div><!-- #middleContact -->
  197.                         <div class="clear" style="min-height: 1px;"></div>
  198.                 </div><!-- #theMiddle -->
  199.                
  200.                 <div id="homeBottom">
  201.                        
  202.                         <div id="home-oprah-td" class="homeBotCell">
  203.                                 <div id="mediaOprah">
  204.                                 <div class="homeRedButton">
  205.                                         <a class="homeButtonLink"
  206.                                                 title="Click to see NIWH in the Media"
  207.                                                 href="http://www.wholehealtheducation.com/about-niwh/niwh-in-the-media/"
  208.                                                 >In the Media</a>
  209.                                 </div><!-- .homeRedButton -->
  210.                                
  211.                                 <a href="http://www.wholehealtheducation.com/about-niwh/niwh-in-the-media/"
  212.                                         ><img
  213.                                                 src="http://www.wholehealtheducation.com/site/wp-content/uploads/2015/09/niwh-on-oprah-120.jpg"
  214.                                                 alt="NIWH on Oprah"
  215.                                                 title="NIWH on Oprah.com"
  216.                                                 width="95" height="120"
  217.                                         /></a>
  218.                                        
  219.                                         <div id="buttonResearch" class="homeRedButton">
  220.                                                 <a 
  221.                                                         class="homeButtonLink"
  222.                                                         title="Read about NIWH Research"
  223.                                                         href="http://www.wholehealtheducation.com/accreditation/whole-health-education-pilot-studies/">NIWH Research</a>
  224.                                         </div><!-- #buttonCertificate -->
  225.                                        
  226.                                 </div><!-- #mediaOprah -->
  227.                         </div><!-- #home-oprah-td -->
  228.                                
  229.                         <div id="home-nradio-td" class="homeBotCell">
  230.                                 <div class="homeRedButton">
  231.                                         <a target="_blank"
  232.                                                 class="homeButtonLink"
  233.                                                 title="Click to Hear Interviews at NurseRadio.org"
  234.                                                 href="http://www.nurseradio.org/"
  235.                                                 >Listen to Interviews</a>
  236.                                 </div><!-- .homeRedButton -->
  237.                                        
  238.                                 <a target="_blank"
  239.                                         href="http://www.nurseradio.org/"
  240.                                         ><img src="http://www.wholehealtheducation.com/site/wp-content/uploads/2015/09/NurseRadio-homepage4.png"
  241.                                                 alt="Nurse Radio"
  242.                                                 title="Nurse Radio"
  243.                                                 width="160" height="114"
  244.                                         /></a>
  245.                                
  246.                                 <div id="buttonCertificate" class="homeRedButton">
  247.                                         <a 
  248.                                                 class="homeButtonLink"
  249.                                                 title="Holistic Nurse Certification"
  250.                                                 href="http://www.wholehealtheducation.com/accreditation/holistic-nurse-certification/">Holistic Nurse Certification</a>
  251.                                 </div><!-- #buttonCertificate -->
  252.                         </div><!-- #home-nradio-td -->
  253.                        
  254.                         <div id="home-news-td"  class="homeBotCell">
  255.  
  256.                                 <div class="homeRedButton">
  257.                                         <a class="homeButtonLink"
  258.                                                 title="Read NIWH Latest News"
  259.                                                 href="http://www.wholehealtheducation.com/category/news-pressreleases">NIWH in the News</a>
  260.                                 </div><!-- #home-news-td .homeRedButton -->
  261.                                
  262.                                 <div id="intheNews">
  263.                                         <?php
  264.                                                 $posts = get_posts("category=5" . "&numberposts=3");
  265.                                                 if( $posts ) :
  266.                                         ?>
  267.                                         <ul id="homeNewsList">
  268.                                         <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
  269.                                                 <li><a href="<?php the_permalink() ?>" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></li>
  270.                                                 <?php endforeach; ?>
  271.                                         </ul>
  272.                                         <?php endif; ?>
  273.                                 </div><!-- #intheNews -->
  274.                                        
  275.                         </div><!-- #home-news-td -->
  276.  
  277.                        
  278.                         <div class="clearboth" style="height: 1px;"> </div>
  279.                 </div><!-- #homeBottom -->
  280.  
  281.                 </div><!-- #homeWrapper -->
  282.  
  283.  
  284.                 </div><!-- #content -->
  285.         </div><!-- #primary -->
  286.         </div><!-- .container -->
  287.  
  288. <?php get_footer(); ?>
  289.  
File Description
  • niwh homepage
  • PHP Code
  • 24 Jan-2020
  • 13.44 Kb
You can Share it: