GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress Question (https://gfy.com/showthread.php?t=720568)

darnit 04-02-2007 04:48 PM

Wordpress Question
 
In WordPress is it possible to configure posts in a certain category to not appear as a new post at the top of the blog but just appear in their respective category archives?

Thanks

beta-tester 04-02-2007 05:02 PM

yes it is possible. There is a plugin called category exclusion, or smth like that ;)
google it.

GrouchyAdmin 04-02-2007 05:09 PM

It's really trivial to do this in TextPattern, WordPress, it would likely be easier to just 'Write as a Page', and set it for the subcategory you want. This will also have the "benefit" of not be displayed in a tree, they work individually.

TextPattern: Modify your display logic: <txp:article customfield="type"> or just create a new type of entry, and exclude it from the front page and/or category list.

StarkReality 04-02-2007 05:12 PM

http://zeo.unic.net.my/notes/exclude...-in-wordpress/
http://codex.wordpress.org/Conditional_Tags

darnit 04-02-2007 05:36 PM

Awsome. Thanks everyone for the assistance. After digging a little on your suggestions i did find this plugin which seems to work like a charm

http://ryowebsite.com/?p=46

:upsidedow

DjSap 04-03-2007 07:22 PM

You don't need a plugin to do this. For example if you want to exclude cat id 5 then put this in index.php at the top, this is a wordpress function.

<?php
if (is_home()) {
query_posts("cat=-5");
}
?>

You should avoid plugins unless it's necassery, since they may break at updates.

Scroto 04-08-2007 01:24 PM

Quote:

Originally Posted by DjSap (Post 12191096)
You don't need a plugin to do this. For example if you want to exclude cat id 5 then put this in index.php at the top, this is a wordpress function.

<?php
if (is_home()) {
query_posts("cat=-5");
}
?>

You should avoid plugins unless it's necassery, since they may break at updates.

Thanks man, that was excellent :thumbsup


All times are GMT -7. The time now is 12:16 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123