PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / trunk
Social Media Auto Poster – Schedule & Publish to Buffer vtrunk
6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 All 124 releases
wp-to-buffer / lib / shared / views / about-plugin-card.php

about-plugin-card.php in Social Media Auto Poster – Schedule & Publish to Buffer trunk, at lib/shared/views/about-plugin-card.php

44 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs a Plugin Card.
4 *
5 * @package WPZinc\Shared
6 * @author WP Zinc
7 */
8
9 // Exit if accessed directly.
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13 ?>
14 <div class="plugin-card">
15 <div class="plugin-card-top">
16 <div class="name column-name">
17 <h3>
18 <a href="<?php echo esc_url( $product['url'] ); ?>" target="_blank">
19 <?php echo esc_html( $product['name'] ); ?>
20 <img src="<?php echo esc_url( $product['icon'] ); ?>" class="plugin-icon" alt="">
21 </a>
22 </h3>
23 </div>
24 <div class="desc column-description">
25 <p><?php echo esc_html( $product['description'] ); ?></p>
26 </div>
27 </div>
28
29 <div class="plugin-card-bottom">
30 <div class="vers column-rating">
31 <?php esc_html_e( 'from', 'wp-to-buffer' ); ?> $<?php echo esc_html( $product['price'] ); ?>/<?php esc_html_e( 'year', 'wp-to-buffer' ); ?>
32 </div>
33 <div class="column-updated">
34 <?php
35 if ( array_key_exists( 'install_url', $product ) && ! empty( $product['install_url'] ) ) {
36 ?>
37 <a href="<?php echo esc_url( $product['install_url'] ); ?>" class="button button-primary" target="_blank"><?php esc_html_e( 'Install', 'wp-to-buffer' ); ?></a>
38 <?php
39 }
40 ?>
41 <a href="<?php echo esc_url( $product['url'] ); ?>" class="button button-secondary" target="_blank"><?php esc_html_e( 'Learn More', 'wp-to-buffer' ); ?></a>
42 </div>
43 </div>
44 </div>