Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts


  #1  
Old May 30, 2010, 06:18 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 20, 2010 at 06:27 AM.
  #2  
Old Jul 13, 2010, 06:42 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The attached file has the fix incorporated into it FOR 3.5.1 ONLY index.php.zip
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 20, 2010 at 06:27 AM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 3.5.1 Bug? Show the first X posts on HOME page as full posts - not working Fux Excerpts, Read more, Pagination 6 May 30, 2010 02:59 AM
Chronological, full content list of posts on page other than the home page joshsweiss Center area post/pages 4 May 19, 2010 01:47 PM
[SOLVED] Show full posts on home page khatton Center area post/pages 4 May 17, 2010 09:58 PM
Multiple category pages - excerpts/full posts dberg Center area post/pages 0 May 5, 2010 04:56 AM
Different styles for excerpts and full posts? daniel3ub Excerpts, Read more, Pagination 3 Oct 20, 2009 07:09 PM


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


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