Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Stop certain posts from appearing on home page ?

Prev Previous Post   Next Post Next
Old Oct 8, 2011, 08:11 AM
14 posts · Jun 2011
Stop certain posts from appearing on home page ?

I am trying to stop certain posts from appearing on the front page of www.mummybird.com

I have created a page for reviews as I don't want the reviews clogging up the home page.

I've added this to the index.php
<?php if (is_front_page() && !is_paged() )
$posts = query_posts($query_string . '&cat=-108'); ?>

It works on the first home page but the review posts then start appearing on the second page. It's also started doubling posts that appear on the first page and putting then on the second page again.

Anybody got any suggestions how I can make this happen ?

thanks Jon


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Posts page jumps down and around when loading - how do I stop it? tomsimone Center area post/pages 2 May 30, 2011 10:49 PM
Excluding Posts from a category appearing in chronological page navigation. threedogmoon Center area post/pages 4 Apr 26, 2011 04:32 PM
How can I stop horizontal lines appearing across header image? MarkSK Header configuration & styling 1 Oct 8, 2010 04:29 PM
BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts juggledad Old Version fixes and change logs 1 Jul 13, 2010 05:42 AM
[SOLVED] 3.5.1 Bug? Show the first X posts on HOME page as full posts - not working Fux Excerpts, Read more, Pagination 6 May 30, 2010 01:59 AM

All times are GMT -6. The time now is 03:48 PM.

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