Version Description
- Fixed a small CSS issue.
- Added a recommendation for an image optimization plugin - ShortPixel
Download this release
Release Info
| Developer | tiguan |
| Plugin | |
| Version | 1.7 |
| Comparing to | |
| See all releases | |
Code changes from version 1.6 to 1.7
- img/sp.png +0 -0
- readme.txt +10 -3
- simple-author-box.php +3 -3
- template/options.php +16 -3
img/sp.png
ADDED
|
Binary file
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: tiguan
|
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EH65WAWPEYPXU
|
| 4 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, user profile, post author, rtl author box
|
| 5 |
Requires at least: 3.6
|
| 6 |
-
Tested up to: 4.
|
| 7 |
-
Stable tag: 1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -23,7 +23,7 @@ Adds a cool responsive author box with social icons on your posts.
|
|
| 23 |
* Option to manually insert the author box on your template file (single.php or author.php)
|
| 24 |
* Simple Author Box has RTL support
|
| 25 |
|
| 26 |
-
Check out our [Premium Themes](
|
| 27 |
|
| 28 |
== Installation ==
|
| 29 |
|
|
@@ -54,6 +54,13 @@ If you need more info, please read the plugin [documentation](http://tiguandesig
|
|
| 54 |
|
| 55 |
== Changelog ==
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
= 1.5 =
|
| 58 |
* Added XING network social profile field & icon.
|
| 59 |
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EH65WAWPEYPXU
|
| 4 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, user profile, post author, rtl author box
|
| 5 |
Requires at least: 3.6
|
| 6 |
+
Tested up to: 4.7.5
|
| 7 |
+
Stable tag: 1.7
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 23 |
* Option to manually insert the author box on your template file (single.php or author.php)
|
| 24 |
* Simple Author Box has RTL support
|
| 25 |
|
| 26 |
+
Check out our [Premium Themes](https://themeforest.net/user/tiguan/portfolio?ref=tiguan) that use Simple Author Box plugin.
|
| 27 |
|
| 28 |
== Installation ==
|
| 29 |
|
| 54 |
|
| 55 |
== Changelog ==
|
| 56 |
|
| 57 |
+
= 1.7 =
|
| 58 |
+
* Fixed a small CSS issue.
|
| 59 |
+
* Added a recommendation for an image optimization plugin - ShortPixel
|
| 60 |
+
|
| 61 |
+
= 1.6 =
|
| 62 |
+
* Fixed a small CSS issue.
|
| 63 |
+
|
| 64 |
= 1.5 =
|
| 65 |
* Added XING network social profile field & icon.
|
| 66 |
|
simple-author-box.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Simple Author Box
|
| 4 |
* Plugin URI: http://wordpress.org/plugins/simple-author-box/
|
| 5 |
* Description: Adds a responsive author box with social icons on your posts.
|
| 6 |
-
* Version: 1.
|
| 7 |
* Author: Tiguan
|
| 8 |
* Author URI: http://tiguandesign.com
|
| 9 |
* License: GPLv2
|
|
@@ -45,10 +45,10 @@ if( !class_exists( 'Simple_Author_Box' ) ) {
|
|
| 45 |
global $options;
|
| 46 |
|
| 47 |
$options = get_option( 'saboxplugin_options', 'checked' ); // retrieve the plugin settings from the options table
|
| 48 |
-
define( 'SIMPLE_AUTHOR_BOX_LAST_UPDATE', date_i18n( 'F j, Y', '
|
| 49 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
| 50 |
define( 'SIMPLE_AUTHOR_BOX_DIRNAME', basename( dirname( __FILE__ ) ) ); // Defining plugin dir name
|
| 51 |
-
define( 'SIMPLE_AUTHOR_BOX_VERSION', 'v1.
|
| 52 |
define( 'SIMPLE_AUTHOR_BOX', 'Simple Author Box'); // Defining plugin name
|
| 53 |
define( 'SIMPLE_AUTHOR_BOX_FOOTER', 10 );
|
| 54 |
|
| 3 |
* Plugin Name: Simple Author Box
|
| 4 |
* Plugin URI: http://wordpress.org/plugins/simple-author-box/
|
| 5 |
* Description: Adds a responsive author box with social icons on your posts.
|
| 6 |
+
* Version: 1.7
|
| 7 |
* Author: Tiguan
|
| 8 |
* Author URI: http://tiguandesign.com
|
| 9 |
* License: GPLv2
|
| 45 |
global $options;
|
| 46 |
|
| 47 |
$options = get_option( 'saboxplugin_options', 'checked' ); // retrieve the plugin settings from the options table
|
| 48 |
+
define( 'SIMPLE_AUTHOR_BOX_LAST_UPDATE', date_i18n( 'F j, Y', '1495262997' ) ); // Defining plugin last update
|
| 49 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
| 50 |
define( 'SIMPLE_AUTHOR_BOX_DIRNAME', basename( dirname( __FILE__ ) ) ); // Defining plugin dir name
|
| 51 |
+
define( 'SIMPLE_AUTHOR_BOX_VERSION', 'v1.7'); // Defining plugin version
|
| 52 |
define( 'SIMPLE_AUTHOR_BOX', 'Simple Author Box'); // Defining plugin name
|
| 53 |
define( 'SIMPLE_AUTHOR_BOX_FOOTER', 10 );
|
| 54 |
|
template/options.php
CHANGED
|
@@ -8,8 +8,21 @@
|
|
| 8 |
if( !defined( 'ABSPATH' ) ) {
|
| 9 |
exit;
|
| 10 |
}
|
| 11 |
-
|
| 12 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
<div class="wrap">
|
| 15 |
<div class="saboxplugin">
|
|
@@ -76,7 +89,7 @@
|
|
| 76 |
if ( get_option( 'sab_box_margin_bottom' ) ) {
|
| 77 |
$sabox_bottom_margin = get_option( 'sab_box_margin_bottom' );
|
| 78 |
} else {
|
| 79 |
-
$sabox_bottom_margin =
|
| 80 |
}
|
| 81 |
?>
|
| 82 |
|
|
@@ -593,4 +606,4 @@
|
|
| 593 |
|
| 594 |
|
| 595 |
</div>
|
| 596 |
-
</div>
|
| 8 |
if( !defined( 'ABSPATH' ) ) {
|
| 9 |
exit;
|
| 10 |
}
|
| 11 |
+
if( !is_plugin_active('shortpixel-image-optimiser/wp-shortpixel.php') ) {
|
| 12 |
?>
|
| 13 |
+
<div class='notice notice-warning' id='sab-sp' style="padding-top: 7px">
|
| 14 |
+
<p style="font-size: 1.2em;"><strong>
|
| 15 |
+
<?php _e( 'Are your images optimized? Using an image optimization service can save you up to 90% on image size. Through our partnership with ShortPixel, you can get 200 free optimization credits, a bonus of 50% more credits for all the ShortPixel paid plans and you can optimize all your images with one click.', 'sb-pack' ); ?>
|
| 16 |
+
</strong></p>
|
| 17 |
+
<a href="https://shortpixel.com/booster/af/FETSXR228044" target="_blank"><img src="<?php echo plugin_dir_url(dirname(__FILE__)) . "img/sp.png"; ?>" class="sbp-sp" style="float:left;margin-right: 20px;"/></a>
|
| 18 |
+
<p class="description">
|
| 19 |
+
<?php _e( 'ShortPixel is an easy to use, comprehensive, stable and frequently updated image optimization plugin supported by the friendly team that created it. Using a powerful set of specially tuned algorithms, it squeezes the most of each image striking the best balance between image size and quality. Current images can be all optimized with a single click. Newly added images are automatically resized/rescaled and optimized on the fly, in the background.', 'sb-pack' ); ?>
|
| 20 |
+
</p>
|
| 21 |
+
<p class="description-link">
|
| 22 |
+
<a href="https://shortpixel.com/booster/af/FETSXR228044" target="_blank">>> <?php _e( 'More info', 'sb-pack' ); ?></a>
|
| 23 |
+
</p>
|
| 24 |
+
</div>
|
| 25 |
+
<?php } ?>
|
| 26 |
|
| 27 |
<div class="wrap">
|
| 28 |
<div class="saboxplugin">
|
| 89 |
if ( get_option( 'sab_box_margin_bottom' ) ) {
|
| 90 |
$sabox_bottom_margin = get_option( 'sab_box_margin_bottom' );
|
| 91 |
} else {
|
| 92 |
+
$sabox_bottom_margin = 45;
|
| 93 |
}
|
| 94 |
?>
|
| 95 |
|
| 606 |
|
| 607 |
|
| 608 |
</div>
|
| 609 |
+
</div>
|
