Displays the list of categories like in article directory and allows authors to publish articles and change their profile bypassing the admin area.
Attention: if you are using the plugin simultaneously with Article Directory WordPress Theme, miss the 5, 6, 7 and 8.1 points of installation:
/wp-content/plugins/).Add the following code in the index.php file 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 </head> tag:
<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:
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.
Requires: 2.9 or higher
Compatible up to: 3.0.5
Last Updated: 2011-1-16
Downloads: 50,082




