Skip to content

Documentation · v1.0.0

Avenra documentation

Everything you need to go from upload to a finished website: install, import a demo, then make it yours.

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

ItemMinimumRecommended
WordPress6.0Latest (tested up to 7.1)
PHP7.48.1 or newer, with the GD or Imagick extension
PHP memory limit128 MB256 MB
Max upload size8 MB32 MB

What is in your download

File / folderUse it for
avenra.zipThe theme. Upload this in WordPress. The Avenra Core plugin is inside it.
avenra-child.zipOptional 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

  1. Unzip the file you downloaded.
  2. In WordPress go to Appearance → Themes → Add New → Upload Theme.
  3. Choose avenra.zip, click Install Now, then Activate.
  4. Optional: upload and activate avenra-child.zip the 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.

PluginStatusWhat it adds
Avenra CoreRequired (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 FrameworkRecommended (free)The Avenra Options panel. Without it the theme uses safe defaults.
Secure Custom FieldsRecommended (free)The “Page sections” editor used by every demo page. Advanced Custom Fields works too.

Import a demo

  1. Activate the three plugins above.
  2. Go to Appearance → Import Demo. A quick server check runs first and tells you if anything (memory, upload size) needs attention.
  3. Click Preview to look at a demo, then Import on the one you want and confirm.
  4. 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

DemoLookHeader / footerForm
Plumbing (FlowPro)Blue and orange, bold, emergency top barStyle 4 / Style 2Booking
Business Consulting (Northbridge)Green and gold, serif headings, transparent headerStyle 6 / Style 4Contact
Cleaning (Sparkle & Co)Teal and yellow, pill buttonsStyle 1 / Style 3Booking
Electrician (VoltPoint)Orange on dark, uppercase headingsStyle 4 / Style 4Booking
Dental Clinic (BrightSmile)Soft blue and mintStyle 3 / Style 1Booking
Law Firm (Hartwell & Reed)Burgundy and gold, serif italicsStyle 2 / Style 4Contact
Salon & Spa (Lumière)Blush, serif, airy spacingStyle 5 / Style 3Booking
Fitness & Gym (IronPulse)Red and lime on dark, condensed headingsStyle 1 / Style 5Booking
Auto Repair (Gearline)Red and charcoal, newsletter footerStyle 4 / Style 2Booking
Creative Agency (Studio Nova)Violet and pink, floating headerStyle 6 / Style 4Contact

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.

  1. Open a page in Pages. In the sidebar, set Template to Home / Landing.
  2. Scroll to the Page sections box below the editor.
  3. 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.
  4. Click Update.
SectionShows
Hero sliderThe slides from Avenra Options → Hero Slider. Choose H1 for the first section of a page.
Icon boxes / stepsCards, plain boxes, numbered steps or a compact strip (can overlap the slider).
Image + textTwo images, a badge number, text, a checklist and two buttons. “Reverse” swaps sides.
Services gridServices from one category as icon cards, photo cards or a minimal list.
NumbersAnimated counters, full width or beside a title.
Pricing plansUp to four plans; mark one as featured.
TestimonialsReviews from one group, as a grid or a slider.
TeamTeam members from one department.
FAQQuestions and answers as an accordion.
Call to actionTitle, text, background image and two buttons.
Logo rowClient or partner logos.
Latest postsRecent posts from a category.
Contact / bookingContact details plus the contact, booking or inquiry form.
Free textAny 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.

PanelWhat you set there
GeneralContainer width, corner radius, breadcrumbs, back-to-top button.
HeaderSticky header, search, call-to-action button, top bar text, phone and email, mobile action bar (Call, WhatsApp, main button).
Hero SliderSlides and slider behaviour (see Hero slider).
FooterWidget columns, about text, newsletter band, call-to-action title, address, opening hours, copyright ({year} and {site} are replaced automatically).
TypographyHeading and body fonts, weights, base size, Google Fonts on/off.
ColorsPrimary, secondary, accent, heading, text, background, surface and border colors.
AppearanceLight/dark/auto, visitor switch, dark colors, button shape, heading style, section spacing.
BlogBlog layout, sidebar, excerpt, post meta, author box, share buttons, related posts.
Content typesTurn properties, services, team and testimonials on or off; change their URL slugs.
SocialProfile links and where icons appear (see Social icons).
PerformanceScroll animations, Google Fonts preconnect.
Custom codeCustom CSS and code for the head or footer (analytics).
Cookie NoticeAdded by Avenra Core (see Cookie notice).
Import / ExportBack 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.

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

  1. Add a top-level item (for example “Services”).
  2. Add second-level items under it: each one becomes a column heading.
  3. Add third-level items under each heading: these are the links.
  4. 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.

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

MenuFieldsGrouped by
ServicesIcon, short description, price from, plan label, button text and link, FAQ, featured imageService categories
TeamRole, phone, email, social links, photoDepartments
TestimonialsClient name, role / company, rating, photoGroups
PropertiesPrice, beds, baths, area, address and map, gallery, video, floor plans, features, agentType, 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:

SlotSize (px)Replace it in
3 slider images1920×1080Avenra Options → Hero Slider
About image + small image900×1100, 600×600Home/About page → Page sections → Image + text
6 service photos1200×800Services → each service → Featured image
Call-to-action background1920×900Page sections → Call to action
4 team portraits800×1000Team → each member → Featured image
Client photos300×300Testimonials → each → Featured image
3 blog images1200×800Posts → 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.md lists 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' ) and avenra_page_setting( 'key', $fallback ).
  • Block sources are in avenra-core/blocks/src; run npm install and npm run build in avenra-core to rebuild.
  • Preview any demo on one site with ?avr_demo=slug (administrators; open it to visitors with the avenra_core_public_demo_switch filter).

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.