Displays the structured list of categories (like in article directory), which can be easily customized with CSS. Also allows authors to publish articles and change their profile bypassing the admin interface. See the demo at Articlesss.com/demo/.
Standard features for categories list:
- Showing an amount of articles in parent and child categories.
- Showing a category description in link title.
- Showing the empty categories.
- Using hierarchy for subcategories.
- Excluding a specified categories.
Special features for categories list:
- Simple and handy design using CSS. The structure of categories is the multilevel list, which can be altered easily with CSS, as you need. The parent category have the
<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.
- Showing a specified amount of child categories (2nd level).
- Showing a categories in specified amount of columns.
- Hiding all subcategories.
- Adding an icons for each category in the list using CSS.
- Authors can add articles and change their profile bypassing the admin interface.
- Displaying the “Terms of article publication” on article submission page.
- Excluding the child categories articles from the parent categories archive pages.
- Ability to get an article source code.
Attention: if you are using the plugin simultaneously with Article Directory WordPress Theme, miss the 5, 6, 7 and 8.1 points of installation:
- Copy the article-directory folder in WordPress plugins directory (
- Activate the plugin through admin interface.
- Activate the “Membership (Anyone can register)” option on the “General Settings” page of admin area.
- On the same page select “Author” or “Contributor” in the option “New User Default Role”.
Add the following code in the
index.phpfile of your theme (or in another file in a place, where you want to display the categories list):
<?php if (function_exists('article_directory')) article_directory(); ?>
Add the following code in a place of your theme (for example, in sidebar.php), where you want to see the authorization form:
<?php if (function_exists('article_directory_authorization_form')) article_directory_authorization_form(); ?>
Add the following code in the header.php file before the
<link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-content/plugins/article-directory/author-panel.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-content/plugins/article-directory/categories.css" type="text/css" media="screen" />
Select a prefered interface for authors in corresponding option at the “Settings → Article Directory” page of admin area. If you have selected the “Author panel”, then follow these subpoints:
Create in directory with your theme a new PHP file, for example author-panel.php and paste the following code in it:
<?php /* Template Name: Author panel */ if (function_exists('article_directory_author_panel')) article_directory_author_panel(); ?>
Create in admin area a new page and select the template “Author panel” in page attributes. Through this page authors will add new articles and change their profile. Access in admin area for authors will be forbidden.
Specify ID of this page in corresponding option at the “Settings → Article Directory” page of admin area.
That’s all. If it’s necessary, you may customize other options of plugin.
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.
Add the following code:
<?php $rssfeeds=true; ?> <?php if (function_exists('article_directory')) article_directory(); ?>
Create a new page in the admin interface and select the created template in page attributes.
You can find them here.
Colaboradores e desenvolvedores
“Article Directory” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.Colaboradores
Registro de alterações
Version history and list of changes you can see here.