Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] Removing Post Footers on Homepage except top post (http://forum.bytesforall.com/showthread.php?t=3729)

Larry Oct 4, 2009 07:22 PM

[SOLVED] Removing Post Footers on Homepage except top post
 
I have the option selected to only show the most recent post with the full summary of the post, and excerpts of the remaining posts on my home page.

How can I remove the post footers from appearing on the posts with excerpts only? It doesn't make sense to have a post footer showing at the bottom of an excerpt only.

I'm using Atahualpa version 3.4.4

juggledad Oct 5, 2009 05:13 AM

go to ATO->Style & edit CENTER COLUMN->The LOOP and change
HTML Code:

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
to
HTML Code:

<?php
if ( ( is_front_page() AND ($bfa_ata['postcount'] == 1) )
OR ( !is_front_page() ) ) {
    bfa_post_footer('<div class="post-footer">','</div>');
} ?>


Larry Oct 5, 2009 06:14 AM

Thanks Juggledad,

That worked perfect. I am just now learning php so I couldn't figure it out. I'll get it though.


All times are GMT -6. The time now is 04:02 PM.

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