Release/Bug Fix: Business Theme

3 Comments
Written by Charles Stover, in Featured, PHP, WordPress

For those unaware or otherwise interested, the Business Theme (currently used on this website1) has been released publicly via WebDesignFan under the name Green Inc. for WDF Premium Users.

Check out the Green Inc. WordPress Theme Release to get your hands on it now!

1. In the event that this website changes themes, there is a clean demonstration version available for future reference.


In highly relevant and related news, I am simultaneously releasing a fix for a minor bug to correct a comment error in which the author's avatar is displayed instead of the commenter's.

In style.css line 7, replace:

Version: 1.0

with

Version: 1.01

In functions.php line 5, replace:

* @since Business Theme 1.0

with

* @since Business Theme 1.01

In functions.php line 38, replace:

preg_match('/src=\'([^\']+)\'/', get_avatar(get_the_author_meta('user_email'), 70), $avatar);

with

preg_match('/src=\'([^\']+)\'/', get_avatar($comment, 70), $avatar);

Thanks for reading and using the theme. I will be sure to publish any more bug fixes as I run across them, assuming there are any bugs left to fix.

3 Comments

  1. 托福補習班 20 Jan 2012, 2:03am

    I really hope other folks find your blog post right here as useful as I have.

    Reply

  2. SHABAH 15 Feb 2012, 12:36am

    Hay i want the shoutbox always refreshing because i hate when i have refresh the site again and see the reply

    can you fix it for me please.

    Reply

    • Charles Stover 15 Feb 2012, 1:51am

      This is not the place to request shoutbox support. Use my e-mail address listed at the top of the page. To get an automatically refreshing shoutbox, you need to click the upgrade link within the shoutbox. It costs $15/year and comes with other benefits.

      Reply

Leave a Comment