# Bethany (Full Production) WordPress Theme

This ZIP contains a deploy-ready WordPress theme for **Bethany Church of the Nazarene**.

## What’s included
- Sticky header w/ centered logo + mobile menu
- Site-wide top contact bar + footer (phone, email, website)
- 100-year celebration banner
- Pages: Home, About, Contact, Events (The Events Calendar support), Give (Tithe.ly), Leadership (cards), Sermons (YouTube), Next Steps, Sunday Service template, Prayer Wall (moderated), Membership Class, Serve/Volunteer, Ministries (Children/Ladies/Men)
- Custom Post Types:
  - **Leadership Team** (`bethany_leader`)
  - **Prayer Requests** (`bethany_prayer`) - submitted as *Draft* for moderation, publish to display
  - **Form Submissions** (`bethany_submission`) - stores contact/connect/attendance/volunteer/membership submissions
- Built-in form handling with:
  - Nonce security
  - Honeypot spam field
  - Email notifications to **Bethanynazchurch@gmail.com**
  - Storage in WP Admin for record-keeping

> Note on YouTube: auto-live embed requires your YouTube **Channel ID** (not @handle). The theme includes a shortcode that can be updated once you have the Channel ID.

---

## Step-by-step install (WordPress Admin)
1. Download and upload the theme ZIP in **Appearance → Themes → Add New → Upload Theme**
2. Activate **Bethany**
3. Go to **Appearance → Customize → Site Identity** and upload the church logo (or place `bethany-logo.jpg` in `assets/images/`)
4. Create a menu in **Appearance → Menus** and assign it to **Primary Menu**

### Create pages (Pages → Add New)
Create each page with these slugs (exact):
- Home (set as Front Page) — `/`
- About Us — `/about-us`
- Contact Us — `/contact-us`
- Events — `/events`
- Give — `/give`
- Leadership — `/leadership`
- Sermons — `/sermons`
- Next Steps — `/next-steps`
- Sunday — `/sunday`
- Prayer Requests — `/prayer-requests`
- Membership Class — `/membership-class`
- Serve — `/serve`
- Children’s Ministry — `/childrens-ministry`
- Ladies Ministry — `/ladies-ministry`
- Men’s Ministry — `/mens-ministry`

**Assign template:** when editing each page, in the right sidebar choose **Template** that matches the page (e.g., “About Us”, “Sunday Worship Service”, etc.)

5. Set the homepage: **Settings → Reading → Your homepage displays → A static page** → choose your Home page.

---

## Calendar integration (recommended)
Install **The Events Calendar** plugin:
- Plugins → Add New → search “The Events Calendar” → Install → Activate
- The theme’s Events page will automatically display the calendar if the plugin is present.

---

## Leadership setup
- WP Admin → **Leadership Team** → Add New
- Title: Person name (e.g., Genie)
- Content: Role (e.g., Education Head) + optional bio
- Featured Image: Upload photo (or it will use a placeholder)
- Custom field `email` (optional): email address

---

## Prayer Wall moderation workflow
- Prayer Requests page collects submissions and saves them as **Draft** Prayer Request posts.
- Admin reviews in WP Admin → **Prayer Requests**
- Publish approved requests to display on the Prayer Wall.

---

## Form submissions
All form submissions are stored in WP Admin → **Form Submissions** and emailed to:
**Bethanynazchurch@gmail.com**

---

## Optional: Add YouTube Channel ID for live embed
In `functions.php`, use shortcode like:
`[bethany_youtube_live channel_id="YOUR_CHANNEL_ID" height="520"]`

---

## Support
If you want the theme packaged as a full **Block Theme (FSE)** or wired to **Planning Center** embed URLs, this theme is ready for that next step.
