-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4c5632
commit 2b6fa1b
Showing
10 changed files
with
144 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
/** | ||
* Render Settings Page | ||
* | ||
* @since 2.3 | ||
* @since 2.3.1 | ||
*/ | ||
function smbtoolbar_render_submenu_page() { | ||
|
||
|
@@ -24,7 +24,7 @@ function smbtoolbar_render_submenu_page() { | |
<?php _e( 'Social Media Buttons Toolbar', 'social-media-buttons-toolbar' ); ?> | ||
<br/> | ||
<span> | ||
<?php _e( 'by <a href="http://www.arthurgareginyan.com" target="_blank">Arthur "Berserkr" Gareginyan</a>', 'social-media-buttons-toolbar' ); ?> | ||
<?php _e( 'by <a href="http://www.arthurgareginyan.com" target="_blank">Arthur Gareginyan</a>', 'social-media-buttons-toolbar' ); ?> | ||
<span/> | ||
</h2> | ||
|
||
|
@@ -37,37 +37,33 @@ function smbtoolbar_render_submenu_page() { | |
<div id="about" class="postbox"> | ||
<h3 class="title"><?php _e( 'About', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'social-media-buttons-toolbar' ); ?></p> | ||
</div> | ||
</div> | ||
|
||
<div id="help" class="postbox"> | ||
<h3 class="title"><?php _e( 'Help', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<p><?php _e( 'If you want more options then tell me and I will be happy to add it.', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><a href="mailto:[email protected]">[email protected]</a></p> | ||
<p><?php _e( 'Got something to say? Need help?', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><a href="mailto:[email protected]?subject=Social Media Buttons Toolbar">[email protected]</a></p> | ||
</div> | ||
</div> | ||
|
||
<div id="donate" class="postbox"> | ||
<h3 class="title"><?php _e( 'Donate', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<img src="<?php echo plugins_url('images/thanks.png', __FILE__); ?>"> | ||
<p><?php _e( 'If you like this plugin and find it useful, help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( 'If you like this plugin and find it useful, please help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ); ?></p> | ||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow"> | ||
<img src="<?php echo plugins_url('images/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation"> | ||
</a> | ||
<p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ); ?></p> | ||
</div> | ||
</div> | ||
|
||
<div id="freelance" class="postbox"> | ||
<h3 class="title"><?php _e( 'Freelance', 'social-media-buttons-toolbar' ) ?></h3> | ||
<div id="advertisement" class="postbox"> | ||
<h3 class="title"><?php _e( 'Advertisement', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<img src="<?php echo plugins_url('images/author.png', __FILE__); ?>"> | ||
<p><?php _e( 'Hello, my name is Arthur and I\'m a freelance web designer and developer.', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( 'Share your thoughts with me. You may have a brilliant idea in your mind and I can make it happen, so let’s get started!', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><a href="http://www.arthurgareginyan.com/" target="_blank">www.arthurgareginyan.com</a></p> | ||
<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=36439_5_1_21" target="_blank" rel="nofollow"><img style="border:0px" src="http://www.elegantthemes.com/affiliates/media/banners/divi_250x250.jpg" width="250" height="250" alt="Divi WordPress Theme"></a> | ||
</div> | ||
</div> | ||
|
||
|
@@ -220,7 +216,7 @@ function smbtoolbar_render_submenu_page() { | |
</div> | ||
|
||
<div class="postbox" id="DisplayOptions"> | ||
<h3 class="title"><?php _e( 'Display options', 'social-media-buttons-toolbar' ) ?></h3> | ||
<h3 class="title"><?php _e( 'Display options', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<p class="description"></p> | ||
<table class="form-table"> | ||
|
@@ -266,23 +262,23 @@ function smbtoolbar_render_submenu_page() { | |
</div> | ||
|
||
<div class="postbox" id="Preview"> | ||
<h3 class="title"><?php _e( 'Preview', 'social-media-buttons-toolbar' ) ?></h3> | ||
<h3 class="title"><?php _e( 'Preview', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<p class="description"><?php _e( 'Enter your User ID\'s, then click "Save Changes" to update this preview.', 'social-media-buttons-toolbar' ) ?></p></br> | ||
<p class="description"><?php _e( 'Enter your User ID\'s, then click "Save Changes" to update this preview.', 'social-media-buttons-toolbar' ); ?></p></br> | ||
<?php echo smbtoolbar_shortcode(); ?> | ||
</div> | ||
</div> | ||
|
||
<div class="postbox" id="Using"> | ||
<h3 class="title"><?php _e( 'Using', 'social-media-buttons-toolbar' ) ?></h3> | ||
<h3 class="title"><?php _e( 'Using', 'social-media-buttons-toolbar' ); ?></h3> | ||
<div class="inside"> | ||
<p><?php _e( 'You have several methods for display the social media buttons toolbar (further just "toolbar") on your website. But first, enter a links for each buttons, then click "Save Changes".', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( '<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just check the checkbox "Show on Posts" or/and "Show on Pages" in the section "Display options", then click "Save Changes". It\'s that simple!', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( '<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the following shortcode:', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( 'You have several methods for display the social media buttons toolbar (further just "toolbar") on your website. But first, enter a links for each buttons, then click "Save Changes".', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><?php _e( '<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just check the checkbox "Show on Posts" or/and "Show on Pages" in the section "Display options", then click "Save Changes". It\'s that simple!', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><?php _e( '<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the following shortcode:', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><?php highlight_string('[smbtoolbar]'); ?></p> | ||
<p><?php _e( '<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( '<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><?php highlight_string('[smbtoolbar]'); ?></p> | ||
<p><?php _e( '<b>D)</b> For add the toolbar directly to a theme files, just add one of the following code (both variants do the same) to needed place (where you want to display the toolbar) in your theme files:', 'social-media-buttons-toolbar' ) ?></p> | ||
<p><?php _e( '<b>D)</b> For add the toolbar directly to a theme files, just add one of the following code (both variants do the same) to needed place (where you want to display the toolbar) in your theme files:', 'social-media-buttons-toolbar' ); ?></p> | ||
<p><?php highlight_string('<?php echo do_shortcode("[smbtoolbar]"); ?>'); ?></p> | ||
<p><?php highlight_string('<?php echo smbtoolbar_shortcode(); ?>'); ?></p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.