Custom portfolio theme for Coconella. Black & white editorial aesthetic with FF Cocon display typography.
Copy the coconella/ folder to:
/wp-content/themes/coconella/
Then activate it in Appearance → Themes.
Install these before configuring:
| Plugin | Purpose | Link |
|---|---|---|
| Advanced Custom Fields (ACF) | Project fields, homepage content | wordpress.org/plugins/advanced-custom-fields |
| WP Mail SMTP | Contact form email delivery | wordpress.org/plugins/wp-mail-smtp |
| Yoast SEO | SEO meta tags | wordpress.org/plugins/wordpress-seo |
Note: Custom Post Type UI is NOT needed — the
projectCPT is registered infunctions.php.
Place your licensed webfont files in /assets/fonts/:
assets/fonts/
├── FFCocon-Regular.woff2
├── FFCocon-Regular.woff
└── FFCocon-Bold.woff2
Then add to the top of style.css:
@font-face {
font-family: 'FF Cocon';
src: url('assets/fonts/FFCocon-Regular.woff2') format('woff2'),
url('assets/fonts/FFCocon-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'FF Cocon';
src: url('assets/fonts/FFCocon-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}Purchase FF Cocon webfont license: https://www.myfonts.com/collections/ff-cocon-font-fontfont
In Pages → Add New, create these pages with the correct templates:
| Page Title | Template / Slug |
|---|---|
| Home | Set as Front Page (Reading Settings) |
| Work | Uses archive-project.php automatically |
| About | Assign page-about.php template |
| Contact | Assign page-contact.php template |
Go to the Home page in wp-admin and fill in:
- Hero headline, subtext, CTA label
- Hero images (main + secondary)
- About heading, text, image
- Marquee / client names
- Testimonial quote + author
- CTA prompt text
Go to Projects → Add New and fill in:
- Title, featured image, content (description)
- Project Details: subtitle, year, client, services, URL, gallery
- Check Feature on Homepage for projects to show in the homepage grid
- Assign Project Categories (e.g. Branding, Web, Illustration)
Go to Appearance → Menus and set the Primary menu if you want custom navigation order.
coconella/
├── style.css # Design tokens + all styles
├── functions.php # Theme setup, CPT, ACF, AJAX
├── header.php # Site header + mobile nav
├── footer.php # Site footer
├── index.php # Fallback template
├── front-page.php # Homepage
├── archive-project.php # Portfolio grid (/work)
├── single-project.php # Case study template
├── page-about.php # About page
├── page-contact.php # Contact page
├── assets/
│ ├── js/main.js # Scroll reveal, mobile nav, filters, contact form
│ └── fonts/ # ← Place FF Cocon files here
└── acf-json/ # ACF field group JSON (auto-created, commit this)
- Colors: Edit CSS variables in the
:rootblock at the top ofstyle.css - Scallop border: The SVG path in
front-page.php(About section) can be adjusted for tighter/looser waves - Marquee speed: Change
animation: marquee 20sduration instyle.css - Project grid layout: The first featured project spans 2 columns — reorder projects via menu_order in wp-admin
The /acf-json/ folder is auto-created when you first save a field group via the ACF UI. Commit this folder to version control so field group definitions stay in sync across environments.