docs
is a wordpress plugin, it provides CMS / file tree system to wordpress. So you can make wordpress a wiki system or something else.
Just copy the docs
folder to /wp-content/plugins/
and enable the plugin.
There is a Finder
option added to the admin bar. You can add folders, double-click open folders, select to preview posts, double-click to edit posts, drag & drop to move files, or right-click on icons.
Add <?php echo return_posts_list_html_under_dir('/'); ?>
to your theme PHP file, index.php
for example.
It will generate a list of files and folders under the directory now. The URL of folder is like ?folder={{folder_title}}
.
The <li><a>
tags in this list will contain classes go_parent
, posts_list_post
or posts_list_folder
, you can adjust the CSS file by yourself.
Font awesome
and jQuery
are used.
This plugin is developed for Fudan STU Wiki System
.
Author: Shu Ding
License: The MIT License