Created: March, 10, 2013
By: Dameer DJ
Thank You for purchasing my theme! Hopefully you gonna enjoy as much as I have by creating it! If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here.
Be sure to read this documentaion carefully - including FAQs section and Tips - before asking for my assistance. I'm sure you'll be able to handle many "problems" quickly just by getting familiar with documentation.
Q-and-A is a simple and powerful question-and-answers-like WordPress theme. It doesn't really matter whether you are about to run specific niche Q-and-A site (like math, coding, marketing, etc.) or a simple questions and answers site relating to the product you sell, I'm sure you gonna find this theme extremely useful. Moreover, what you can end up with is a small or even large scale community site that binds people who share the same interest.
Both Questions and Answers are posted via theme's front-end which means site users will never reach the dashboard. By answering the question users collect reputation points. Of course, only if their answer is good enough! Otherwise the reputation could go down which is bad. Answer that gets accepted by the question author should bring the greatest score.
Everyone willing to participate in your Q-and-A site must be registered. Only the official site registrants can participate actively and maintain their profile page (password, age, location, bio, etc.)!
Theme's Options let site Admin(s) to upload site logo, favicon, change all the colors, font size and family (title, content, links), handle reputation points, customize main navigation, min and max number of chars relating to user inputs, etc. Literally, it's the matter of minutes to customize look and feel of the theme without any knowledge of CSS or HTML.
You've got a tool (I dare to say the real WordPress driven application), you've got an idea so mix all up into something cool. It's almost like having an oxydizer and charcoal dust :)
Before you decide to install and use this theme be sure that the following requirements are met:
1. Unzip archive downloaded from your Themeforest account to a local drive first. Take a look at inside of extracted folder and spot another archive "qanda.zip".
2. Now login into WordPress Admin and go to
Appearance > Themes >> Install Themes (tab) >>> Upload (sub-menu)
Browse to "qanda.zip" file, select and click Install Now.
3. Be sure to Activate theme immediately after successful installation.
4. From Dashboard select
Appearance > Theme Options
...do nothing but scroll down to the very bottom of the first options screen and hit "SAVE OPTIONS" button!
It's not a must to import demo site content! The advantage of doing so is to automatically create all the theme required Pages, menus, minimum of content and thus reduce the time required to continue.
You will find "qanda-demo.xml" file in "THEME_DEMO" folder (see your unzipped file). That file will be used to inflate WordPress database with dummy data that is partially used by theme's demo site.
Next, it is important to "confirm" Primary and Functional navigation!
From Dashboard select Appearance > Menus
... select Main Menu from Primary Navigation drop-down (Theme Locations panel) and Functional from Functional Navigation drop-down then hit "Save" button (see figure below). Third menu named "Footer Menu" doesn't require an explicit declaration, it'll be used in footer Widget.
There's a slight difference for those who have imported demo site and those who did not. If you count yourself into those who did, simply jump over the following 4 steps! Why? Because these pages were already created by the demo upload.
The theme uses its own Theme Options panel which you can access by navigating to Appearance > Theme Options. Feel free to play around with different settings and save those that fit best to your needs!
With this theme the usage of Shortcodes should be really easy because all of them are nicely integrated into text editor.
Whenever you click on certain shortcode button dialog box will be opened. Each dialog box contains message regarding usage so be sure to read before applying. All of input fields contained within dialog box are mandatory. Don't leave it empty otherwise shortcodes may not be interpreted properly (shortcode arguments will be missing!).
So far you should be familiar with how to use Custom Templates because you already created 4 so far; "Ask Question", "Edit Question", "Edit Answer" and "Edit Profile", remember? And if you did, you probably noticed there's more beside those four: "Contact Page" and "Full Width Page". So, it's quite easy, in case you need a ready-made contact form you'll use "Contact Page" while "Full Width Page" custom template should be used to add a page without sidebar.
Here's a short reminder on how to add any of these two...
From Dashboard select
Pages > Add New
...and right before you publish the page from "Page Attributes" panel select Template that you want to use.
From Dashboard select
Appearance > Widgets
You'll notice 9 Sidebars and 4 Footer columns that are widget-ready and can hold an unlimited number of widgets. It's up to you to decide how available Widgets will be shared accross sidebars or footer columns.
Icons used with this theme:
It looks like your hoster doesn't allow new database table to be created. You can try to login to the Control Panel - domain and hosting plan administration section - then find a link to phpMyAdmin. That online app allows you to manage your databases. Find database that is used by Q-and-A WP site and click to edit...
Please note that your database doesn't need to be called "PREFIX_qanda", I've chosen that name before installing Q-and-A theme.
Once you select database used by Q-and-A theme, spot the "SQL" tab on top of the tables list. Hit it to open "Run SQL query/queries" screen. Now copy and paste the following mySQL query into the text area:
CREATE TABLE PREFIX_user_activity ( id mediumint(9) NOT NULL AUTO_INCREMENT, user_id mediumint(9) NOT NULL, vote_pro_question text NOT NULL, vote_con_question text NOT NULL, vote_pro_answer text NOT NULL, vote_con_answer text NOT NULL, accepted_answers text NOT NULL, faves text NOT NULL, reputation mediumint(9) NOT NULL DEFAULT '0', PRIMARY KEY (id) )
Essentially there's no difference. All of them are considered as comments and written to the same database table. All of them can be managed from Dashboard > Comments.
According to Markdown creator John Gruber:
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
Everything else about Markdown can be found here!
It's quite obvious why it is used with this theme; it's clean, easy to read, write and learn.
Yes but there are things that you should be aware of...
Each new Question posted from the front-end contains meta-data that gets written to the Custom Field as a name-value pair. It means that you MUST enter all of them manually! Here they are:
You will have to create new Page for each type of sorting. From Dashboard select
Pages > Add New
...and then use "Insert Questions Shortcode" button. Shortcode dialog box allows you select appropriate filter according to which questions will be listed.
At the end you'll only have to put your new filter-page into one of existing menus.
Go to Settings > Permalinks and hit Save Changes button. This should flush rewrite rules.
Go to Appearance > Menus and select Main Menu from Primary Navigation drop-down (Theme Locations panel) then select Functional from Functional Navigation. Don't forget to Save Changes! You can use any other menu name for either "Main Menu" or "Functional".
Yes! Open "options.php" file for edit and go to line #66. Prepend, append or substitute new/existing font by following an existing array-like structure.
You'll need ".PO" file editor! POEdit is free, cross platform ready and simple to use. Your theme contains a subfolder named "languages" inside of which are two files: "en_EN.po" and "en_EN.mo".
Open "en_EN.po" for edit and translate everything. At the end save as "YOUR_LOCALE.po" while required (with POEdit) "YOUR_LOCALE.mo" will be rendered automatically.
You only have to ensure that "YOUR_LOCALE.mo" file resides inside "languages" folder of your theme!
What is "YOUR_LOCALE" supposed to be?
Have a look at "WordPress in Your Language" article at WP codex.
Once again, thank you so much for purchasing Q-and-A theme! As I said at the beginning, I'd be glad to help you if you have any questions. No guarantees, but I'll do my best to assist. If you have a more general question relating to my theme on Themeforest, you might consider visiting the forums and asking your question in the "Item Discussion" section.