Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts (http://forum.bytesforall.com/showthread.php?t=7339)

juggledad May 30, 2010 05:18 AM

BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts
 
This fix is for Atahualpa version 3.5.1 and 3.5.2
=============================
DESCRIPTION: In some cases, when using the Atahualpa 'Configure EXCERPTS' options, setting 'Posts or excerpts on HOME page?' to 'Only Excerpts' and setting 'Show the first X posts on HOME page as full posts?' to a number greater than 0 will result in only excerpts being displayed on the blog page.

CAUSE: This is caused because an assignment was accidently coded as a comparison

FIX: edit index.php and change line 8 from
HTML Code:

if (have_posts()) : $bfa_ata['postcount'] == 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
to
HTML Code:

if (have_posts()) : $bfa_ata['postcount'] = 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
(changing the '==' to an '=')

reference: http://forum.bytesforall.com/showthread.php?t=7316

juggledad Jul 13, 2010 05:42 AM

1 Attachment(s)
The attached file has the fix incorporated into it FOR 3.5.1 ONLY Attachment 610


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

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