Getting started
Thank you for choosing Avenra. This guide takes you from upload to a finished site: install the theme, import a demo, then change the text, images, colors and layout without a page builder.
Requirements
| Item | Minimum | Recommended |
|---|---|---|
| WordPress | 6.0 | Latest (tested up to 7.1) |
| PHP | 7.4 | 8.1 or newer, with the GD or Imagick extension |
| PHP memory limit | 128 MB | 256 MB |
| Max upload size | 8 MB | 32 MB |
What is in your download
| File / folder | Use it for |
|---|---|
avenra.zip | The theme. Upload this in WordPress. The Avenra Core plugin is inside it. |
avenra-child.zip | Optional child theme for your own CSS and PHP. |
documentation/ | An offline copy of this guide. |
licensing/ | GPL license and third-party credits. |
Upload avenra.zip, not the whole download. If you upload the outer zip, WordPress says “The package could not be installed. The theme is missing the style.css stylesheet.”
Install the theme
- Unzip the file you downloaded.
- In WordPress go to Appearance → Themes → Add New → Upload Theme.
- Choose
avenra.zip, click Install Now, then Activate. - Optional: upload and activate
avenra-child.zipthe same way (Avenra must stay installed).
Prefer FTP? Unzip avenra.zip and upload the avenra folder to wp-content/themes/.
After activation, Appearance → Avenra opens the welcome page. It shows which plugins are active, links to every setup step and a system status report you can copy when you ask for support.
Plugins
After activation a notice offers the plugins. Click Begin installing plugins (or go to Appearance → Install Plugins), select all, choose Install, then Activate.
| Plugin | Status | What it adds |
|---|---|---|
| Avenra Core | Required (bundled) | Services, team, testimonials, properties, page sections, blocks, forms, cookie notice, privacy tools and the demo importer. Your content stays if you ever switch themes. |
| Redux Framework | Recommended (free) | The Avenra Options panel. Without it the theme uses safe defaults. |
| Secure Custom Fields | Recommended (free) | The “Page sections” editor used by every demo page. Advanced Custom Fields works too. |
Import a demo
- Activate the three plugins above.
- Go to Appearance → Import Demo. A quick server check runs first and tells you if anything (memory, upload size) needs attention.
- Click Preview to look at a demo, then Import on the one you want and confirm.
- Wait for the progress bar to reach “Done” (usually under a minute), then click View site.
Each demo adds eight pages (Home, About us, Services, Our team, Pricing, FAQ, Blog and Contact) with their page sections, six services, four team members, six testimonials, three blog posts, the main menu (with a mega menu) and the footer menu. It also sets Avenra Options, the header and footer style, the site title and the front page.
Safe to run again. Importing the same demo twice updates the same items instead of creating copies. Your own posts and pages are never deleted. To undo, click Remove on the demo card: its content goes to the trash and its menus and placeholder images are deleted.
Importing another demo replaces Avenra Options, menu locations and the front page with that demo’s. Export your options first (Avenra Options → Import / Export) if you have changed them.
The ten demos
| Demo | Look | Header / footer | Form |
|---|---|---|---|
| Plumbing (FlowPro) | Blue and orange, bold, emergency top bar | Style 4 / Style 2 | Booking |
| Business Consulting (Northbridge) | Green and gold, serif headings, transparent header | Style 6 / Style 4 | Contact |
| Cleaning (Sparkle & Co) | Teal and yellow, pill buttons | Style 1 / Style 3 | Booking |
| Electrician (VoltPoint) | Orange on dark, uppercase headings | Style 4 / Style 4 | Booking |
| Dental Clinic (BrightSmile) | Soft blue and mint | Style 3 / Style 1 | Booking |
| Law Firm (Hartwell & Reed) | Burgundy and gold, serif italics | Style 2 / Style 4 | Contact |
| Salon & Spa (Lumière) | Blush, serif, airy spacing | Style 5 / Style 3 | Booking |
| Fitness & Gym (IronPulse) | Red and lime on dark, condensed headings | Style 1 / Style 5 | Booking |
| Auto Repair (Gearline) | Red and charcoal, newsletter footer | Style 4 / Style 2 | Booking |
| Creative Agency (Studio Nova) | Violet and pink, floating header | Style 6 / Style 4 | Contact |
Every look is made of settings, not code: you can turn the Cleaning demo into a dark, square-button site in a minute from Avenra Options.
Page sections
Demo pages are built from sections you edit in a simple form: no page builder, no shortcodes.
- Open a page in Pages. In the sidebar, set Template to Home / Landing.
- Scroll to the Page sections box below the editor.
- Click Add section, pick a type and fill in the fields. Drag the handle to reorder, use the arrow to collapse and the × to remove.
- Click Update.
| Section | Shows |
|---|---|
| Hero slider | The slides from Avenra Options → Hero Slider. Choose H1 for the first section of a page. |
| Icon boxes / steps | Cards, plain boxes, numbered steps or a compact strip (can overlap the slider). |
| Image + text | Two images, a badge number, text, a checklist and two buttons. “Reverse” swaps sides. |
| Services grid | Services from one category as icon cards, photo cards or a minimal list. |
| Numbers | Animated counters, full width or beside a title. |
| Pricing plans | Up to four plans; mark one as featured. |
| Testimonials | Reviews from one group, as a grid or a slider. |
| Team | Team members from one department. |
| FAQ | Questions and answers as an accordion. |
| Call to action | Title, text, background image and two buttons. |
| Logo row | Client or partner logos. |
| Latest posts | Recent posts from a category. |
| Contact / booking | Contact details plus the contact, booking or inquiry form. |
| Free text | Any text, headings and links. |
Every section has a Small label, Title, Intro text and Background (Page, Soft, Dark or Brand). Wrap a word in the title with <em>…</em> to color it with the accent color.
Title bar: pages using this template have no page title bar unless you set Page layout (Avenra) → Title bar → Show (the demo inner pages do).
Avenra Options
Open Avenra Options in the admin menu (needs Redux Framework). Every option has a default, so you only change what you need.
| Panel | What you set there |
|---|---|
| General | Container width, corner radius, breadcrumbs, back-to-top button. |
| Header | Sticky header, search, call-to-action button, top bar text, phone and email, mobile action bar (Call, WhatsApp, main button). |
| Hero Slider | Slides and slider behaviour (see Hero slider). |
| Footer | Widget columns, about text, newsletter band, call-to-action title, address, opening hours, copyright ({year} and {site} are replaced automatically). |
| Typography | Heading and body fonts, weights, base size, Google Fonts on/off. |
| Colors | Primary, secondary, accent, heading, text, background, surface and border colors. |
| Appearance | Light/dark/auto, visitor switch, dark colors, button shape, heading style, section spacing. |
| Blog | Blog layout, sidebar, excerpt, post meta, author box, share buttons, related posts. |
| Content types | Turn properties, services, team and testimonials on or off; change their URL slugs. |
| Social | Profile links and where icons appear (see Social icons). |
| Performance | Scroll animations, Google Fonts preconnect. |
| Custom code | Custom CSS and code for the head or footer (analytics). |
| Cookie Notice | Added by Avenra Core (see Cookie notice). |
| Import / Export | Back up your options or move them to another site. |
After changing URL slugs, visit Settings → Permalinks and click Save once.
Header, footer & layout
Go to Appearance → Customize → Avenra: Layout. Changes show live.
- Header: six styles (classic; centered logo with menu below; split menu with the logo in the middle; top bar + classic; minimal with an off-canvas menu; boxed floating), and “transparent header over the page hero”.
- Footer: five styles (four widget columns + bottom bar; newsletter band + columns; centered minimal; big call to action + columns; compact single row).
- Pages: default layout (no sidebar, left or right sidebar).
- Logo and the light logo for transparent headers are in Customize → Site Identity.
Any page can override header, footer, layout, title bar and transparent header in the Page layout (Avenra) box in the editor sidebar.
Footer columns: add widgets in Appearance → Widgets → Footer column 1–4. Empty columns fill themselves: logo, about and social icons; the footer menu; your services; contact details from Avenra Options.
Menus & mega menu
Create menus in Appearance → Menus and assign them to the locations: Primary, Primary left side (split header), Top bar, Footer bottom and Mobile (optional).
Make a mega menu
- Add a top-level item (for example “Services”).
- Add second-level items under it: each one becomes a column heading.
- Add third-level items under each heading: these are the links.
- Open the top-level item and tick Mega menu; choose 2–5 columns. Optionally pick a widget area to show as the last column.
On any item you can add an icon name (for example phone), a badge (“New”) or a column image URL.
Hero slider
Avenra Options → Hero Slider. Add slides with a background image (1920×1080), small label, title, text and up to two buttons. Settings: fade or slide effect, left or centered text, height, overlay darkness, autoplay and delay, arrows, dots, slow zoom, and “also show above the front page”.
Show it on a page with the Hero slider page section. Visitors can pause it, swipe it and use the arrow keys; it does not autoplay for people who prefer reduced motion.
Light & dark mode
Avenra Options → Appearance: choose Light, Dark or Auto (follows the visitor’s device). Turn on Light/dark switch in the header to let visitors choose; their choice is remembered. Dark colors are set in the same panel.
Social icons
Avenra Options → Social: paste profile URLs (Facebook, Instagram, X, LinkedIn, YouTube, TikTok, Pinterest, WhatsApp). Empty fields are hidden. Choose where icons appear (top bar, header, mobile menu, footer) and their style.
Cookie notice
Avenra Options → Cookie Notice: turn it on, write the title and text, set button labels, pick bar, box or modal, its position and light, dark or brand colors, and link your privacy policy. The choice is stored for the number of days you set.
To load analytics only after consent, put this in Custom code → footer:
<script>
document.addEventListener('avenra:cookie-consent', function (e) {
if (e.detail === 'accepted') { /* load your analytics here */ }
});
</script>
Services, team, testimonials
| Menu | Fields | Grouped by |
|---|---|---|
| Services | Icon, short description, price from, plan label, button text and link, FAQ, featured image | Service categories |
| Team | Role, phone, email, social links, photo | Departments |
| Testimonials | Client name, role / company, rating, photo | Groups |
| Properties | Price, beds, baths, area, address and map, gallery, video, floor plans, features, agent | Type, location, status, features |
Page sections and blocks pick a category, department or group, so each demo shows only its own items. To change the order, set the Order field in the item’s Page attributes.
Forms & email
Forms (contact, booking, property inquiry) are part of Avenra Core. Use them in the Contact page section, the Contact Form block, or the shortcode:
[avenra_form type="booking" title="Request a visit"]
Settings → Avenra Core: the email that receives messages, saving messages under Form messages, rate limit, currency and map provider.
Spam protection is built in (nonce, hidden honeypot field, time check, rate limit). If emails do not arrive, install an SMTP plugin; many hosts block PHP mail.
Privacy tools
Avenra Core adds suggested text to Settings → Privacy → Policy guide, includes saved form messages in WordPress’s personal data export and erase tools (Tools → Export / Erase Personal Data), and can delete old messages automatically after the number of days you choose in Settings → Avenra Core.
Blocks & patterns
In the block editor, the Avenra category holds 12 blocks: Hero, Hero Slider, Features / Icon Boxes, Services Grid, Team Grid, Testimonials, Pricing Table, Stats Counter, Call to Action, Contact Form, Property Grid and Property Search. Block patterns for the demos are in the inserter’s Patterns tab, under the Avenra categories. Use them on pages that use a regular template.
Replacing demo images
Demo images are neutral placeholders named img1, img2 … (their title and alt text show the name). Each demo uses the same set of slots:
| Slot | Size (px) | Replace it in |
|---|---|---|
| 3 slider images | 1920×1080 | Avenra Options → Hero Slider |
| About image + small image | 900×1100, 600×600 | Home/About page → Page sections → Image + text |
| 6 service photos | 1200×800 | Services → each service → Featured image |
| Call-to-action background | 1920×900 | Page sections → Call to action |
| 4 team portraits | 800×1000 | Team → each member → Featured image |
| Client photos | 300×300 | Testimonials → each → Featured image |
| 3 blog images | 1200×800 | Posts → each post → Featured image |
Use photos you own or have a license for. Larger photos are scaled down automatically; keep the same shape (wide, portrait or square) for the best fit.
Child theme
Install avenra-child.zip if you plan to change template files or add PHP. Put CSS in its style.css and PHP in its functions.php. To change a template, copy the file from avenra/ into avenra-child/ at the same path and edit the copy. Avenra Core templates (cards, single service …) go in avenra-child/avenra-core/.
Small CSS changes do not need a child theme: use Avenra Options → Custom code → Custom CSS.
Translation & RTL
All text is translation-ready. Templates: avenra/languages/avenra.pot and avenra-core/languages/avenra-core.pot. Translate with the free Loco Translate plugin or Poedit, and save as avenra-xx_XX.mo (theme) and avenra-core-xx_XX.mo (plugin) in the same languages folders, or in wp-content/languages/themes/ and /plugins/ so updates keep them.
Right-to-left languages (Arabic, Hebrew, Persian …) work automatically: the layout uses logical CSS properties and rtl.css loads when the site language is RTL.
For developers
- Hooks:
avenra/docs/HOOKS.mdlists every action and filter of the theme and Avenra Core, with examples. - Where each setting is stored:
avenra/docs/SETTINGS-MAP.md. - Read settings with
avenra_get_option( 'key' ),avenra_get_mod( 'key' )andavenra_page_setting( 'key', $fallback ). - Block sources are in
avenra-core/blocks/src; runnpm installandnpm run buildinavenra-coreto rebuild. - Preview any demo on one site with
?avr_demo=slug(administrators; open it to visitors with theavenra_core_public_demo_switchfilter).
Troubleshooting
“The package could not be installed … missing the style.css stylesheet”
You uploaded the full download. Unzip it and upload avenra.zip.
The import stops or times out
Reload Appearance → Import Demo and click Import again; finished steps are skipped quickly. If it keeps stopping, raise the PHP memory limit to 256 MB and max execution time to 120 seconds (ask your host).
Pages look empty after import
Activate Secure Custom Fields (or ACF), then import the demo again.
“Avenra Options” is missing
Install and activate Redux Framework from Appearance → Install Plugins.
Service or team links show “Page not found”
Go to Settings → Permalinks and click Save.
Images look blurry or uploads fail
Ask your host to enable the PHP GD or Imagick extension, then regenerate thumbnails (for example with the Regenerate Thumbnails plugin).
Contact form emails do not arrive
Install an SMTP plugin (for example WP Mail SMTP) and connect your email provider. Turn on “Save messages” in Settings → Avenra Core so nothing is lost.
Support & updates
Bought on codemartwithsagar.com: send a request from the Support page with your order number (CM-…) or Razorpay payment ID. Bought on a marketplace: use the support option on the item page where you bought it.
Please include your WordPress and PHP versions (copy the system status report from Appearance → Avenra) and a link to the page. Support covers questions about the theme’s features and bugs; custom work is not included.
Updates: upload the new avenra.zip in Appearance → Themes → Add New → Upload Theme; WordPress offers to replace the current version. Your options, content and child theme are kept.
Credits
- TGM Plugin Activation 2.6.1 — GPLv2 or later.
- Leaflet 1.9.4 (maps, in Avenra Core) — BSD 2-Clause. Map data © OpenStreetMap contributors.
- Google Fonts — SIL Open Font License 1.1 / Apache 2.0, loaded from Google when enabled.
- Icons, screenshot and placeholder images — created for Avenra, GPLv2 or later. Demo preview photos are not included in the download.
Still stuck?
Send us your question with your order number and we will help.