# ultimate-post/5.1.1/includes/notice/views/image.php

Post Grid Gutenberg Blocks – PostX, version 5.1.1. 21 lines.

- Page: https://pluginprobe.com/plugins/ultimate-post/5.1.1/code/includes/notice/views/image.php
- Raw: https://pluginprobe.com/plugins/ultimate-post/5.1.1/raw/includes/notice/views/image.php
- Modified: 2026-10-06T09:38:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ultimate-post/5.1.1/code/includes/notice/views/image.php#L10-L20`.

```php
<?php
/**
 * Image banner notice.
 *
 * @package ULTP\Notice
 *
 * @var \ULTP\Includes\Notice\Image_Notice $notice
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="ultp-notice-wrapper ultp-image-notice-wrapper notice wc-install ultp-free-notice">
	<div class="wc-install-body ultp-image-banner">
		<a class="wc-dismiss-notice ultp-content-notice-close" href="<?php echo esc_url( $notice->get_dismiss_url() ); ?>"><span class="ultp-content-notice-close-icon dashicons dashicons-dismiss" style="color: <?php echo esc_attr( $notice->get( 'close_color' ) ); ?>;"> </span></a>
		<a class="ultp-btn-image" target="_blank" href="<?php echo esc_url( $notice->get_url() ); ?>">
			<img loading="lazy" src="<?php echo esc_url( $notice->get( 'banner_src' ) ); ?>" alt="Discount Banner"/>
		</a>
	</div>
</div>


```
