Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 02:50 PM
polizeros
 
11 posts · Jul 2011
San Jose, CA
Send a message via Skype™ to polizeros
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!
  #2  
Old Sep 14, 2012, 03:04 PM
juggledad's Avatar
juggledad
 
23,765 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, 03: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, 03:37 PM
juggledad's Avatar
juggledad
 
23,765 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, 04: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, 06:44 PM
lmilesw's Avatar
lmilesw
 
10,176 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 06:50 PM.

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 04:07 AM
I use php to display home page as table Marfieta New Versions, & Updating 0 May 30, 2011 02:13 AM
Home page - 4 to 6 containers on home page based on category hmeguro Center area post/pages 1 Oct 11, 2010 05: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 07:33 PM


All times are GMT -6. The time now is 08:12 AM.


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