Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   [SOLVED] Excerpts on home page don't work (http://forum.bytesforall.com/showthread.php?t=1835)

juggledad May 29, 2009 07:33 AM

[SOLVED] Excerpts on home page don't work
 
If you set ATO -> Posts or Excerpts -> Posts or excerpts on HOME page? to 'Only Excerpts, you will continue to get the full posts no matter what 'Show the first X posts on HOME page as full posts?' is set to.

Flynn, please verify the following

The problem can be fixed by editing bfa_post_parts.php and changing lines 63-65:

function bfa_post_bodycopy() {
global $bfa_ata;
if (/* (is_home() AND $bfa_ata['excerpts_home'] == "Full Posts") OR

to:

function bfa_post_bodycopy() {
global $bfa_ata;
global $postcount;
if (/* (is_home() AND $bfa_ata['excerpts_home'] == "Full Posts") OR

Flynn May 31, 2009 07:14 PM

Thanks, this is fixed in 3.3.4, I have added $postcount to the global $bfa_ata


All times are GMT -6. The time now is 05:17 PM.

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