How do I display all but one category on the home page?
I'm helping convert a large Drupal blog to WordPress. The site currently has a NewsWire Page that is separate from the Home Page. We'd like to do this in WordPress too. I'm thinking giving NewsWire posts a category of "Newswire" then not displaying that category on the Home Page would work.
Is there a way to do this from Atahualpha Theme Options or do I need to tweak index.php? If I do need to tweak index.php, what should it says? I'm open to other ideas too. Thanks! |
You could use the 'multi column/custom query' template and in the custom query, name all the categories except that one for the home page.
|
Great theme! I can use it easily to display just one category.
Is there any way to have a custom query that eliminates one category without listing all the others? "cat<>6" didn't work. Hmmm. |
I beleive you use -6
UPDATE: you you would say HTML Code:
cat=-1,-2,-3 |
That worked! Thx.
Is there a way to display full posts instead of excerpts using your theme. I have Configure Excerpts-> Full Posts on for everything including categories but am still getting excerpts because, I guess, it's a page not a category. |
You could just set the excerpt length to 999 in the Configure Excerpts section of the theme options.
|
Excellent idea. Thanks!
|
All times are GMT -6. The time now is 06:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.