seb86/Auto-Load-Next-Post

View on GitHub
includes/admin/views/html-notice-trying-beta.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Admin View: Trying Beta Notice.
 *
 * @since    1.0.0
 * @version  1.5.14
 * @author   Sébastien Dumont
 * @category Admin
 * @package  Auto Load Next Post/Admin/Views
 * @license  GPL-2.0+
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>
<div class="notice notice-info auto-load-next-post-notice">
    <div class="auto-load-next-post-notice-inner">
        <div class="auto-load-next-post-notice-icon">
            <img src="<?php echo AUTO_LOAD_NEXT_POST_URL_PATH . '/assets/images/icon-256x256.png'; ?>" alt="<?php echo esc_attr__( 'Auto Load Next Post WordPress Plugin', 'auto-load-next-post' ); ?>" />
        </div>

        <div class="auto-load-next-post-notice-content">
            <h3><?php echo esc_html__( 'Thanks for trying out this beta/pre-release!', 'auto-load-next-post' ); ?></h3>
            <p><?php echo esc_html__( 'If you have any questions or any feedback at all, please let me know. Any little bit you\'re willing to share helps.', 'auto-load-next-post' ); ?></p>
        </div>

        <div class="auto-load-next-post-send-feedback">
            <?php printf( '<a href="%1$s" class="button button-primary auto-load-next-post-feedback-button" target="_blank">%2$s</a>', esc_url( AUTO_LOAD_NEXT_POST_STORE_URL . 'contact/' ), esc_html__( 'Give Feedback', 'auto-load-next-post' ) ); ?>
            <a href="<?php echo esc_url( add_query_arg( 'hide_auto_load_next_post_beta_notice', 'true' ) ); ?>" class="no-thanks"><?php echo esc_html__( 'Ask me again in 7 days', 'auto-load-next-post' ); ?></a>
        </div>
    </div>
</div>