File "products.php"
Full Path: /home/ycoalition/public_html/wp-content/plugins/ultimate-responsive-image-slider/products.php
File size: 3.71 KB
MIME-type: text/x-php
Charset: utf-8
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class WPFURIS_Product_Menu {
public static function create_menu() {
$products = add_submenu_page( 'edit.php?post_type=ris_gallery', 'Our Pro Plugin', 'Our Pro Plugin', 'manage_options', 'wpfuris_products', array( 'WPFURIS_Product_Menu', 'products' ) );
add_action( 'admin_print_styles-' . $products, array( 'WPFURIS_Product_Menu', 'products_assets' ) );
}
public static function products() { ?>
<div class="wpfrank-products-container">
<div class="wpfrank-products-title"><h1>Our Premium Products</h1></div>
<div class="wpfrank-products">
<div class="wpfrank-product">
<div class="wpfrank-product-title">Filter Gallery Pro</div>
<img class="wpfrank-product-image" height="236px" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Filter-Gallery-Pro.jpg"); ?>">
<div class="wpfrank-product-tagline">Premium Filter Gallery With Parent & Child Filters</div>
<div class="wpfrank-product-links">
<a target="_blank" href="http://wpfrank.com/demo/filter-gallery-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
<a target="_blank" href="http://wpfrank.com/account/signup/filter-gallery-pro" class="wpfrank-link-button wpfrank-buy-now">Buy Now</a>
</div>
</div>
<div class="wpfrank-product">
<div class="wpfrank-product-title">Slider Factory Pro</div>
<img class="wpfrank-product-image" height="236px" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Slider-Factory-Pro.png"); ?>">
<div class="wpfrank-product-tagline">Premium Slider Plugin To Add Responsive Slide Show On Website</div>
<div class="wpfrank-product-links">
<a target="_blank" href="http://wpfrank.com/demo/slider-factory-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
<a target="_blank" href="http://wpfrank.com/account/signup/slider-factory-pro" class="wpfrank-link-button wpfrank-buy-now">Buy Now</a>
</div>
</div>
<div class="wpfrank-product">
<div class="wpfrank-product-title">Flickr Album Gallery Pro</div>
<img class="wpfrank-product-image" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Flickr-Album-Gallery-Pro.jpg"); ?>">
<div class="wpfrank-product-tagline">Premium Flickr Plugin To Fetch And Display Albums On Website</div>
<div class="wpfrank-product-links">
<a target="_blank" href="http://wpfrank.com/demo/flickr-album-gallery-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
<a target="_blank" href="http://wpfrank.com/account/signup/flickr-album-gallery-pro" class="wpfrank-link-button wpfrank-buy-now">Buy Now</a>
</div>
</div>
<div class="wpfrank-product">
<div class="wpfrank-product-title">Ultimate Responsive Image Slider Pro</div>
<img class="wpfrank-product-image" src="<?php echo esc_url(URIS_PLUGIN_URL . "assets/img/products/Ultimate-Responsive-Image-Slider-Pro.jpg"); ?>">
<div class="wpfrank-product-tagline">Premium Slider Plugin With Five Elegant Design Layouts</div>
<div class="wpfrank-product-links">
<a target="_blank" href="http://wpfrank.com/demo/ultimate-responsive-image-slider-pro/" class="wpfrank-link-button wpfrank-try-now">Live Demo</a>
<a target="_blank" href="http://wpfrank.com/account/signup/ultimate-responsive-image-slider-pro" class="wpfrank-link-button wpfrank-buy-now">Buy Now</a>
</div>
</div>
</div>
</div>
<?php
}
public static function products_assets() {
wp_enqueue_style( 'wpfrank-products', URIS_PLUGIN_URL . 'assets/css/wpfrank-products.css', array(), '1.2', 'all' );
}
}
add_action( 'admin_menu' , array( 'WPFURIS_Product_Menu', 'create_menu' ) );
?>