Archive for the 'Wordpress' Category

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)

WordPress Plug-in : Restrict category

I have writen a small plug-in called « Restrict Categories » for the great WordPress 2.3!

This is a category user filtering. Just check the category you want him not to use. Simple.

restric screenshot

Download version restricat 0.3.2 (Please report bugs! Beware, only in french for the moment)

  • Note: if you want articles from a sub-category to be restrited, be sure that you have checked the parent category also in the list when writing.