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 » Center area post/pages » Excerpts, Read more, Pagination »

Inaccurate Number of Posts Showing On Front Page


  #1  
Old Oct 19, 2009, 05:16 PM
OttO
 
20 posts · Oct 2009
Hi,

As I stated in another thread, I've been recently developing strange problems with my site. One that is really bothering me and I can't figure out: no matter what I set the settings to, I can't control how much Center Column content shows up on the front page. Right now I can't get more than one post (the most recent) to display.

I have total posts set to 25. I have Full Posts/Excerpts set to "Excerpts" and Display "6" which used to show full posts for the first six and then excerpts for the other 19. I've had one post show only, I've had two full posts and four excerpts with no other posts after that and other variations.

Suggestions? Thanks.
  #2  
Old Oct 19, 2009, 06:47 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What do you have set at dashboard->settings->reading->Blog pages show at most?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 19, 2009, 08:22 PM
OttO
 
20 posts · Oct 2009
25 - which has been pretty much the same since I launched the site a few months ago.
  #4  
Old Oct 20, 2009, 06:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if I remember right, you have made changes to 'The LOOP'

Have you made nay changes to ABOVE or BELOW the LOOP?

Copy the entire code - for each section you changed) to a text editor (so you can go put it back in later) and then reset the page defaults.

Is the problem still happening?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 20, 2009, 05:52 PM
OttO
 
20 posts · Oct 2009
I followed your instructions and it seems to have worked. The first thing I did after was add the code to the Loop that you provide to exclude a category from appearing in the center column. Then the problem returned. I removed the code, and the problem is gone.

Any ideas? I have one category that shows up in the left sidebar, one that shows up in the right sidebar and the center column is for everything else.
  #6  
Old Oct 20, 2009, 06:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ah, well the way it works is this.

You've told wordpress to display 25 posts on the front page so you have a loop that will get the first 25 posts. As each of the 25 posts is being processed, it is handed to the code in 'The LOOP'

There you have code which looks at each posts and says if the post is in category X, skip it, other wise display it.

Wordpress is handing you 25 posts, you are deciding to ignore some of them.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Oct 20, 2009, 08:30 PM
OttO
 
20 posts · Oct 2009
Cool, this part is making sense now - we had a change in quantity of various category posts so I can see how that would have an impact. But...

In Options, under Configure Excerpts I have it set to "Show Excerpts" and then to show the first six posts as Full. However, all of the posts are showing as excerpts. Maybe I'm just missing a setting somewhere?
  #8  
Old Oct 21, 2009, 04:27 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
this could be a byproduct of the same issue. The code looks to see if the post counter (set by wordpress) is greater than the number of full posts - if it is, the_excerpt() is called so if the first six posts were in the excluded category, they won't be shown, but you will now be over the 'full posts to show on homepage'

it can get complicated can't it
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict front page to showing sticky posts only DougBarned Atahualpa 3 Wordpress theme 4 Nov 13, 2009 01:28 PM
Limit number of posts when only showing one category bodger Atahualpa 3 Wordpress theme 3 Oct 8, 2009 11:27 AM
Showing Excerpts or Full Post Depending Upon Number of Posts LindaS Excerpts, Read more, Pagination 0 Sep 8, 2009 06:27 AM
Limit the number of posts per page mcgiver058 Atahualpa 3 Wordpress theme 1 Aug 20, 2009 09:01 PM
Limit the number of Posts on Home Page coaxkid Post-Kicker, -Byline & -Footer 4 Apr 12, 2009 06:01 PM


All times are GMT -6. The time now is 12:44 PM.


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