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)
-   -   [SOLVED] Hide certain categories from main page? (http://forum.bytesforall.com/showthread.php?t=4994)

bobdobolina Dec 23, 2009 12:00 PM

[SOLVED] Hide certain categories from main page?
 
I'd like to be able to exclude posts of a certain category from being displayed on the main page.

I'm trying to find a way to do this with plugins, to no avail (there are many options, but none so far I can find that work with Wordpress 2.9).

I use Atahualpa (old version - 3.2 - but am willing to upgrade if necessary) and was hoping there was an "easy" way to do it. I see it can exclude categories from showing on the category list... but is there any way to have it exclude all posts of a given category from the main page?

thanks!

lmilesw Dec 23, 2009 02:40 PM

Don't worry whether is says "compatible up to WordPress 2.9" in the repository. Many of the older plugins work just fine. Worst case is you have to ftp to the site and delete the plugin.

juggledad Dec 24, 2009 05:49 AM

Well if you were on 3.4.4 you could wrap the code in 'The LOOP' option with some php code like
<?php if (is_front_page()) and (!in_category(xx')) { ?>
.
.
.
<?php } ?>
where you would put the category id in-place of the xx

lmilesw Dec 24, 2009 07:10 AM

A plugin you could try is Frontpage Manager. It let's you choose which categories to show on the front page along with how many paragraphs, characters, or words to show.

shus Dec 28, 2009 04:03 AM

Quote:

Originally Posted by juggledad (Post 21457)
Well if you were on 3.4.4 you could wrap the code in 'The LOOP' option with some php code like
<?php if (is_front_page()) and (!in_category(xx')) { ?>
.
.
.
<?php } ?>
where you would put the category id in-place of the xx

What must I write inside if I want to display static page instead list of posts?

By the way, Frontpage Manager doesn't support this possibility.

juggledad Dec 28, 2009 04:23 AM

shus what do you mean by a 'static pages'?

What is displayed as your landing page (ie your blog or some other page) is controled by WordPress (see dashboard->settings->general)

shus Dec 28, 2009 04:39 AM

Sorry, may be I have written not exactly.

When I click name of first level category at the sidebar I woud like see not list of posts, but certain page (wich I may edit at dashboard->pages).

webshus.ru

juggledad Dec 28, 2009 04:50 AM

If you are using the 'category' plugin, it is designed to display all the posts that are in that category. If you want to display pages, use the 'pages' plugin.

Plugins are not part of Atahualpa - Atahualpa is a theme that helps you in the look of your website. It sounds like you are new to wordpress, so I suggest you visit http://codex.wordpress.org/New_To_Wo...Where_to_Start and do some reading.

shus Dec 28, 2009 05:03 AM

I try to find suitable plugin and tested some of them.

Usually they can regulate number of posts at the front page, but can't put page instead list of posts.
And FrontPage Manager too.

bobdobolina Dec 28, 2009 12:44 PM

Frontpage Manager was exactly what I needed; thanks much!

lmilesw Dec 28, 2009 12:57 PM

Be aware that one person on this forum had a problem with Frontpage Manager and WP 2.9 so a new update for FPM may be in the works.

lmilesw Dec 28, 2009 02:43 PM

I checked my site that had Front Page Manager installed and saw no issues with WP 2.9.

studioelle Aug 26, 2010 01:39 PM

None of these solutions worked for me on Wordpress 3/Atahualpa 3.5.3. So, I found my own solution. In case I'm not the only one with this issue, I posted my solution on another thread here.


All times are GMT -6. The time now is 04:49 PM.

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