| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin Help and Support Page |
| 4 |
* |
| 5 |
* @package GamiPress\Admin\Help_Support |
| 6 |
* @author GamiPress <contact@gamipress.com>, Ruben Garcia <rubengcdev@gmail.com> |
| 7 |
* @since 1.0.0 |
| 8 |
*/ |
| 9 |
// Exit if accessed directly |
| 10 |
if( !defined( 'ABSPATH' ) ) exit; |
| 11 |
|
| 12 |
/** |
| 13 |
* Help and Support page |
| 14 |
* |
| 15 |
* @since 1.0.0 |
| 16 |
* |
| 17 |
* @return void |
| 18 |
*/ |
| 19 |
function gamipress_help_support_page() { |
| 20 |
?> |
| 21 |
|
| 22 |
<div class="wrap"> |
| 23 |
<div id="icon-options-general" class="icon32"></div> |
| 24 |
<h1 class="wp-heading-inline"><?php _e( 'GamiPress Help and Support', 'gamipress' ); ?></h1> |
| 25 |
|
| 26 |
<h2><?php _e( 'About GamiPress', 'gamipress' ); ?>:</h2> |
| 27 |
<p><?php echo __( 'GamiPress is plugin for WordPress that allows your site\'s users to complete tasks, demonstrate achievements, and earn points. You define the points and achievement types, organize your requirements any way you like, and choose from a range of options to determine whether each task or requirement has been achieved.', 'gamipress' ); ?></p> |
| 28 |
|
| 29 |
<?php do_action( 'gamipress_help_support_page_about' ); ?> |
| 30 |
|
| 31 |
<h2><?php _e( 'Documentation', 'gamipress' ); ?>:</h2> |
| 32 |
<p><?php printf( |
| 33 |
__( 'For information about all features and configurations of GamiPress, visit the official %1$s.', 'gamipress' ), |
| 34 |
sprintf( |
| 35 |
'<a href="https://gamipress.com/docs" target="_blank">%s</a>', |
| 36 |
__( 'documentation', 'gamipress' ) |
| 37 |
) |
| 38 |
); ?></p> |
| 39 |
|
| 40 |
<?php do_action( 'gamipress_help_support_page_docs' ); ?> |
| 41 |
|
| 42 |
<h2><?php _e( 'Help / Support', 'gamipress' ); ?>:</h2> |
| 43 |
<p><?php printf( |
| 44 |
__( 'For support on using GamiPress or to suggest feature enhancements, visit the official %1$s. %2$s with inquiries.', 'gamipress' ), |
| 45 |
sprintf( |
| 46 |
'<a href="https://wordpress.org/support/plugin/gamipress" target="_blank">%s</a>', |
| 47 |
__( 'GamiPress support forums', 'gamipress' ) |
| 48 |
), |
| 49 |
sprintf( |
| 50 |
'<a href="https://gamipress.com/contact-us/" target="_blank">%s</a>', |
| 51 |
__( 'Contact us', 'gamipress' ) |
| 52 |
) |
| 53 |
); ?></p> |
| 54 |
|
| 55 |
<?php do_action( 'gamipress_help_support_page_help' ); ?> |
| 56 |
|
| 57 |
<h2><?php _e( 'Shortcodes', 'gamipress' ); ?>:</h2> |
| 58 |
<p><?php _e( 'With GamiPress activated, the following shortcodes can be placed on any page or post within WordPress to expose a variety of GamiPress functions.', 'gamipress' ); ?></p> |
| 59 |
|
| 60 |
<?php do_action( 'gamipress_help_support_page_shortcodes' ); ?> |
| 61 |
</div> |
| 62 |
|
| 63 |
<?php |
| 64 |
} |