lib/extras.php
/**
 *  Returns JAMA house AD (hardcoded for demo)
 */
Returns JAMA house AD (hardcoded for demo)
Returns JAMA house AD ( hardcoded for demo )
function jama_house_ad() {
  ob_start(); ?>
    <section class="widget ad-widget">
      <div class="wrapper">
        <p class="disclaimer">
          <a href="http://jamanetwork.com/SS/Advertising_Disclaimer.aspx" target="_blank">Advertisement</a>
        </p>
        <div class="jn-house-ad">
          <img src="<?php echo get_template_directory_uri() . "/assets/img/house-banner-ad.gif";?>">
        </div>
      </div>
    </section>
  <?php
  $output = ob_get_contents();
  ob_end_clean ();
  return $output;
}
function jama_house_ad ( ) { ob_start ( ) ; ?> <section class="widget ad-widget">
      <div class="wrapper">
        <p class="disclaimer">
          <a href="http://jamanetwork.com/SS/Advertising_Disclaimer.aspx" target="_blank">Advertisement</a>
        </p>
        <div class="jn-house-ad">
          <img src=" <?php echo get_template_directory_uri ( ) . " /assets/img/house-banner-ad.gif " ; ?> ">
        </div>
      </div>
    </section>
   <?php $ output = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ output ; }
Returns JAMA house AD (hardcoded for demo)
Returns JAMA house AD ( hardcoded for demo )