Yada Wiki is a simple wiki for your WordPress site.
Yada Wiki provides a wiki post type, custom tags and categories, an index, and a table of contents option. The plugin allows you to link your wiki pages together using the wiki page titles.
There are two easy to use shortcode buttons available on the editor toolbar. Rather than try to remember the shortcodes and their values, it is recommended that you use these buttons to generate the shortcodes for you.
The “Add Wiki Link” Button:
When you click the first button, the add wiki link button, a pop-up opens where you enter the title of the wiki page you are linking to in the “Link” text box. You can optionally enter text into the “Show” text box that you want to show for the link, or leave that blank to just show the title. There is the ability to manually add an “anchor” parameter for on-page links. Please see the documentation for more information on this.
When you click “OK”, a shortcode is inserted into your edit window at the cursor location. For example to link to a wiki page called “How To Make Iced Coffee” but show the text for the link as “How To Make My Favorite Drink”:
[yadawiki link=”How To Make Iced Coffee” show=”How To Make My Favorite Drink”]
You use Wiki Link shortcodes to create the structure of linked pages.
The “Add Wiki Listing” Button:
The Add Wiki Listing button gives you three options for adding some collected output.
Output TOC Page
The first option inserts a shortcode that will output your “TOC” page. With Yada Wiki, you can create a special wiki page with the title of “TOC” that will serve as the table of contents for your wiki. You can use wiki links and style the table of contents as you like in the post editor. Selecting this option allows you to embed the TOC page in another page. For example:
[yadawikitoc show_toc=”true”]
Output Wiki Category
The second option inserts a list of the wiki pages for one of your wiki categories. You can optionally choose to output the list by title or by creation date. For example:
[yadawikitoc show_toc=”true” category=”Drinks” order=”title”]
Output Index
The third option inserts a grid of your wiki pages or categories. The output is in a responsive table-like grid and you can choose the number of columns. For example, to output wiki pages:
[yadawiki-index type=”pages” columns=”4″]
An example for listing a single wiki category by title:
[yadawiki-index type=”category-name” category=”States” columns=”3″]
An example for listing all wiki categories by title:
[yadawiki-index type=”all-categories-name” columns=”3″]
Note that in the index listing the category hierarchy only goes down one level deep from to the top.
Sidebar Widgets:
There are two Yada Wiki widgets. One for showing the TOC page and a list of article titles for a given category in the sidebar and the other for showing recent wiki articles. Please see the FAQ section for information about using the sidebar widgets.
Documentation:
Documentation is available at https://www.webtng.com/yada-wiki-documentation/
The FAQs below also have good information.
Video Walk-through:
This video provides a walk-though of all of the features:
** Translations **
The plugin is available in:
* English
* Spanish
The user @JulianSMoore has been very helpful in suggesting improvements and reviewing changes. Thanks to the user @simplyletgo who contributed the recent wiki post widget.
You can install the Yada Wiki plugin either via the WordPress.org plugin directory or by uploading the files to your server. Once the plugin is installed, you can activate the plugin through the Plugins menu in WordPress.
When viewing wiki pages, if the wiki page exists it shows as a link. If it does not exist, and the user has permissions to edit posts, then the link shows up in red to indicate that the page needs to be created. You can click on the link to go to the page editor to create the new page. If the user does not have permissions, then they see the title in red, but no link is available.
Yes, but the wiki shortcode is only for linking to wiki pages. If you want to link to external sites or regular posts or pages, then use the usual methods in the post editor to do so, but not the Yada Wiki shortcode.
Yes, there is a Yada Wiki sub-menu under the main settings menu where you can enable showing the Yada Wiki shortcode buttons when editing posts and pages. Remember, the wiki shortcode is only for linking to wiki pages.
There is a sidebar widget so that you can include the TOC or a category list of wiki articles. It is a multi-instance widget so you can have more than one version of the widget active at a time.
There is now a recent activity widget so that you can include a list of the most recent wiki articles. You may optionally show the how long ago it was modified.
Most page builders allow you to enter shortcodes and the Yada Wiki shortcodes should work. If the shortcodes do not work then let me know and I’ll take a look. The sidebar widget works well in regular widget areas, but may not work when embedded using page builders (except for Beaver Builder – see below).
The plugin has been tested and updated to work with Beaver Builder. By default Beaver Builder does not show 3rd party buttons in the Text Editor module, but you can enter the shortcodes manually. The sidebar widget works with the Beaver Builder widget module.
You can include regular wiki link shortcodes in your TOC. You can also add multiple TOC Category shortcodes to a regular wiki page. Adding TOC shortcodes to the TOC page, or adding TOC Category shortcodes to the TOC page does not work.
Empty categories, with no wiki pages or child categories assigned, are excluded. Also, the index of a category or all categories only goes down to one level of child categories.
Some people may have categories that are people’s names, such as book authors. The alternate ability to sort by slug gives some flexibility for custom sorting if, for example, you use the author’s last name for the slug.
You can use the tag cloud widget to display the wiki custom tags. There are also plugins in the WordPress repository that will allow you to display custom categories (or taxonomies).
Yada Wiki does not support comments by default. There is a Yada Wiki sub-menu under the main settings menu where you can enable comment options and set defaults for new wiki pages.
The way the buttons are loaded was changed in version 2. If you do not see the buttons you may need to clear your browser cache.
The plugin is not compatible with multisite.
The wiki links are based on links to wiki page titles, so it is expected that you will use the “Post name” type of permalink structure. You can change the URL slug for links from ‘wiki’ to another word of your choice on the Yada Wiki settings page.
When rendered on the viewed page, wiki links are given a CSS class related to their post status (published, draft, etc). You can override the default colors in your style sheet. This is a convenience for those with edit permissions who might not realize that wiki articles have not been published. Note that WordPress permissions still control what posts can actually be viewed, this is just related to the display of wiki links. The classes are:
When viewing links for users with the “edit_posts” capacity:
When viewing links for users without the “edit posts” capacity:
The TOC Output Wiki Category shortcode outputs an unordered list.
As of Yada Wiki version 3.1, the Gutenberg editor is disabled on Wiki pages by default. There is a setting to enable it, but there are no Wiki blocks and no buttons to make it easier to add shortcodes.