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)
-   -   [SOLVED] how to Change BFA Subscribe widget design (http://forum.bytesforall.com/showthread.php?t=1090)

ppat2 Apr 3, 2009 01:25 PM

[SOLVED] how to Change BFA Subscribe widget design
 
hello,

i m trying to change the way BFA subscribe widget looks. right now its email icon, email submit, post and comment plz check my site. how to i change it to the way it looks in the header. on top email, post, comment icons and than on the bottom just the email section with button.

Also, how do i change the icons, where?
i would really appreciate if i can get the exact way to do it like with code..sorry the coding is kinda complicated to understand.

thanks you so much Flynn

p.s. i m looking forward to your tabbed widget thing on the new version.

Flynn Apr 4, 2009 07:01 PM

It's a table, line 37-63 in bfa_subscribe.php that you would have to edit. Simply cut and paste the lines of the table <TR> ... </TR> to re-arrange the order

paulae Apr 26, 2009 04:30 PM

I wanted the three icons to line up on one line, and I didn't want the email text field, so I changed the table to the following:

Code:

<table class="subscribe" cellpadding="0" cellspacing="0" border="0"><tr>
<td class="email-text" colspan="2"><p>
<a href="http://<?php echo $window_url . $id; ?>&amp;loc=<?php echo get_locale() .
($bfa_ata_nofollow == "Yes" ? ' rel="nofollow"' : ''); ?>">
<img src="<?php echo get_bloginfo('template_directory'); ?>/images/feedburner-email.gif" style="float:left; margin: 0 7px 3px 0" alt="" /></a><?php echo $email_text; ?></p>
<a href="<?php echo get_bloginfo('rss2_url'); ?>"<?php if ($bfa_ata_nofollow == "Yes") { ?> rel="nofollow"<?php } ?>>
<img src="<?php echo get_bloginfo('template_directory'); ?>/images/post-feed.gif" style="float:left; margin: 0 7px 3px 0" alt="" /></a><?php echo $posts_text; ?></p>
<a href="<?php echo get_bloginfo('comments_rss2_url'); ?>"<?php if ($bfa_ata_nofollow == "Yes") { ?> rel="nofollow"<?php } ?>>
<img src="<?php echo get_bloginfo('template_directory'); ?>/images/comment-feed.gif" style="float:left; margin: 0 7px 3px 0" alt="" /></a><?php echo $comments_text; ?></p>
</td>
</tr>
</table>

There might be some unnecessary code still in there, but it seems to work fine.

Right sidebar, at http://www.larchmontgazette.com

ppat2 Apr 28, 2009 09:29 PM

thanks flynn and paulae, it finally worked..i simply had to re-arrange the code in bfa_subscribe.php file..it seemed pretty easy after i messed around with the code..i took of the email field cuz it did same thing as the icon (something paulae did which i wish she would have posted few days earlier :p LOL)and added search with plugin....thank you for the help guys :)

you can check out my site: http://techvibe2day.com


All times are GMT -6. The time now is 01:08 PM.

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