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 »

[SOLVED] One post per page but several in category / archive possible?


  #1  
Old Aug 15, 2009, 06:50 AM
hospitalera
 
72 posts · Mar 2009
Prague
I have set up my blog in the following way:

Home Page: One, full, Post per Page, excerpts on Category, Archive and Tag pages.

Now only one excerpt shows up on those pages ;-( Is there any possibility to change the settings to:

Home Page: One, full, Post per Page.

10 excerpts on Category, Archive and Tag pages?

Thanks, SY
__________________
Hospitalera's Blog
  #2  
Old Aug 16, 2009, 04:27 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can put a query_posts code http://codex.wordpress.org/Template_Tags/query_posts into Style & edit CENTER COLUMN -> Content ABOVE the LOOP, wrapped into a conditional tag http://codex.wordpress.org/Conditional_Tags

<?php if ( is_front_page() ) {
query_posts('query_posts('showposts=5');
} ?>
  #3  
Old Aug 16, 2009, 08:43 AM
hospitalera
 
72 posts · Mar 2009
Prague
Flynn, that sounds great but I have not the slightest idea what you actually mean. Would you mind to break it a bit down in bite size bits? Ich bin nicht mehr die Juengste ;-) SY
__________________
Hospitalera's Blog
  #4  
Old Aug 16, 2009, 10:17 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Put this

<?php if ( is_front_page() ) {
query_posts($query_string . 'showposts=1');
} ?>

into the text area at Style & edit CENTER COLUMN -> Content ABOVE the LOOP
  #5  
Old Aug 16, 2009, 10:28 AM
hospitalera
 
72 posts · Mar 2009
Prague
I checked both, the theme editor and the Atahualpa theme options and can't for the life of me see where "the text area at Style & edit CENTER COLUMN -> Content ABOVE the LOOP" is??? Am I blind? SY
__________________
Hospitalera's Blog
  #6  
Old Aug 16, 2009, 10:30 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You probably have an older version of Atahualpa. Put the code into index.php, after <?php get_header(); ?>
  #7  
Old Aug 16, 2009, 11:45 AM
hospitalera
 
72 posts · Mar 2009
Prague
I Did what you said, and yes you are right, I am using Atahualpa 3.2, and it did exactly the opposite of what I wanted. It displayed

Home Page: 5, full post per page, but still only one excerpt on Category, Archive and Tag pages?

I took it off again SY
__________________
Hospitalera's Blog
  #8  
Old Aug 16, 2009, 12:32 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Use the last code I gave you, not the one before, and set Site Admin -> Reading -> "Blog pages show at most back" to 10
  #9  
Old Aug 16, 2009, 01:46 PM
hospitalera
 
72 posts · Mar 2009
Prague
Brilliant, that worked! Thanks a lot! SY
__________________
Hospitalera's Blog

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Images in post not showing on Category, Archive, or Tag page Tart Atahualpa 3 Wordpress theme 9 Jan 21, 2011 12:47 PM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 09:26 AM
How to get rid of "Archive for the ‘Name of Category’ Category Headline? harpek Atahualpa 3 Wordpress theme 1 Jul 31, 2009 06:38 PM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM
Edit Category Archive Page saniol Atahualpa 3 Wordpress theme 0 Mar 20, 2009 12:52 PM


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


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