# boxzilla/3.0/src/admin/views/extensions.php

Boxzilla – WordPress Popup Builder, version 3.0. 60 lines.

- Page: https://pluginprobe.com/plugins/boxzilla/3.0/code/src/admin/views/extensions.php
- Raw: https://pluginprobe.com/plugins/boxzilla/3.0/raw/src/admin/views/extensions.php
- Modified: 2016-05-11T11:35:30+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/boxzilla/3.0/code/src/admin/views/extensions.php#L10-L20`.

```php
<?php defined( 'ABSPATH' ) or exit; ?>
<div class="wrap" id="boxzilla-admin" class="boxzilla-extensions">

	<h2><?php _e( 'Available Add-On Plugins', 'boxzilla' ); ?></h2>
	<p>
		<?php _e( "There are various add-ons available for Boxzilla which further enhance the functionality of the core plugin.", 'boxzilla' ); ?>
	</p>
	<p>
		<?php printf( __( 'To gain instant access the premium add-on plugins listed here, <a href="%s">have a look at our pricing</a>.', 'boxzilla' ), 'https://boxzillaplugin.com/pricing#utm_source=wp-plugin&utm_medium=boxzilla&utm_campaign=extensions-page' ); ?>
	</p>

	<?php if( empty( $extensions ) ) : ?>
		<script>
			window.setTimeout( function() {
				window.location.href = 'https://Boxzilla.com/plugins#utm_source=wp-plugin&utm_medium=boxzilla&utm_campaign=extensions-page';
			}, 2000 );
		</script>
		<p><?php _e( 'You will be redirected to the Boxzilla site in a few seconds..', 'boxzilla' ); ?></p>
		<p><?php printf( __( 'If not, please click here: %s.', 'boxzilla' ), '<a href="https://boxzillaplugin.com/add-ons#utm_source=wp-plugin&utm_medium=boxzilla&utm_campaign=extensions-page" target="_blank">View add-on plugins</a>' ); ?></p>
	<?php else : ?>

		<?php foreach( $extensions as $plugin ) : ?>

		<div class="plugin">
			<a href="<?php echo esc_url( $plugin->page_url ); ?>" class="unstyled"><img src="<?php echo esc_url( $plugin->image_url ); ?>" alt="<?php echo $plugin->name; ?>" width="280" height="220"></a>
			<div class="caption">
				<h3><a href="<?php echo esc_url( $plugin->page_url ); ?>" class="unstyled"><?php echo $plugin->name; ?></a></h3>
				<p><?php echo esc_html( $plugin->short_description ); ?></p>
				<p>
					<a class="button" href="<?php echo esc_url( $plugin->page_url ); ?>" title="More about <?php echo esc_attr( $plugin->name ); ?>">Read More</a>
					<span class="type"><?php echo esc_html( $plugin->type ); ?></span>
				</p>
			</div>
		</div>

		<?php endforeach; ?>

		<br style="clear: both;" />

	<?php endif; ?>
</div>

<style type="text/css">
	.plugin {
		width: 280px;
		border: 1px solid #ccc;
		margin: 0 20px 20px 0;
		float: left;
	}

	.plugin .caption {
		padding: 0 20px;
	}

	.plugin .type {
		float: right;
		text-transform: uppercase;
		font-weight: bold;
	}
</style>
```
