007AJ Askhaven

A questions and answers community theme for WordPress: topics, rich answers, votes, comments, follows, circles, paid expert questions and an optional supporter membership. Version 1.0.0

1. Install

  1. Go to Appearance > Themes > Add New > Upload Theme, choose askhaven-1.0.0.zip, click Install Now, then Activate.
  2. The Askhaven Engine plugin is bundled inside the theme. It installs and activates itself when you activate the theme, and every theme update brings the matching engine update. Nothing else to install.
  3. You land on Askhaven > Dashboard with your stats and a launch checklist.

Requirements: WordPress 6.5+, PHP 7.4+, the GD or Imagick image library and pretty permalinks (Set up my site turns them on).

2. Set up my site (one click)

Open Askhaven > Set up my site, pick a preset (General knowledge, Health and wellbeing, or Technology and careers) and click the button. It creates:

It is safe to run again: pages you edited are kept and sample content is never duplicated.

3. Questions

4. Answers, votes and comments

5. Feeds and search

6. Follows, circles, profiles and updates

7. Moderation and merging

8. Paid expert questions, earnings and withdrawals

  1. A member turns on Take paid questions under Earnings and sets a price (between your minimum and maximum).
  2. Askers press Ask privately on the expert's profile or on the Ask an expert page and pay by card through Stripe Checkout.
  3. The expert is notified and has the number of days you set to answer. Their answer is pinned above the others.
  4. When they answer, the payment minus your commission becomes an earning that is held for the hold period, then becomes available.
  5. Experts request a withdrawal (with their PayPal email or bank details). You pay them outside the site and press Mark paid under Askhaven > Withdrawals; declining returns the amount to their balance.
  6. If the expert misses the deadline, the question is marked late and shown under Questions > Paid: refund it in Stripe and the webhook cancels the earning.

You collect all payments in your own Stripe account and pay experts yourself. Check your local rules on paying people and taxes.

9. Supporter membership (optional)

Members can support the site with a one-time payment for 30 days or a year (edit the plans, the name and the discount in Settings). Supporters get a badge and a discount on paid questions. Set every plan price to 0 or remove the lines to hide it.

10. Stripe

  1. In Stripe go to Developers > API keys and copy the secret key (sk_test_… to test, sk_live_… when live). Paste it in Askhaven > Settings > Stripe, or define AH_STRIPE_SECRET in wp-config.php.
  2. Press Create Stripe webhook. It adds one webhook for this site (events checkout.session.completed and charge.refunded) and saves the signing secret. If your Stripe account already has the maximum number of webhooks, add it by hand with the URL shown, or rely on the built-in return check: payments are also confirmed when the buyer returns from Checkout.
  3. Test with card 4242 4242 4242 4242, any future date and any CVC.

11. Settings

SettingWhat it does
Site name, headline, preset, brand colourYour branding on every page.
Anyone can create an account / Review new questions / Allow anonymous questionsWho can join and how questions go live.
Commission, lowest and highest expert price, days to answer, hold period, minimum withdrawalPaid question rules.
Supporter name, plans and discountThe optional membership.
Max image size, rate limits, blocked words, refresh secondsUploads and safety.

Design: use Appearance > Editor to change fonts, colours and the header or footer templates.

12. Going live

  1. Work through the checklist on Askhaven > Dashboard.
  2. Edit the Community guidelines and Privacy pages for your site.
  3. Remove the sample content under Set up my site. Real members and orders are never touched.
  4. Switch Stripe to your live key and create the live webhook.

13. FAQ

Links show 404

Go to Settings > Permalinks and press Save once.

Images do not upload

Check Askhaven > System info: the image editor and the private files folder must both be OK.

A paid question stays "unpaid"

The asker closed Checkout before paying. Orders that were started but not paid are listed under Orders & revenue.

Updates

Upload the new theme zip over the old one. The bundled engine updates itself and your data stays.