Knowledgebase
Found In: General
Since all WPBundle themes are powered by the WooThemes Framework, if you can’t find the answer you’re looking for here, be sure to check out their videos for even more help. If you still can’t find the answer, please post in our Support Forum.
Custom Post Types
There are four major components to the Knowledgebase theme: Questions, Documents, Resources, and User Drafts.
Questions
Think of Questions as Frequently Asked Questions. To add a Question, simply navigate to the “Questions > Add New” screen. Add a title, and add the answer of the question to the content area. The title should be a general title about the question or answer. Add the actual question to the “Question” field in the custom meta boxes. You may also add categories and tags.
Documents
Documents act almost identical to Questions. The only difference is you add no original question.
Resources
Again, resources are just like Questions (or even just normal posts).
User Drafts
User Drafts allow for your very own guests/users to suggest questions, documents, or resources (more about this in the Shortcode section). Drafts are automatically submitted to this post type. Once you have reviewed the draft (making any changes you would like) you can set the content type (Question, Document, or Resource) and check “Final Draft.” Once you publish the post, it will be moved to its respective post type and published.
Shortcodes
Knowledgebase supports a variety of custom shortcodes.
Notice
The notice shortcode is used to create a stylized notice box
Example Usage:
[notice title="Please Note:"]]Something you should really take note of[[/notice]
Attributes
title– The (optional) title of the notice box
Resource
The resource shortcode is used to create a stylized resource box linking to either an external site/file, or an internally hosted file.
Example Usage:
[resource label="Go to File info Page" title="Pictos. High Quality Pictogram Icons" source="http://pictos.drewwilson.com/" source_meta="http://drewwilson.com" date="September 27, 2010" size="2.5mb" type="file"]
Attributes
label– The (optional) label of the resource box.title– The (required) title of the resource. The text for the link.source– The (required) source URL of the resource being included.source_meta– The (optional) alternative URL of the resource (a source site maybe).date– The (optional) date the resource was added.size– The (optional) size of the resource.type– The (optional) type of the resource. Either external or internal.
Pull Image
The Pull Image shortcode allows you to easily pull an image out into the margin of the page.
Example Usage:
[pull-image align="left"]][[/pull-image]
Attributes
align– The (required) direction the image should be pulled. left or right.
Introduction
Easily set an introduction paragraph.
Example Usage:
[intro]]Lorem Ipsum...[[/intro]
Attributes
- There are no attributes
User Submit
Create a form where users can submit their own content. Recommended for using on a page.
Example Usage:
[user-submit type="resource"]
Attributes
type– The (required) type of content to be submitted. resource|question|documentation
[[/pull-image]