-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathconnection-string.php
More file actions
39 lines (37 loc) · 1.43 KB
/
connection-string.php
File metadata and controls
39 lines (37 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Get Connection String html content for the connect tab.
*
* @package Cloudinary
*/
$dir_url = Cloudinary\get_plugin_instance()->dir_url;
?>
<div class="cld-wizard-connect-help">
<div class="cld-wizard-connect-help-text">
<h2><?php esc_html_e( 'Where to find my Connection string?', 'cloudinary' ); ?></h2>
<p>
<?php
printf(
wp_kses_post( 'After creating your %s:', 'cloudinary' ),
sprintf(
// translators: Link to create a Cloudinary account.
esc_html__( '%1$sCloudinary account%2$s', 'cloudinary' ),
sprintf(
'<a href="https://cloudinary.com/users/register/free?utm_source=wordpress-plugin-wizard&utm_medium=affiliate&utm_content=sign-up&utm_campaign=1976" target="_blank" title="%s">',
esc_attr__( 'Create here a free Cloudinary account', 'cloudinary' )
),
'</a>'
)
);
?>
</p>
<ol>
<li><?php esc_html_e( 'Open your Cloudinary Dashboard', 'cloudinary' ); ?></li>
<li><?php esc_html_e( 'At the top of the dashboard you will find the Account Details section', 'cloudinary' ); ?></li>
<li><?php esc_html_e( 'Copy the API Environment variable', 'cloudinary' ); ?></li>
</ol>
</div>
<div class="cld-wizard-connect-help-image">
<img src="<?php echo esc_url( $dir_url ); ?>css/images/connection-string.png" alt="<?php esc_attr_e( 'Where the connection string can be found on the cloudinary.com console.', 'cloudinary' ); ?>" class="img-connection-string" />
</div>
</div>