Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Replacing bfa_excerpt() with the_content() in postformat.php causes mismatch (http://forum.bytesforall.com/showthread.php?t=18914)

Jonathan Harford Nov 15, 2012 03:01 PM

Replacing bfa_excerpt() with the_content() in postformat.php causes mismatch
 
I've looked over "full posts on the front page" a number of times and come to the conclusion that replacing bfa_excerpt( 55, ' ...' ) with the_content() in postformat.php should give the result that widdy previously desired and I now desire.

I have done so, and indeed, my front page shows full content instead of just excerpts... except that instead of:
Title 8
Content 8

Title 7

Content 7

Title 6
Content 6
etc., I have:

Title 8
Content 7

Title 6
Content 5

Title 4
Content 3
I have been hitting my head against this puzzle for a while now.

Is there anyone who could teach me... how to solve problems? Or how to fish? My Wordpress and PHP knowledge are pretty minimal. Thanks in advance.

monbosapin Nov 22, 2012 07:43 PM

I have the exact same issue here: I replaced bfa_excerpt( 55, ' ...' ) with the_content() in postformat.php. Same thing happened with titles and contents getting mixed up for lists of posts.

I'm doing this for the category archives. Right now they show half the actual number of posts as any appearance of a post (whether in title or in content) is being counted as "shown".

Thanks for your knowledgeable help!

juggledad Nov 23, 2012 02:34 AM

The developer has been made aware of the issue.

joseanu Nov 28, 2012 06:05 PM

I have the same problem, have been looking the code for a solution.

I've temporally modified the bfa_excerpt function in template_tags.php but i know is not the right solution for this.

My suspect is the theme's loop function.... will keep diggin.

richardjones Jan 7, 2013 02:15 PM

Has a fix been made for this issue? Basically what we are looking for is a way to make the landing page have the full version of the post, with the same layout as the post. When we replace the excerpt with the content however it doesn't work.

Any suggestions?

Thanks in advance.

Richard

juggledad Jan 7, 2013 02:16 PM

see PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results


All times are GMT -6. The time now is 11:14 AM.

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