PluginProbe
Custom 404 Pro / trunk
Custom 404 Pro vtrunk
3.15.2 3.15.4 3.15.5 3.15.6 3.16.0 3.15.1 3.15.0 3.14.1 3.14.0 3.13.0 trunk 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.5 1.1.6 1.2.0 1.3.10 1.3.12 1.3.5 All 100 releases
custom-404-pro / admin / views / about.php

about.php in Custom 404 Pro trunk, at admin/views/about.php

97 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * About page view.
4 *
5 * @package Custom_404_Pro
6 */
7
8 $plugin_main_file = dirname( dirname( dirname( __DIR__ ) ) ) . '/custom-404-pro/custom-404-pro.php';
9 $plugin_data = get_plugin_data( $plugin_main_file );
10 $c4p_author_output = wp_kses(
11 $plugin_data['Author'],
12 array(
13 'a' => array(
14 'href' => array(),
15 'rel' => array(),
16 ),
17 )
18 );
19 ?>
20
21
22 <div class="wrap">
23 <h2><?php esc_html_e( 'Custom 404 Pro Info', 'custom-404-pro' ); ?></h2><br>
24 <div id="poststuff">
25 <div id="post-body" class="metabox-holder columns-2">
26 <div id="post-body-content">
27 <div class="postbox">
28 <h3 class="hndle"><span><?php esc_html_e( 'About the Author', 'custom-404-pro' ); ?></span></h3>
29 <div class="inside">
30 <div class="c4p-clearfix">
31 <div class="c4p-left">
32 <img src="<?php echo esc_url( plugin_dir_url( __FILE__ ) . 'me.jpg' ); ?>" class="c4p-author-image"/>
33 </div>
34 <div class="c4p-left" style="width: 70%">
35 <p>Hi.</p>
36 <p>My name is <b>Kunal Nagar</b> and I'm a Front-End Web Developer.</p>
37 <p>For more info and résumé, you can visit my <a href="https://www.kunalnagar.in" target="_blank" rel="noopener noreferrer">website</a>.</p>
38 </div>
39 </div>
40 </div>
41 </div>
42 </div>
43 <div id="postbox-container-1" class="postbox-container">
44 <div class="postbox">
45 <h3 class="hndle ui-sortable-handle"><?php esc_html_e( 'Like the plugin?', 'custom-404-pro' ); ?></h3>
46 <div class="inside">
47 <div class="misc-pub-section">
48 <form action="https://www.paypal.com/donate" method="post" target="_top">
49 <input type="hidden" name="business" value="YEKFFE2HSGHTJ" />
50 <input type="hidden" name="no_recurring" value="0" />
51 <input type="hidden" name="currency_code" value="CAD" />
52 <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
53 <img alt="" border="0" src="https://www.paypal.com/en_CA/i/scr/pixel.gif" width="1" height="1" />
54 </form>
55 </div>
56 </div>
57 </div>
58 <div class="postbox">
59 <h3 class="hndle ui-sortable-handle"><?php esc_html_e( 'Plugin Info', 'custom-404-pro' ); ?></h3>
60 <div class="inside">
61 <div class="misc-pub-section">
62 <label><?php esc_html_e( 'Name:', 'custom-404-pro' ); ?></label>
63 <span>
64 <b><?php echo esc_html( $plugin_data['Title'] ); ?></b>
65 </span>
66 </div>
67 <div class="misc-pub-section">
68 <label><?php esc_html_e( 'Version:', 'custom-404-pro' ); ?></label>
69 <span>
70 <b><?php echo esc_html( $plugin_data['Version'] ); ?></b>
71 </span>
72 </div>
73 <div class="misc-pub-section">
74 <label><?php esc_html_e( 'Author:', 'custom-404-pro' ); ?></label>
75 <span>
76 <b><?php echo $c4p_author_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- already passed through wp_kses() above ?></b>
77 </span>
78 </div>
79 <div class="misc-pub-section">
80 <label><?php esc_html_e( 'Email:', 'custom-404-pro' ); ?></label>
81 <span>
82 <b><a href="mailto:hireme@kunalnagar.in">hireme@kunalnagar.in</a></b>
83 </span>
84 </div>
85 <div class="misc-pub-section">
86 <label><?php esc_html_e( 'Need help?', 'custom-404-pro' ); ?></label>
87 <span>
88 <b><a href="https://github.com/kunalnagar/custom-404-pro/issues"><?php esc_html_e( 'Create an Issue', 'custom-404-pro' ); ?></a></b>
89 </span>
90 </div>
91 </div>
92 </div>
93 </div>
94 </div>
95 </div>
96 </div>
97