Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   RSS, Feeds & Subscribing (http://forum.bytesforall.com/forumdisplay.php?f=18)
-   -   Can I put HOME, POSTS and COMMENTS Feed links in sidebar? (http://forum.bytesforall.com/showthread.php?t=179)

HalfWayThere Feb 3, 2009 06:37 PM

Can I put HOME, POSTS and COMMENTS Feed links in sidebar?
 
Hi

Having tried a number of themes, yours is the first one I really fell in love with. You have done a fine job making it user friendly for customising and your explanations are very clear and easy to underdstand. :-)

The questions are:-

1) Can I put a link in one of the sidebars for the HOME page, rather than have it in the
Page Menu Bar?

2) Can I place the Posts Feed and Comments Feed in one of the sidebars instead of the Logo area?

Thanks,

Matt

Flynn Feb 3, 2009 07:10 PM

Use a text widget for both. For the RSS feeds, view the source code of your site in the browser to figure out the URLs for both feeds, the examples from below would work too but they are not permalinks: Put this into the text widget:

HTML Code:

<div class="clearfix">
<a class="comments-icon" style="float:left" href="http://www.yoursite.com/?feed=comments-rss2" title="
Subscribe to the COMMENTS feed"
>
Comments</a>
<a class="posts-icon" style="float:left" href="http://www.yoursite.com/?feed=rss2" title="
Subscribe to the POSTS feed"
>
Posts</a>
</div>

Each link and its image build a unit, you can add margin to them to space them out. I've put the two links into a container with the class "clearfix" because both links are floated, to make sure they don't break out of their container.
I added an inline style of "float: left" to both links because by default they're floated to the right (in the logo area)

For the homepage link use also a text widget and put i.e. something like this into it:

HTML Code:

<a style="font-size: 2em; color: #cc0000;" href="/" title="My site">My Site</a>
You could add more inline styles to this link i.e.

HTML Code:

<a style="font-size: 2em; font-weight: bold; font-family: georgia, serif; color: #cc0000; text-decoration: underline;" href="/" title="My site">My Site</a>
To link an image:

HTML Code:

<a href="/" title="My site"><img src="/wp-content/themes/atahualpa3/images/myimage.gif" alt="My Site, maybe a variation of the title" /></a>

HalfWayThere Feb 7, 2009 11:40 AM

Thanks - all sorted. :)


All times are GMT -6. The time now is 11:48 AM.

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