Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : admin-notice.php
<?php
/**
 * The template to display Admin notices
 *
 * @package SPIN
 * @since SPIN 1.0.1
 */

$spin_theme_slug = get_option( 'template' );
$spin_theme_obj  = wp_get_theme( $spin_theme_slug );
?>
<div class="spin_admin_notice spin_welcome_notice notice notice-info is-dismissible" data-notice="admin">
	<?php
	// Theme image
	$spin_theme_img = spin_get_file_url( 'screenshot.jpg' );
	if ( '' != $spin_theme_img ) {
		?>
		<div class="spin_notice_image"><img src="<?php echo esc_url( $spin_theme_img ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'spin' ); ?>"></div>
		<?php
	}

	// Title
	?>
	<h3 class="spin_notice_title">
		<?php
		echo esc_html(
			sprintf(
				// Translators: Add theme name and version to the 'Welcome' message
				__( 'Welcome to %1$s v.%2$s', 'spin' ),
				$spin_theme_obj->get( 'Name' ) . ( SPIN_THEME_FREE ? ' ' . __( 'Free', 'spin' ) : '' ),
				$spin_theme_obj->get( 'Version' )
			)
		);
		?>
	</h3>
	<?php

	// Description
	?>
	<div class="spin_notice_text">
		<p class="spin_notice_text_description">
			<?php
			echo str_replace( '. ', '.<br>', wp_kses_data( $spin_theme_obj->description ) );
			?>
		</p>
		<p class="spin_notice_text_info">
			<?php
			echo wp_kses_data( __( 'Attention! Plugin "ThemeREX Addons" is required! Please, install and activate it!', 'spin' ) );
			?>
		</p>
	</div>
	<?php

	// Buttons
	?>
	<div class="spin_notice_buttons">
		<?php
		// Link to the page 'About Theme'
		?>
		<a href="<?php echo esc_url( admin_url() . 'themes.php?page=spin_about' ); ?>" class="button button-primary"><i class="dashicons dashicons-nametag"></i> 
			<?php
			echo esc_html__( 'Install plugin "ThemeREX Addons"', 'spin' );
			?>
		</a>
	</div>
</div>
© 2026 GrazzMean-Shell