Results 1 to 7 of 7

Thread: Want your News/Blog to display less posts than you index.php (Home Page)

  1. #1
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts

    Want your News/Blog to display less posts than you index.php (Home Page)

    Here's my tip for this week. We display about 30 listings on the home page, but wanted our Blog page to display less.

    Replace the query_posts line (Line 64 in my file) on tpl-blog.php with this:

    <?php $args = array( 'paged'=> $paged, 'post_type' => 'post', 'posts_per_page' => 10 ); query_posts($args); ?>

  2. The Following User Says Thank You to doctorcilantro For This Useful Post:

    lausha (March 13th, 2011)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,002
    Thanks
    166
    Thanked 3,327 Times in 3,198 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  4. #3
    Veteran homme143's Avatar
    Join Date
    Feb 2011
    Location
    Singapore
    Posts
    305
    Thanks
    71
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,002
    Thanks
    166
    Thanked 3,327 Times in 3,198 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  6. The Following User Says Thank You to jomarkosabel For This Useful Post:

    homme143 (April 20th, 2011)

  7. #5
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    My Classipress Suggestion: http://ideas.appthemes.com/forums/84...ents?ref=title vote if you like!

  8. The Following User Says Thank You to hugo For This Useful Post:

    homme143 (April 20th, 2011)

  9. #6
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    My Classipress Suggestion: http://ideas.appthemes.com/forums/84...ents?ref=title vote if you like!

  10. The Following User Says Thank You to hugo For This Useful Post:

    homme143 (April 20th, 2011)

  11. #7
    Veteran homme143's Avatar
    Join Date
    Feb 2011
    Location
    Singapore
    Posts
    305
    Thanks
    71
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display specific sub-category on home page
    By dmjendor in forum ClassiPress General Discussion
    Replies: 2
    Last Post: January 11th, 2011, 01:16 PM
  2. Changing header or tab text on the index or home page
    By mikenorton in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: January 1st, 2011, 12:24 PM
  3. Home Page Ads Display
    By drazilek in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: December 20th, 2010, 11:58 AM
  4. Limit list of blog posts shown on blog page
    By flash in forum ClassiPress General Discussion
    Replies: 3
    Last Post: August 6th, 2010, 11:29 AM
  5. Just Listed display on home page
    By gdalberri in forum ClassiPress General Discussion
    Replies: 0
    Last Post: May 11th, 2010, 08:27 PM