PluginProbe
Snippet Shortcodes / 5.1.1
Snippet Shortcodes v5.1.1
5.2.1 5.2 5.1.8 5.1.6 5.1.7 5.1.5 trunk 1.0 1.1 1.2 1.3 1.3.1 1.4 1.5 1.5.1 1.6 1.6.1 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.8 2.0 2.0.1 All 74 releases
shortcode-variables / includes / pages / page.help.php

page.help.php in Snippet Shortcodes 5.1.1, at includes/pages/page.help.php

112 lines 4.0 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('Jog on!');
4
5 function sh_cd_help_page() {
6
7 ?>
8
9 <div class="wrap ws-ls-admin-page">
10
11 <div id="icon-options-general" class="icon32"></div>
12
13 <div id="poststuff">
14
15 <div id="post-body" class="metabox-holder columns-3">
16
17 <!-- main content -->
18 <div id="post-body-content">
19
20 <div class="meta-box-sortables ui-sortable">
21
22 <div class="postbox">
23 <h3 class="postbox-header">
24 <span>
25 <?php echo __( 'Custom modifications / web development', SH_CD_SLUG ); ?>
26 </span>
27 </h3>
28 <div style="padding: 0px 15px 0px 15px">
29 <?php sh_cd_custom_notification_html(); ?>
30 </div>
31 </div>
32 <div class="postbox">
33 <h3 class="postbox-header">
34 <span>
35 <?php echo __( 'Documenation and Release notes', SH_CD_SLUG ); ?>
36 </span>
37 </h3>
38 <div style="padding: 0px 15px 0px 15px">
39 <p><?php echo __( 'You can find detailed documentation for this plugin at our site:', SH_CD_SLUG ); ?></p>
40 <p><a href="https://snippetshortcodes.yeken.uk/" rel="noopener noreferrer" class="button" target="_blank"><?php echo __( 'Main website', SH_CD_SLUG ); ?></a>
41 <a href="https://snippet-shortcodes.yeken.uk/" rel="noopener noreferrer" class="button" target="_blank"><?php echo __( 'View Documentation', SH_CD_SLUG ); ?></a>
42 <a href="https://wordpress.org/plugins/shortcode-variables/#developers" class="button" rel="noopener noreferrer" target="_blank"><?php echo __( 'Release Notes', SH_CD_SLUG ); ?></a>
43 </p>
44 </div>
45 </div>
46 <div class="postbox">
47 <h3 class="postbox-header">
48 <span>
49 <?php echo __( 'Contact', SH_CD_SLUG ); ?>
50 </span>
51 </h3>
52 <div style="padding: 0px 15px 0px 15px">
53 <p>If you have any questions or bugs to report, then please contact us at <a href="mailto:email@yeken.uk">email@yeken.uk</a>.</p>
54 </div>
55 </div>
56 <div class="postbox">
57 <h3 class="postbox-header">
58 <span>
59 <?php echo __( 'Support Actions', SH_CD_SLUG ); ?>
60 </span>
61 </h3>
62 <div style="padding: 0px 15px 0px 15px">
63 <p><?php echo __( 'Below are tools that may help you troubleshoot issues with your install:', SH_CD_SLUG ); ?></p>
64 <?php
65 $url = admin_url('admin.php?page=sh-cd-help&db-check=y' );
66
67 if ( false === empty( $_GET[ 'db-check' ] ) ) {
68 sh_cd_create_database_table();
69 sh_cd_create_database_table_multisite();
70 echo __( '<p class="sh-cd-highlight-colour">Database tables have been checked and fixed if required.</p>', SH_CD_SLUG );
71 }
72 ?>
73 <p>
74 <a href="<?php echo esc_url($url); ?>" rel="noopener noreferrer" class="button" ><?php echo __( 'Check and fix database tables', SH_CD_SLUG ); ?></a>
75 </p>
76 </div>
77 </div>
78
79 </div>
80 <!-- .meta-box-sortables .ui-sortable -->
81
82 </div>
83 <!-- post-body-content -->
84
85 </div>
86 <!-- #post-body .metabox-holder .columns-2 -->
87
88 <br class="clear">
89 </div>
90 <!-- #poststuff -->
91
92 </div> <!-- .wrap -->
93 <?php
94
95 }
96
97 /**
98 * HTML for mention of custom work
99 */
100 function sh_cd_custom_notification_html() {
101 ?>
102
103 <p><img src="<?php echo plugins_url( 'assets/images/yeken-logo.png', __FILE__ ); ?>" width="100" height="100" style="margin-right:20px" align="left" /><?php echo __( 'If you need changes to Snippet Shortcodes, a custom plugin built, or help from a developer for your website, feel free to get in touch!', SH_CD_SLUG ); ?></p>
104 <p><strong><?php echo __( 'We provide fixed priced quotes.', SH_CD_SLUG ); ?></strong></p>
105 <p><a href="https://www.yeken.uk" rel="noopener noreferrer" target="_blank">YeKen.uk</a> /
106 <a href="https://profiles.wordpress.org/aliakro" rel="noopener noreferrer" target="_blank">WordPress Profile</a> /
107 <a href="mailto:email@yeken.uk" >email@yeken.uk</a></p>
108 <br clear="both"/>
109 <?php
110 }
111
112