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 to hide one specific category from posts page?


  #1  
Old Jun 3, 2010, 07:52 AM
unelma
 
18 posts · Oct 2009
How to hide one specific category from posts page?

Hi,

I want to hide category "news" from posts page.

News canīt be displayed in center column or in sidebar.

How I can hide category?

I am using:

Atahualpa 3.4.9
WordPress 2.9.2

Plugins:
Blog in Blog
Widget Logic
  #2  
Old Dec 9, 2010, 10:31 AM
sradhey
 
9 posts · Aug 2010
Were you able to get a reply to this, i am looking for the solutoin too !!
  #3  
Old Dec 9, 2010, 12:12 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
In ATO/Style and Edit Center Column/Content Above the Loop, I entered:
Code:
<?php if (is_front_page() && !is_paged() )
     $posts = query_posts($query_string . '&cat=-15,-80'); ?>
This prevents posts from categories 15 and 80 from appearing in the list of front page posts in the center column.

Then I use the Enhanced Recent Posts plugin multiple times as a sidebar widget, to display a certain number of posts from several categories that I do want to show up in the sidebar. Another plugin, Widget Logic, directs which pages these widgets show up on.
  #4  
Old May 22, 2011, 01:49 PM
bytpep
 
1 posts · May 2011
Thanks paulae for the php code and the offered plugins.
  #5  
Old Jun 3, 2011, 11:12 AM
juanma
 
6 posts · Jun 2011
Hi, I also want to do something like this but I don't know how. I want some categories to appear only as search results. In other words, I don't want some categories to constantly appear in the front-page, but to appear in the front-page only when they are search results.
  #6  
Old Jun 3, 2011, 01:39 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
The Widget Context plugin should help you do that: http://wordpress.org/extend/plugins/widget-context/

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] post-specific header image w/ css insert (page-specific ones work, but not o viewdesigninc Header configuration & styling 10 Oct 1, 2012 03:43 PM
Restrict posts on index to a specific category. amish_geek Center area post/pages 2 Feb 17, 2010 04:13 PM
[SOLVED] On certain page only posts from specific category RijnmondE4 Page & Category Menu Bars 3 Nov 17, 2009 03:13 PM
Hide the footer on a static page while show them on posts olivier2010 Post-Kicker, -Byline & -Footer 1 Nov 2, 2009 06:41 PM
Make specific blog posts with smaller sidebars, leaving main posts intact. Chrism Header configuration & styling 3 Oct 15, 2009 05:22 PM


All times are GMT -6. The time now is 10:26 AM.


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