Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Adding sidebar links outside of the blogroll (with formatting matching the sidebar)


  #1  
Old Jan 11, 2009, 08:06 PM
Flur
 
29 posts · Dec 2008
I'd like to add a section of links to my sidebar, outside of my blogroll, and I'd like for them to match the formatting of the rest of the sidebar. I tried to do this with a text widget, but the formatting changed - the links followed the link formatting for the blog (bold and blue, turning red on rollover), rather than the special formatting I'm using for the sidebar links (gray, not bold, turning blue on rollover). Do you have any recommendations for how to do this?

FYI - I tried the multiple blogroll plugin, which would allow me to basically have two blogrolls with different links in different parts of my blog. This would have worked perfectly, except that it kept randomizing the order of the links, which was not what I wanted.
  #2  
Old Jan 12, 2009, 10:52 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Have you tried link categories? "Blogroll" is just the default link category but you can add additional ones and add or move your links there. The additional link categories would be in their own widgets and styled like the blogroll. This would be the most elegant way to do this.

Otherwise look at the source code of your site and put that code into a text widget.

HTML Code:
<div class="widget">
<div class="widget-title"><h3>Blogroll</h3></div>
<div class="widget-content">
<ul>
<li><a href="http://wordpress.org/development/">Development Blog</a></li>
<li><a href="http://codex.wordpress.org/">Documentation</a></li>
<li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>
<li><a href="http://wordpress.org/extend/ideas/">Suggest Ideas</a></li>
</ul>
</div>
</div>
I might have to remove the "widget-content" DIV for the next version though as it currently doesn't work with a certain useful plugin http://forum.bytesforall.com/showthread.php?t=83 so it would be better if you used the "link category" technique (or leave out <div class="widget-content"> and one of the last two </div> - that should work too)
  #3  
Old Jan 15, 2009, 02:55 PM
Flur
 
29 posts · Dec 2008
I finally got a chance to try this and it works perfectly. I wanted one category of links at the top of my sidebar, and the other at the bottom, so I simply categorizing wasn't working for me, but this works great.

As always, thanks so much for your help.
  #4  
Old Apr 17, 2009, 03:22 AM
adamc
 
5 posts · Feb 2009
Hi,
is it possible to have a "subcategory" style here - I'm thinking of the indentation like we have at category widget?

Adam
  #5  
Old Apr 17, 2009, 03:56 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Use

HTML Code:
<div class="widget">
<div class="widget-title"><h3>Widget Title</h3></div>
<div class="widget-content">
<ul>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a>
     <ul>
     <li><a href="link">Sub Item</a></li>
     <li><a href="link">Sub Item</a></li>
     </ul> 
</li>
<li><a href="link">Link Text</a></li>
<li><a href="link">Link Text</a></li>
</ul>
</div>
</div>
  #6  
Old Apr 18, 2009, 02:57 AM
adamc
 
5 posts · Feb 2009
Wow, so simple! Thanks!
I taught that it requires some php or css tricks :-)

If I may have another question - what to do in the category menu widget to have no link to the category and links to sub-categories:
Something like this:

cats - no link
->nice cats - link to sub category
->black cats - link to sub category
->grey cats - link to sub category

Now when I click category "cats" it links to the page "Sorry nothing found here"
Maybe it is a simple trick to remove link from the category cats.

I have an idea to use the "blogroll" widget with manually edited links to serve as a category menu what has an advantage that I may sort the order of categories as I want but on the other hand requires manual editing everytime I add new category.

Adam
  #7  
Old Apr 18, 2009, 03:38 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
There's probably a plugin for that. But you shouldn't get "Sorry nothing found here" if you click on the top category link. You may have to update your permalinks by clicking Site Admin -> Settings -> Permalinks -> Save
  #8  
Old Apr 19, 2009, 11:30 AM
adamc
 
5 posts · Feb 2009
Hi,
that "Sorry nothing found here" message is not an error page, it's just a message that category is empty.

I tried to link a page to this category with the "page2cat" plugin to add a static page to the "cats" link what I can accept.
Unfortunately, to link a page to the category there must be at least one post in that category. If the category is empty the plugin connection does not work.
So as a result I have some static page above a message with all kicker, byline and footer defined for a "multi post pages". That's not what I want.

Also I searched for the plugin to "unlink the category" or "link category to page" with no luck.

Maybe the simplest way would be to hardcode the "unliked" or linked to a static page category "cats" somewhere in php?

Thanks for your time,
Adam
  #9  
Old Jul 21, 2009, 10:50 AM
mulatte
 
1 posts · Jul 2009
I added a new link category this way and it worked for one new link. Now, I've tried 10 different ways to add a few more links to my new category and they keep showing up in "Blogroll." I've deleted them from Blogroll and re-added them back into my new category, save and then when I refresh the page they're back under "Blogroll" instead of my new category.
It's gotta be something stupid simple I'm missing ... but I'm not seeing it! Helllllp.

Either changing the default LINK CATEGORY to my new category fixed it or upgrading to the latest version of WP.

Last edited by mulatte; Jul 22, 2009 at 01:28 PM. Reason: [SOLVED]

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to show links/blogroll as a Wordpress page? AndrewRH Atahualpa 3 Wordpress theme 5 Jun 11, 2010 11:01 AM
[SOLVED] how to remove blogroll &amp; meta from right sidebar in 3.3.3? webdevelopment Sidebars & Widgets 2 Oct 7, 2009 11:34 AM
How to edit links widget or how to have links in sidebar of page? Joelb53 Sidebars & Widgets 1 May 6, 2009 03:52 AM
Formatting Links in widgets HenryGomez Sidebars & Widgets 1 Feb 2, 2009 10:18 PM
[SOLVED] Blogroll links not appearing in sidebar artoftroy Sidebars & Widgets 2 Jan 13, 2009 10:33 AM


All times are GMT -6. The time now is 11:14 PM.


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