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)
-   -   Add New Item to RSS / Email / Comments in header (http://forum.bytesforall.com/showthread.php?t=1538)

kesterbrewin May 4, 2009 12:15 PM

Add New Item to RSS / Email / Comments in header
 
I like the subscription options in the header area (RSS / Email / Comments) but wonder how I could add another. Basically, would like an option for people to get updates via Twitter.
Can this be done?

Thanks in anticipation,

KB

Flynn May 5, 2009 10:40 PM

For now you'd have to manually edit bfa_header_config.php:

After i.e.
PHP Code:

        
        
// END: of COMMENT Feed link 

add
PHP Code:

$logo_area .= '
<a class="twitter-icon comments-icon" rel="nofollow" href="LINK_HERE" title="TITLE_HERE">
LINK_TEXT_HERE</a>'


At Theme Options -> HTML/CSS Inserts -> CSS Insert, add:

HTML Code:

.twitter-icon {
    background: transparent url(/wp-content/themes/atahualpa332/images/twitter-icon.gif) no-repeat scroll 0 !important;
    /* Example: [width of icon] + [space between icon & link text] = 27px */
    padding-left: 27px !important; 
    }

And upload a 22px tall twitter-icon.gif to /wp-content/themes/atahualpa332/images/. Adjust 27px, see comment in the CSS

kesterbrewin May 6, 2009 09:14 AM

Sweet - thanks. I'll give that a go now!


All times are GMT -6. The time now is 08:55 AM.

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