Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

"Older Posts" Pages Just Show Same 10 Posts!


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 18, 2011, 07:32 PM
SC801
 
34 posts · Oct 2010
Using: Atahualpa 3.6.7; Wordpress 3.2.1
Website: http://sierraclubcalifornia.org/

When I press the "older posts" link at the bottom of the page, it just shows the same (most recent) posts over and over again!
http://sierraclubcalifornia.org/page/1/ .../page/2/ .../page/3/ .../page/4/, etc. all show the same content.

Help! Please!!!
  #2  
Old Aug 18, 2011, 07:46 PM
lmilesw's Avatar
lmilesw
 
10,111 posts · Jul 2009
Central New York State USA
What are your permalinks set to? Try setting your permalinks to the default and see what happens.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 18, 2011, 08:22 PM
juggledad's Avatar
juggledad
 
22,378 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Are you using a template?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Aug 18, 2011, 09:47 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by lmilesw
What are your permalinks set to? Try setting your permalinks to the default and see what happens.
I have the permalinks set to "Day and name" - /%year%/%monthnum%/%day%/%postname%/
When I set it to default, none of my pages worked except the home page.

My category and tag bases are set to default.
  #5  
Old Aug 18, 2011, 09:49 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by juggledad
Are you using a template?
...not that I know of? I'm not sure what you mean by that. I have seen nothing on the dashboard that would imply that, and I know there isn't anything like that added to the code...
  #6  
Old Aug 19, 2011, 06:05 AM
juggledad's Avatar
juggledad
 
22,378 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Quote:
When I set it to default, none of my pages worked except the home page.
when you do this, doest the 'older posts' work?

is this site in a subfolder?
using ftp, go to the wordpress root folder - is there an htaccess file there?
next go to the parent folder of the wordpress older - is there an htaccess there?
repeat this process till you get to the root folder

all of the htaccess files will be processed so they might be effecting each other
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Aug 19, 2011, 04:15 PM
SC801
 
34 posts · Oct 2010
Quote:
Originally Posted by juggledad
when you do this, doest the 'older posts' work?
No. When I change to "default", though the url changes from .../page/# to .../?paged=# and the page does show up, it has the same issue. It still only shows the first ten entries.

Quote:
Originally Posted by juggledad
is this site in a subfolder?
using ftp, go to the wordpress root folder - is there an htaccess file there?
next go to the parent folder of the wordpress older - is there an htaccess there?
repeat this process till you get to the root folder

all of the htaccess files will be processed so they might be effecting each other
Yes, it is in a subfolder. I have found two .htaccess files, one in the wordpress folder and one in it's parent folder. Should I delete one? Which one? (they do have the same content, though...)
  #8  
Old Aug 19, 2011, 04:29 PM
SC801
 
34 posts · Oct 2010
Well, I tried removing each .htaccess file and seeing what happened. Without the one in the parent folder, the page broke; but without the one in the wordpress folder it was still ok, so I deleted that one.

It did not fix the issue, though =(
  #9  
Old Aug 19, 2011, 04:54 PM
SC801
 
34 posts · Oct 2010
OK, I've figured out what caused this: I put added
PHP Code:
    <?php if (is_home()) { query_posts("cat=-39"); } ?>
inside the loop (index.php) to skip a category of posts I don't want to show up. When I took that out, "older entries" started working again.
Which leads to the question: how do I hide that category? Was that code wrong, or should I have put it somewhere else or something?

Thanks so much for your help, you guys!!!
  #10  
Old Aug 19, 2011, 05:21 PM
SC801
 
34 posts · Oct 2010
ok - so I think I may have solved it?
I now added this code above the loop and it seems to be going ok.
PHP Code:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1?>
    <?php if (is_home()) {query_posts('cat=-39&paged='.$paged); } ?>
Would you mind just telling me whether that was a good move, or will it end up messing something up I don't know about yet, like I ended up doing the first time?

All times are GMT -6. The time now is 06:50 PM.


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