Changeset 1859158
- Timestamp:
- 04/16/2018 02:46:44 PM (8 years ago)
- Location:
- octify/trunk
- Files:
-
- 2 edited
-
Octify.php (modified) (1 diff)
-
View/dashboard2.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
octify/trunk/Octify.php
r1859058 r1859158 567 567 ), $svg ); 568 568 } 569 570 if ( is_plugin_active( 'ocean-extra/ocean-extra.php' ) ) { 571 add_submenu_page( 'octify', __( "Go Pro", octify()->domain ), __( "Go Pro", octify()->domain ), 'manage_options', 'octify-pro', array( 572 &$this, 573 'goPro' 574 ) ); 575 } 576 577 } 578 579 public function goPro() { 580 wp_redirect( 'https://octify.io/?ref=nicolaslecocq' ); 581 exit; 569 582 } 570 583 -
octify/trunk/View/dashboard2.php
r1859060 r1859158 7 7 <h2 class="title has-text-centered"><img 8 8 src="<?php echo octify()->plugin_url . 'assets/octify_title_welcome.png' ?>"></h2> 9 <?php 10 $home = "https://octify.io/"; 11 if ( is_plugin_active( 'ocean-extra/ocean-extra.php' ) ) { 12 $home = "https://octify.io/?ref=nicolaslecocq"; 13 } 14 ?> 9 15 <div class="octify-links-widget"> 10 16 <ul> 11 17 <li> 12 <a href=" https://octify.io/"><?php _e( "Octify.io" ) ?></a>18 <a href="<?php echo $home ?>"><?php _e( "Octify.io" ) ?></a> 13 19 </li> 14 20 <li> … … 16 22 </li> 17 23 <li> 18 <a href=" https://octify.io/#section08faq"><?php _e( "Help" ) ?></a>24 <a href="<?php echo $home ?>#section08faq"><?php _e( "Help" ) ?></a> 19 25 </li> 20 26 </ul>
Note: See TracChangeset
for help on using the changeset viewer.