forked from ggamel/wp-sync-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.php
executable file
·48 lines (46 loc) · 2.13 KB
/
help.php
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
40
41
42
43
44
45
46
47
48
<?php
$videos = array(
'SlfSuuePYaQ' => array(
'title' => __( 'Feature Walkthrough', 'wp-sync-db' ),
'desc' => __( 'A brief walkthrough of the WP Sync DB plugin showing all of the different options and explaining them.', 'wp-sync-db' )
),
'IFdHIpf6jjc' => array(
'title' => __( 'Pulling Live Data Into Your Local Development Environment', 'wp-sync-db' ),
'desc' => __( 'This screencast demonstrates how you can pull data from a remote, live WordPress install and update the data in your local development environment.', 'wp-sync-db' )
),
'FjTzNqAlQE0' => array(
'title' => __( 'Pushing Local Development Data to a Staging Environment', 'wp-sync-db' ),
'desc' => __( 'This screencast demonstrates how you can push a local WordPress database you\'ve been using for development to a staging environment.', 'wp-sync-db' )
),
'0aR8-jC2XXM' => array(
'title' => __( 'Media Files Addon Demo', 'wp-sync-db' ),
'desc' => __( 'A short demo of how the Media Files addon allows you to sync up your WordPress Media Libraries.', 'wp-sync-db' )
)
);
?>
<div class="help-tab content-tab">
<div class="support">
<h3>Support</h3>
<p>Please report bugs or ask questions in the <a href="https://github.com/wp-sync-db/wp-sync-db/issues">GitHub Issue Tracker</a>.</p>
</div>
<div class="debug">
<h3><?php _e( 'Diagnostic Info & Error Log', 'wp-sync-db' ); ?></h3>
<textarea class="debug-log-textarea" autocomplete="off" readonly></textarea>
<a class="button clear-log js-action-link"><?php _e( 'Clear Error Log', 'wp-sync-db' ); ?></a>
</div>
<div class="videos">
<h3><?php _e( 'Videos', 'wp-sync-db' ); ?></h3>
<iframe class="video-viewer" style="display: none;" width="640" height="360" src="" frameborder="0" allowfullscreen></iframe>
<ul>
<?php foreach ( $videos as $id => $video ) : ?>
<li class="video" data-video-id="<?php echo $id; ?>">
<a href="//www.youtube.com/watch?v=<?php echo $id; ?>" target="_blank"><img src="//img.youtube.com/vi/<?php echo $id; ?>/0.jpg" alt="" /></a>
<h4><?php echo $video['title']; ?></h4>
<p>
<?php echo $video['desc']; ?>
</p>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>