WordPress Plug-in : Stop Categories

New small plug-in called « Stop Categories » for the great WordPress!

This is a category filtering for guest visitor. Just check the category you don’t want to be viewed by guests (not logged).

  • Note: You have to add some code in the ‘index.php’ to restrict the categories displayed in the main articles list:

<?php get_header(); ?>

<div id= »content »>

<?php

/* here is the code */

if (is_home()){

query_posts(« cat=1,5,4″); /* put the cat you want to make appear in main list */

}

/* end */

if (have_posts()) :?>

stopcat

Download wp-stopcat 0.1.0 (Please report bugs! Beware, only in french for the moment)

0 Responses to “WordPress Plug-in : Stop Categories”


  • No Comments

Leave a Reply

You must be logged in to post a comment.