Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   How do I display all but one category on the home page? (http://forum.bytesforall.com/showthread.php?t=18372)

polizeros Sep 14, 2012 02:50 PM

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!

juggledad Sep 14, 2012 03:04 PM

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.

polizeros Sep 14, 2012 03:30 PM

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.

juggledad Sep 14, 2012 03:37 PM

I beleive you use -6

UPDATE: you you would say
HTML Code:

cat=-1,-2,-3

polizeros Sep 14, 2012 04:16 PM

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.

lmilesw Sep 14, 2012 06:44 PM

You could just set the excerpt length to 999 in the Configure Excerpts section of the theme options.

polizeros Sep 14, 2012 07:05 PM

Excellent idea. Thanks!


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

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