Jump to content
Sign in to follow this  
Eileen Starbuck

Showing Categories In Two Columns

Recommended Posts

Eileen Starbuck    0
Eileen Starbuck

WordPress comes with a category widget which is fine, but I'm just looking for advice on how to create a sidebar widget that shows categories in two columns...versus one long list.


"...learning, growing and sharing online!"

http://www.everythingeileen.com

Share this post


Link to post
Share on other sites
Rob    547
Rob
The default category widget does just list all categorized posts. However, you can use this plugin as a shortcode in numerous text widgets, giving you multiple columns http://wordpress.org/extend/plugins/list-category-posts/. Just select the categories you want to appear. Of course, if all your posts are in only one category, it's going to be a long list. If you want, you can also create a custom menu in each sidebar, providing links to the categories as you want them.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Eileen Starbuck    0
Eileen Starbuck
Hmmmm... I installed that plugin, but that's not what I'm after. I'm talking about having columns in my sidebar widget. For example: [quote]running tips__________triathlons shoe reviews_________best routes training tips__________cross-training water bottles_________weights[/quote]

"...learning, growing and sharing online!"

http://www.everythingeileen.com

Share this post


Link to post
Share on other sites
WebWerx    0
WebWerx
Hmmm. You could use a plugin like BadAss Shortcodes to create the columns, then pull the categories with the appropriate PHP call.... sloppy... but it may work. @rangelone: What do you think? Can one insert PHP code in widgets or just HTML? @rhelling: So the left column would have the Categories: running tips shoe reviews training tips water bottles And the right the others?

Share this post


Link to post
Share on other sites
Eileen Starbuck    0
Eileen Starbuck
Correct. I couldn't show the appearance correctly in this comment without using "_"

"...learning, growing and sharing online!"

http://www.everythingeileen.com

Share this post


Link to post
Share on other sites
WebWerx    0
WebWerx
Hmmm.. then the only question to answer is the one I had regarding using PHP code in widgets..... BTW, I use Column-matic for my columns. It's not too bad.

Share this post


Link to post
Share on other sites
catrina    103
catrina
To add PHP code to a widget you probably need some kind of widget plugin like this: http://wordpress.org/extend/plugins/php-code-widget/

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Eileen Starbuck    0
Eileen Starbuck
...probably over my head. I'll stick with the one column widget for categories. ;-) Thanks though.

"...learning, growing and sharing online!"

http://www.everythingeileen.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×