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 »

How do I display all but one category on the home page?


  #1  
Old Sep 14, 2012, 03:50 PM
polizeros
 
11 posts · Jul 2011
San Jose, CA
Send a message via Skype™ to polizeros
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!
  #2  
Old Sep 14, 2012, 04:04 PM
juggledad's Avatar
juggledad
 
23,574 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 14, 2012, 04:30 PM
polizeros
 
11 posts · Jul 2011
San Jose, CA
Send a message via Skype™ to polizeros
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.
  #4  
Old Sep 14, 2012, 04:37 PM
juggledad's Avatar
juggledad
 
23,574 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I beleive you use -6

UPDATE: you you would say
HTML Code:
cat=-1,-2,-3
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 14, 2012, 05:16 PM
polizeros
 
11 posts · Jul 2011
San Jose, CA
Send a message via Skype™ to polizeros
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.
  #6  
Old Sep 14, 2012, 07:44 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
You could just set the excerpt length to 999 in the Configure Excerpts section of the theme options.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Sep 14, 2012 at 07:50 PM.
  #7  
Old Sep 14, 2012, 08:05 PM
polizeros
 
11 posts · Jul 2011
San Jose, CA
Send a message via Skype™ to polizeros
Excellent idea. Thanks!

Bookmarks

Tags
categories

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to display the header on the home page only? RHCdG Header configuration & styling 11 Jan 9, 2015 05:07 AM
I use php to display home page as table Marfieta New Versions, & Updating 0 May 30, 2011 03:13 AM
Home page - 4 to 6 containers on home page based on category hmeguro Center area post/pages 1 Oct 11, 2010 06:50 AM
How to rename "Home" title in the home page instead setting NOT to display "home"? akg Center area post/pages 6 Sep 30, 2010 08:33 PM


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


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