Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   2 Columns, 1 Widget? (http://forum.bytesforall.com/showthread.php?t=7574)

DannyLife Jun 14, 2010 09:44 AM

2 Columns, 1 Widget?
 
Had a little search for this but didn't find anything that deals with this specifically, or easy enough to understand anyway.

I'd love to have my Archives and Categories widgets set out like this...

http://i48.tinypic.com/23s7sb4.jpg

But currently it just goes straight down in one column.

Any way at all to do this? I had a look online for maybe something to put in the 'Widget Content' box in the editor but no joy.

juggledad Jun 14, 2010 09:47 AM

you will have to look at the widget which is not part of Artahualpa. Try posting the question at forums.wordepress.org.

DannyLife Jun 14, 2010 09:53 AM

Thanks for the fast reply.

So it would have to be some kind of editing within Wordpress to get that effect, and not something that can be done with an insert into Atahualpa?

juggledad Jun 14, 2010 10:04 AM

You would need to have the widget create a table with two columns. The code for the widgets is part of the wordpress base.

DannyLife Jun 14, 2010 10:05 AM

Okay thanks :)

lmilesw Jun 14, 2010 11:18 AM

This plugin is listed as compatible for up to WP 2.8.4 but it might work for you and does just what you want.

DannyLife Jun 14, 2010 04:29 PM

Quote:

Originally Posted by lmilesw (Post 34355)
This plugin is listed as compatible for up to WP 2.8.4 but it might work for you and does just what you want.

Will have a look thanks, I found a different one for archives too so hopefully one will work. Now all I need is one for categories and I'm set!

lmilesw Jun 14, 2010 04:52 PM

What plugin did you find?

DannyLife Jun 15, 2010 01:35 AM

The same one, lol, just noticed!

lmilesw Jun 15, 2010 08:06 AM

I though I was the only one who did stuff like that.:p

DannyLife Jun 15, 2010 10:13 AM

Quote:

Originally Posted by lmilesw (Post 34437)
I though I was the only one who did stuff like that.:p

Lol I know, it was only when I'd posted the link to it in here that it clicked :o

It does work for what I wanted it to do. But the title section doesn't seem to take its lead from the Atahualpa settings, so its now smaller than the others, but the way I have things laid out I can live with it.

For anyone wanting to do this with categories as well, unless you want to get down and dirty in code there really aren't many options. I settled for doing it manually...

Insert this into a text widget...

HTML Code:

<table border="0" width="100%" cellpadding="0">
<tr>

<td width="50%" valign="top">
<ul>
<li><a href=”#”>Category 1</a></li>
<li><a href=”#”>Category 2</a></li>
<li><a href=”#”>Category 3</a></li>
<li><a href=”#”>Category 4</a></li>
</ul>
</td>

<td width="50%" valign="top">
<ul>
<li><a href=”#”>Category 5</a></li>
<li><a href=”#”>Category 6</a></li>
<li><a href=”#”>Category 7</a></li>
<li><a href=”#”>Category 8</a></li>
</ul>
</td>

</tr>
</table>

Then you can add the links to your categories and their titles in by hand. Obviously if you add a new category you'll have to edit the widget, but its better than the long one column list WP uses as a default and doesn't waste so much space on a wide sidebar.

Hope this helps someone!


All times are GMT -6. The time now is 10:04 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.