PluginProbe
Gianism / 4.4.0
Gianism v4.4.0
4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.4.0 5.0.0 5.0.1 5.0.2 5.1.0 5.2.1 5.2.2 5.3.0 6.0.0 6.0.1 trunk 1.0 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 All 65 releases
gianism / templates / setup / line.php

line.php in Gianism 4.4.0, at templates/setup/line.php

42 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) or die();
4
5 /** @var \Gianism\UI\SettingScreen $this */
6 /** @var \Gianism\Service\Line $instance */
7
8 ?>
9
10 <h3><i class="lsf lsf-line"></i> LINE</h3>
11
12 <h4>Step1. <?php esc_html_e( 'Create new channel', 'wp-gianism' ); ?></h4>
13
14 <p><?php esc_html_e( 'If you don\'t have LINE account, create new one.', 'wp-gianism' ); ?></p>
15 <p><?php _e( 'Go to <a href="https://developers.line.me/">LINE developer</a> and click <code>Start LINE login</code>.', 'wp-gianism' ); ?></p>
16 <p><?php esc_html_e( 'Then register new client. Enter required information.', 'wp-gianism' ); ?></p>
17
18 <table class="gianism-example-table">
19 <tr>
20 <th><?php esc_html_e( 'Provider Name', 'wp-gianism' ) ?></th>
21 <td>
22 <?php printf( __( 'Your service or company name. e.g. <code>%s</code>', 'wp-gianism' ), get_bloginfo( 'name' ) ); ?>
23 </td>
24 </tr>
25 <tr>
26 <th><?php esc_html_e( 'Application Name', 'wp-gianism' ) ?></th>
27 <td>
28 <?php printf( __( 'Your application name. Site name <code>%s</code> is clear for your user.', 'wp-gianism' ), get_bloginfo( 'name' ) ); ?>
29 </td>
30 </tr>
31 <tr>
32 <th><?php esc_html_e( 'Redirect URI', 'wp-gianism' ) ?></th>
33 <td>
34 <code><?php echo esc_html( home_url( "/{$instance->url_prefix}/", $this->option->is_ssl_required() ? 'https' : 'http' ) ) ?></code>
35 </td>
36 </tr>
37 </table>
38
39 <h4>Step2. <?php $this->e( 'Enter API Information' ); ?></h4>
40
41 <p><?php printf( $this->_( 'Save credentials on <a href="%s">WordPress admin screen</a>.' ), $this->setting_url() ); ?></p>
42