Simple Author Box - Version 1.4

Version Description

  • Fixed the code snippet provided for manually insert the author box. Thanks to @mazter3000 for the bug report.
  • Fixed a line-height issue on author name link.
Download this release

Release Info

Developer tiguan
Plugin Icon 128x128 Simple Author Box
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

Files changed (3) hide show
  1. readme.txt +5 -1
  2. simple-author-box.php +4 -4
  3. template/options.php +1 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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: 3.9.1
7
- Stable tag: 1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -54,6 +54,10 @@ If you need more info, please read the plugin [documentation](http://tiguandesig
54
 
55
  == Changelog ==
56
 
 
 
 
 
57
  = 1.3 =
58
  * Fixed a line-height issue on author description text and other small css fixes.
59
 
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: 3.9.1
7
+ Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.4 =
58
+ * Fixed the code snippet provided for manually insert the author box. Thanks to [@mazter3000](http://wordpress.org/support/profile/mazter3000) for the [bug report](http://wordpress.org/support/topic/how-to-insert-code-to-php?replies=7#post-5886931).
59
+ * Fixed a line-height issue on author name link.
60
+
61
  = 1.3 =
62
  * Fixed a line-height issue on author description text and other small css fixes.
63
 
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.3
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', '1407740400' ) ); // 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.3'); // Defining plugin version
52
  define( 'SIMPLE_AUTHOR_BOX', 'Simple Author Box'); // Defining plugin name
53
  define( 'SIMPLE_AUTHOR_BOX_FOOTER', 10 );
54
 
@@ -310,7 +310,7 @@ if( !class_exists( 'Simple_Author_Box' ) ) {
310
  // Margin bottom
311
  $style .= '.saboxplugin-wrap {margin-bottom:'. absint( $sabox_bottom_margin ) . 'px;}';
312
  // Author name text size
313
- $style .= '.saboxplugin-wrap .saboxplugin-authorname {font-size:'. absint( $sabox_name_size ) . 'px;}';
314
  // Author description font size
315
  $style .= '.saboxplugin-wrap .saboxplugin-desc {font-size:'. absint( $sabox_desc_size ) . 'px; line-height:'. absint( $sabox_desc_size+7 ) .'px;}';
316
  // Author website text size
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.4
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', '1407826800' ) ); // 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.4'); // Defining plugin version
52
  define( 'SIMPLE_AUTHOR_BOX', 'Simple Author Box'); // Defining plugin name
53
  define( 'SIMPLE_AUTHOR_BOX_FOOTER', 10 );
54
 
310
  // Margin bottom
311
  $style .= '.saboxplugin-wrap {margin-bottom:'. absint( $sabox_bottom_margin ) . 'px;}';
312
  // Author name text size
313
+ $style .= '.saboxplugin-wrap .saboxplugin-authorname {font-size:'. absint( $sabox_name_size ) . 'px; line-height:'. absint( $sabox_name_size+7 ) .'px;}';
314
  // Author description font size
315
  $style .= '.saboxplugin-wrap .saboxplugin-desc {font-size:'. absint( $sabox_desc_size ) . 'px; line-height:'. absint( $sabox_desc_size+7 ) .'px;}';
316
  // Author website text size
template/options.php CHANGED
@@ -44,7 +44,7 @@
44
  <p class="description">
45
  <?php _e( 'If you want to manually insert the Simple Author Box in your template file (single post view), you can use the following code snippet: ', 'saboxplugin' ); ?>
46
  </p>
47
- <textarea name="saboxplugin" rows="1" cols="100" onclick="this.focus();this.select()" readonly="readonly">&lt;?php if ( function_exists( 'sabox_author_box' ) ) echo sabox_author_box(); ?&gt;</textarea>
48
 
49
  <?php
50
  if ( get_option( 'sab_box_margin_top' ) ) {
44
  <p class="description">
45
  <?php _e( 'If you want to manually insert the Simple Author Box in your template file (single post view), you can use the following code snippet: ', 'saboxplugin' ); ?>
46
  </p>
47
+ <textarea name="saboxplugin" rows="1" cols="100" onclick="this.focus();this.select()" readonly="readonly">&lt;?php if ( function_exists( 'wpsabox_author_box' ) ) echo wpsabox_author_box(); ?&gt;</textarea>
48
 
49
  <?php
50
  if ( get_option( 'sab_box_margin_top' ) ) {