/** * Creates or returns an instance of this class. * * @since 1.1.5 */ public static function get_instance() { if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Render 'About Agama' Page * * @since Agama v1.0.1 */ public function render_page() { echo '<div class="wrap about-wrap">'; echo '<h1>' . sprintf(__('Welcome to Agama v%s', 'agama'), Agama_Core::version()) . '</h1>'; echo '<div class="about-text">'; echo __('Thank you for using Agama theme!', 'agama') . '<br>'; echo __('Consider supporting us with any desired amount donation.', 'agama') . '<br>'; echo __('Even the smallest donation amount means a lot for us.', 'agama') . '<br>'; echo __('With donations you are helping us for faster theme development & updates.', 'agama') . '<br><br>'; echo '<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <div class="paypal-donations"> <input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="bn" value="TipsandTricks_SP"> <input type="hidden" name="business" value="*****@*****.**"> <input type="hidden" name="return" value="https://www.theme-vision.com/thank-you/"> <input type="hidden" name="item_name" value="Agama development support."> <input type="hidden" name="rm" value="0"> <input type="hidden" name="currency_code" value="USD"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online."> <img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </div> </form>'; echo __('or', 'agama') . '<br>'; echo sprintf(__('You can support us by Buying an %s theme with allot new features & extensions!', 'agama'), '<a href="http://theme-vision.com/agama-pro/" title="Agama Pro" target="_blank">AgamaPRO</a>'); echo '</div>'; echo '<h2 class="nav-tab-wrapper">'; echo '<a class="nav-tab nav-tab-active">' . __('What\'s New', 'agama') . '</a>'; echo '</h2>'; echo '<div class="changelog point-releases">'; echo sprintf('<h3>Changelog Agama v%s</h3>', Agama_Core::version()); echo '<p>ADDED: Breadcrumb background color feature.</p>'; echo '<p>ADDED: Breadcrumb links color feature.</p>'; echo '<p>ADDED: Breadcrumb text color feature.</p>'; echo '<p>ADDED: Footer widget area background color feature.</p>'; echo '<p>ADDED: Footer bottom area background color feature.</p>'; echo '<p>FIXED: Current menu item background color on navigation.</p>'; echo '<p>UPDATED: ReStyled footer area.</p>'; echo '<p>UPDATED: Language translation files.</p>'; echo '<p>IMPLEMENTED: Action hook for breadcrumbs. (agama_breadcrumbs_action)</p>'; echo '<p>IMPLEMENTED: Action hook for frontpage boxes. (agama_frontpage_boxes_action)</p>'; echo '</div>'; echo '</div>'; }