PluginProbe
Code Embed / 2.0.2
Code Embed v2.0.2
2.6.4 2.6.3 2.6.2 2.6.1 trunk 1.0 1.1 1.2 1.3 1.4.1 1.5.1 1.6.1 2.0.2 2.1.2 2.2.2 2.3.9 2.4 2.5.1 2.5.2 2.6
simple-embed-code / includes / ace-support.php

ace-support.php in Code Embed 2.0.2, at includes/ace-support.php

51 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 * Support Page
4 *
5 * Support for the plugin
6 *
7 * @package Artiss-Code-Embed
8 * @since 2.0
9 */
10 ?>
11 <div class="wrap">
12 <div class="icon32"><img src="<?php echo plugins_url(); ?>/simple-embed-code/images/screen_icon.png" alt="" title="" height="32px" width="32px"/><br /></div>
13
14 <h2><?php _e( 'Artiss Code Embed Support'); ?></h2>
15
16 <p><?php echo sprintf( __( 'You are using Artiss Code Embed version %s. It was written by David Artiss.' ), artiss_code_embed_version ); ?></p>
17
18 <?php
19 $options = ace_get_embed_paras();
20
21 // How to embed
22
23 echo "<h3>" . __( 'How to Embed' ) . "</h3>\n";
24 echo '<p>' . sprintf ( __( 'Based upon your current settings to embed some code simply add a custom field named %s, where %s is any suffix you wish. The code to embed is then added as the field value.' ), '<strong>' . $options[ 'keyword_ident' ] . 'x</strong>', '<strong>x</strong>' ) . "</p>\n";
25 echo '<p>' . sprintf ( __( 'Then, to add the code into your post simple add %s where you wish it to appear. %s is the suffix you used for the custom field name.' ), '<strong>' . $options[ 'opening_ident' ] . $options[ 'keyword_ident' ] . "x" . $options[ 'closing_ident' ] . '</strong>', '<strong>x</strong>' ) . "</p>\n";
26 echo '<p>' . sprintf ( __( 'For example, I may add a custom field named %s, where the value is the code I wish to embed. I would then in my post add %s where I wish the code to then appear.' ), '<strong>' . $options[ 'keyword_ident' ].'1</strong>', '<strong>' . $options[ 'opening_ident' ] . $options[ 'keyword_ident' ] . "1" . $options[ 'closing_ident' ] . '</strong>' ) . "</p>\n";
27 echo '<p>' . sprintf ( __( 'To embed the same code but to make it responsive you would use %s. To set a maximum width you would use %s, where %s is the maximum width in pixels.' ), '<strong>' . $options[ 'opening_ident' ] . $options[ 'keyword_ident' ] . "x_RES" . $options[ 'closing_ident' ] . '</strong>', '<strong>' . $options[ 'opening_ident' ] . $options[ 'keyword_ident' ] . "x_RES_y" . $options[ 'closing_ident' ] . '</strong>', '<strong>y</strong>' ) . "</p>\n";
28 echo '<p>' . sprintf ( __( 'To embed an external URL you would type %s, where %s is the URL.' ), '<strong>' . $options[ 'opening_ident' ] . 'url' . $options[ 'closing_ident' ] . '</strong>', '<strong>url</strong>' ) . "</p>\n";
29
30 // Support information
31
32 echo '<h3>' . __( 'Support Information' ) . "</h3>\n";
33 echo '<p><a href="http://www.artiss.co.uk/code-embed">' . __( 'Artiss Code Embed Plugin Documentation' ) . "</a></p>\n";
34 echo '<p><a href="http://www.artiss.co.uk/forum/specific-plugins-group2/artiss-code-embed-forum3">' . __( 'Artiss Code Embed Support Forum' ) . "</a></p>\n";
35 echo '<h4>' . __( 'This plugin, and all support, is supplied for free, but <a title="Donate" href="http://artiss.co.uk/donate" target="_blank">donations</a> are always welcome.' ) . "</h4>\n";
36
37 // Acknowledgements
38
39 echo '<h3>' . __( 'Acknowledgements' ) . "</h3>\n";
40 echo '<p>' . sprintf( __( 'Images have been compressed with %s.' ), '<a href="http://www.smushit.com/ysmush.it/">Smush.it</a>' ) . "</p>\n";
41 echo '<p>' . sprintf( __( 'CSS has been compressed with %s.' ), '<a href="http://www.artiss.co.uk/css-compression">Artiss.co.uk CSS Compressor</a>' ) . "</p>\n";
42
43 // Stay in touch
44
45 echo '<h3>' . __( 'Stay in Touch' ) . "</h3>\n";
46 echo '<p>' . __( '<a href="http://www.artiss.co.uk/wp-plugins">See the full list</a> of Artiss plugins, including beta releases.' ) . "</p>\n";
47 echo '<p>' . __( '<a href="http://www.twitter.com/artiss_tech">Follow Artiss.co.uk</a> on Twitter.' ) . "</p>\n";
48 echo '<p>' . __( '<a href="http://www.artiss.co.uk/feed">Subscribe</a> to the Artiss.co.uk news feed.' ) . "</p>\n";
49
50 ?>
51 </div>