/**
  * Returns single instance of the class
  *
  * @return \YITH_INFS_Admin
  * @since 1.0.0
  */
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Example #2
0
                    <h2>LOADING EFFECT</h2>
                </div>
                <p>Choose the animation effect you want for the loading of the contents of your section. You can choose among seven different options.</p>
            </div>
            <div class="col-1">
                <img src="<?php 
echo YITH_INFS_URL . 'assets/images/';
?>
04.png" alt="Loading Effect" />
            </div>
        </div>
    </div>

    <div class="section section-cta section-odd">
        <div class="landing-container">
            <div class="premium-cta">
                <p>
                    Upgrade to the <span class="highlight">premium version</span>
                    of <span class="highlight">YITH Infinite Scrolling</span> to benefit from all features!
                </p>
                <a href="<?php 
echo YITH_INFS_Admin::get_instance()->get_premium_landing_uri();
?>
" target="_blank" class="premium-cta-button button btn">
                    <span class="highlight">UPGRADE</span>
                    <span>to the premium version</span>
                </a>
            </div>
        </div>
    </div>
</div>