Title: wpDirectory
Author: obus3000
Published: <strong>20 de desembre de 2009</strong>
Last modified: 20 de desembre de 2009

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/wpdirectory.svg)

# wpDirectory

 Per [obus3000](https://profiles.wordpress.org/obus3000/)

[Baixa](https://downloads.wordpress.org/plugin/wpdirectory.1.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/wpdirectory/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/wpdirectory/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/wpdirectory/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/wpdirectory/#developers)

 [Suport](https://wordpress.org/support/plugin/wpdirectory/)

## Descripció

wpDirectory can show a structured list of categories on a page (home or any), easily
customizable via CSS and localized compatible. This plugin can also modify the admin
interface for posting articles or listings in the directory, for both contributors
and admins in order to gain efficiency when posting entries.

Features:

 * Category description in link title.
 * Show/Hide Subcategories
 * Show/Hide Amount of articles in parent and child categories.
 * Show/Hide empty categories.
 * Display categories on specified amount of colums with automatic reordering adjusting
   to user\’s resolution.
 * Use hierarchy for subcategories.
 * Exclude selected categories.

Special features:

 * `div` powered listing, so design can be easily modified using CSS,a s you need.
   The parent category is inserted in a `<div>` container to mark it out with CSS
   as a parent.
 * Parent category is showing amount of articles in subcategories. The character
   also include the number of articles in this parent category.
 * Display the specified amount of child categories (2nd level).
 * Exclude child categories articles from the parent categories archive pages.
 * You can add icons for parent categories using CSS.
 * User can access to article’s source code.

Future Features:

 * Ability to show all subcategories in listing powered by ajax.
 * Show domain stats and relevant information about domain (for link directory)
 * Integration with TDO miniforms

Admin interface options:

 * Can prevent the listing have more than one category
 * Show warning to author, if not selected any category or if selected more than
   one category.
 * Hide unnecessary blocks from the “Write/Edit Post” page, if this is not the site
   administrator. It is “Comments & Pings”, “Excerpt”, “Password Protect” and other
   blocks. I.e. actually there is only a form of adding the article and the button
   to send it to moderation.
 * Specific height of categories block on “Write/Edit Post” page.
 * Custom “Terms of item publication” on “Write/Edit Post” page.

### Version history

Version history and list of changes you can see [here](http://arielbustillos.com/wpdirectory-wordpress-plugin/#version-history).

## Instal·lació

 1. Copy the `wpdirectory` folder in WordPress plugins directory (`/wp-content/plugins/`).
 2. Copy the `categories.css` file in directory of your current THEME.
 3. Activate the plugin through admin interface.
 4. You can call the categories listing on any page throught this function:
 5.     ```
            <?php wp_directory(); ?>
        ```
    

Add the following code in the `index.php` (or another file) of your THEME:

    ```
        <?php if (function_exists('wp_directory')) wp_directory(); ?>
    ```

 1. Add the following code in the `style.css`:
 2.     ```
        @import 'categories.css';
        ```
    

Remember to add according permissions, so you can edit this file through the Theme
Editor

 1. Options are optmized, however you can customize them in in admin interface at the“
    Options -> wpDirectory” page.

The plugin also lets you to display the list with the links to categories RSS feeds.
To do this, you must:

 * Create a [new page template](https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates).
 * Add the following code:
 *     ```
       <?php $rssfeeds=true; ?>
       <?php if (function_exists('wp_directory')) wp_directory(); ?>
       ```
   
 * Create a new page in the admin interface and select the created template.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«wpDirectory» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

 *   [ obus3000 ](https://profiles.wordpress.org/obus3000/)

[Traduïu «wpDirectory» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/wpdirectory)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/wpdirectory/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/wpdirectory/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/wpdirectory/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/wpdirectory/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versió **1.0**
 *  Darrera actualització **fa 16 anys**
 *  Instal·lacions actives **10+**
 *  Provada fins a **2.9.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wpdirectory/)
 * Etiquetes
 * [articles](https://ca.wordpress.org/plugins/tags/articles/)[business](https://ca.wordpress.org/plugins/tags/business/)
   [categories](https://ca.wordpress.org/plugins/tags/categories/)[directory](https://ca.wordpress.org/plugins/tags/directory/)
   [list](https://ca.wordpress.org/plugins/tags/list/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/wpdirectory/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/wpdirectory/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/wpdirectory/reviews/)

## Col·laboradors

 *   [ obus3000 ](https://profiles.wordpress.org/obus3000/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/wpdirectory/)