Click to Register Your Support Account

Already a member? Login below.

Go Back   One Theme Support Forums > One Theme Version 1 (OLD) > Using One Theme

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-17-2008, 07:31 PM
Member
 
Join Date: Aug 2008
Posts: 67
Default Tabbed Widget

I installed the Tabbed Widget Plugin. It installed fine and I was able to use it, but it did not display properly. The tabs were all open. I read other people having the same problem and someone posted a "fix".

-----------------------------------------------------
How to Fix Your WordPress Theme

First, find the place where your theme defines sidebar widgets. This is usually done in functions.php file in theme’s folder but it may differ. If you can’t find it, simply go through all the theme files and search for register_sidebar.

Find the line that defines the HTML element box in which all the widgets are placed. It should look something like this:

'before_widget' => '<div ... >',
'after_widget' => '</div>',

If it contains %1$s and %2$s then you should consider donating to the author of the theme for the great job. However, if they are not present, then replace it with

'before_widget' => '<div id="%1$s" class="%2$s">',
'after_widget' => '</div>',

and WordPress will automaticaly replace %1$s with a unique identifier (name) and %2$s with a classname (surname) of each widget.
Anything Else?

Yes, if you find that %1$s and %2$s are missing, please contact the author of the theme with a link to this article. Thank you.

-----------------------------------------------------

I went ahead and changed the line as noted and received an error. Than went back and changed it a little bit differently, and this time it worked but it made the font of the widgets in that sidebar all big. Is there a "proper" way to I can make the adjustments to get this to work right?

Thanks to any replies.
Reply With Quote
  #2 (permalink)  
Old 08-18-2008, 12:18 AM
Lee's Avatar
Lee Lee is offline
One Theme Support
 
Join Date: Jul 2008
Posts: 420
Send a message via MSN to Lee Send a message via Skype™ to Lee
Default

Hi Raymond

This has been added in version 1.1 (avaliable in 4 days time)

Can you link me an example of the "big tabs" so i can make sure i have the CSS covered in time for the new release?

Cheers,

Lee
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:22 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0