|
#1
Oct 19, 2009, 05:16 PM
|
|
Inaccurate Number of Posts Showing On Front Page
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
Oct 19, 2009, 06:47 PM
|
|
|
|
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
Oct 19, 2009, 08:22 PM
|
|
25 - which has been pretty much the same since I launched the site a few months ago.
|
#4
Oct 20, 2009, 06:07 AM
|
|
|
|
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
Oct 20, 2009, 05:52 PM
|
|
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
Oct 20, 2009, 06:24 PM
|
|
|
|
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
|
|