Hallo
WP Nutzer,
also ich habe in sämtlichen Threads hier geschaut und die verschiedenen Vorschläge an meinem
Theme ausprobiert, aber ich habe es nicht geschafft meine Kategorie mit der id 144 auszublenden.
Also ich möchte die Kategorie ausblenden, aber trotzdem über den link der kategorie zugriff haben.
Ich habe auch den Excluder
Plugin probiert, mit dem verträgt sich mein
Theme nicht, ausserdem verlangsamt mein Blog dadurch.
Ich habe den
Theme Carrington Blog.
Meine Index.php sieht so aus:
PHP-Code:
<?php
// This file is part of the Carrington Blog Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
// NOTE: this file is here for compatibility reasons - active templates are in the posts/ dir
cfct_posts();
?>
und das
theme hat ein category.php der so aussieht:
PHP-Code:
<?php
// This file is part of the Carrington Blog Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }
get_header();
$cat_title = '<a href="'.get_category_link(intval(get_query_var('cat'))).'">'.single_cat_title('', false).'</a>';
?>
<div id="content">
<h1 class="page-title"><?php printf(__('Category Archives: %s', 'carrington-blog'), $cat_title); ?></h1>
<div class="description"><?php echo category_description(); ?></div>
<?php
cfct_loop();
cfct_misc('nav-posts');
?>
</div>
<?php
get_sidebar();
get_footer();
?>
Wie gesagt, ich habe alle ausprobiert, ich mache wohl irgendwas falsch. Zumal ich auch garkeine Programmierkenntnisse habe.
Gruß
Resul