| Server IP : 69.72.244.102 / Your IP : 216.73.216.164 Web Server : LiteSpeed System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : konzalta ( 1271) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/konzalta/public_html/wp-content/themes/modernee/skins/default/templates/ |
Upload File : |
<?php
/**
* The template to display Admin notices
*
* @package MODERNEE
* @since MODERNEE 1.0.1
*/
$modernee_theme_slug = get_template();
$modernee_theme_obj = wp_get_theme( $modernee_theme_slug );
?>
<div class="modernee_admin_notice modernee_rate_notice notice notice-info is-dismissible" data-notice="rate">
<?php
// Theme image
$modernee_theme_img = modernee_get_file_url( 'screenshot.jpg' );
if ( '' != $modernee_theme_img ) {
?>
<div class="modernee_notice_image"><img src="<?php echo esc_url( $modernee_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'modernee' ); ?>"></div>
<?php
}
// Title
$modernee_theme_name = '"' . $modernee_theme_obj->get( 'Name' ) . ( MODERNEE_THEME_FREE ? ' ' . __( 'Free', 'modernee' ) : '' ) . '"';
?>
<h3 class="modernee_notice_title"><a href="<?php echo esc_url( modernee_storage_get( 'theme_rate_url' ) ); ?>" target="_blank">
<?php
echo esc_html(
sprintf(
// Translators: Add theme name to the 'Welcome' message
__( 'Help Us Grow - Rate %s Today!', 'modernee' ),
$modernee_theme_name
)
);
?>
</a></h3>
<?php
// Description
?>
<div class="modernee_notice_text">
<p><?php
// Translators: Add theme name to the 'Welcome' message
echo wp_kses_data( sprintf( __( "Thank you for choosing the %s theme for your website! We're excited to see how you've customized your site, and we hope you've enjoyed working with our theme.", 'modernee' ), $modernee_theme_name ) );
?></p>
<p><?php
// Translators: Add theme name to the 'Welcome' message
echo wp_kses_data( sprintf( __( "Your feedback really matters to us! If you've had a positive experience, we'd love for you to take a moment to rate %s and share your thoughts on the customer service you received.", 'modernee' ), $modernee_theme_name ) );
?></p>
</div>
<?php
// Buttons
?>
<div class="modernee_notice_buttons">
<?php
// Link to the theme download page
?>
<a href="<?php echo esc_url( modernee_storage_get( 'theme_rate_url' ) ); ?>" class="button button-primary" target="_blank"><i class="dashicons dashicons-star-filled"></i>
<?php
// Translators: Add the theme name to the button caption
echo esc_html( sprintf( __( 'Rate %s Now', 'modernee' ), $modernee_theme_name ) );
?>
</a>
<?php
// Link to the theme support
?>
<a href="<?php echo esc_url( modernee_storage_get( 'theme_support_url' ) ); ?>" class="button" target="_blank"><i class="dashicons dashicons-sos"></i>
<?php
esc_html_e( 'Support', 'modernee' );
?>
</a>
<?php
// Link to the theme documentation
?>
<a href="<?php echo esc_url( modernee_storage_get( 'theme_doc_url' ) ); ?>" class="button" target="_blank"><i class="dashicons dashicons-book"></i>
<?php
esc_html_e( 'Documentation', 'modernee' );
?>
</a>
</div>
</div>