Getting started
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
Unzip the file you downloaded from Codester (CodeMart-PetCore-v1.0.0.zip) on your computer. Inside you find:
| File / folder | Use it for |
|---|---|
petcore.zip | The theme. Upload this file in WordPress as it is. Do not unzip it. |
petcore-child.zip | Optional child theme for your own CSS and PHP. |
petcore-toolkit.zip | The PetCore Toolkit plugin. You normally do not need it: WordPress offers to install it after you activate the theme. Upload it in Plugins → Add New → Upload Plugin only if that offer fails. |
documentation/ | This guide (also linked from Appearance → PetCore). |
licensing/ | GPL license, your Codester license summary and third-party credits. |
README-FIRST.txt | The install steps in short. |
Install the theme
- Unzip
CodeMart-PetCore-v1.0.0.zip(the file you downloaded from Codester) on your computer. - In WordPress go to Appearance → Themes → Add New → Upload Theme.
- Choose
petcore.zipfrom the unzipped folder, click Install Now, then Activate. - Optional: upload and activate
petcore-child.zipthe same way (CodeMart PetCore must stay installed).
After activation, Appearance → PetCore opens the welcome page: plugin status, getting-started links and a system status report you can copy into a support request.
Prefer FTP? Unzip petcore.zip and upload the petcore folder to wp-content/themes/.
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 |
|---|---|---|
| PetCore Toolkit | Required (bundled) | Pets, services, team, testimonials, page sections, blocks, forms, cookie notice and the demo importer. Your content stays if you ever switch themes. |
| Redux Framework | Recommended (free) | The PetCore 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.
- Check the server pre-check at the top of the page (PHP memory, execution time, upload size). Fix anything marked red first.
- 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.
The importer adds eight pages (Home, About, Services, Team, Pricing, FAQ, Blog, Contact; plus a Pets page in the Pet Shop, Rescue, Cat Café and Aquarium demos) with their page sections, six services, six pets where the demo lists pets, four team members, six testimonials, three blog posts, the main menu (with a mega menu) and the footer menu. It also sets PetCore 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 PetCore Options, menu locations and the front page with that demo’s. Export your options first (PetCore Options → Import / Export) if you have changed them.
The ten demos
| Demo | Look | Header / footer | Form |
|---|---|---|---|
| 1 · Pet Shop & Supplies (Pawsome Market) | Bright, friendly store look | Style 1 / Style 2 | Contact |
| 2 · Veterinary Clinic (VetCare Plus) | Calm, trustworthy clinic | Style 4 / Style 5 | Booking |
| 3 · Pet Grooming Salon (Fluff & Fold) | Soft pastel salon with off-canvas menu, service menu with prices, before/after style sections and the new pet card footer. | Style 5 / Style 6 | Booking |
| 4 · Dog Training School (GoodBoy Academy) | Energetic, bold school look | Style 6 / Style 4 | Booking |
| 5 · Pet Boarding & Daycare (Happy Tails Lodge) | Warm countryside lodge | Style 2 / Style 6 | Booking |
| 6 · Animal Rescue & Adoption (Second Chance Paws) | Heart-warming rescue charity | Style 3 / Style 3 | Adoption enquiry |
| 7 · Dog Walking & Pet Sitting (Leash & Go) | Fresh, app-like local service | Style 6 / Style 1 | Booking |
| 8 · Pet Food & Treats Brand (Barkery Kitchen) | Appetising brand look with a transparent header, serif headings, stockist logos, subscription plans and newsletter footer. | Style 1 / Style 2 | Contact |
| 9 · Cat Care & Cat Café (Whisker Haven) | Cosy, calm cat-only look | Style 2 / Style 6 | Booking |
| 10 · Aquarium & Exotic Pets (Reef & Scale) | Deep-water dark mode look | Style 4 / Style 4 | Contact |
Every look is made of settings, not code: you can turn the Grooming demo into a dark, square-button site in a minute from PetCore 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 (blank canvas).
- Scroll to the Page sections box below the editor.
- Click Add section, pick a type, fill in the fields. Drag the handle to reorder, use the arrow to collapse, the × to remove.
- Click Update.
| Section | Shows |
|---|---|
| Hero slider | The slides from PetCore 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. |
| Hero (static) | A one-screen intro instead of the slider: text + photo (photo left or right), full photo, or centered; optional “Find a pet” search bar. Wrap words in <em> to highlight them. |
| Pets | Pets as cards (fee, age, gender, size), filtered by species and listing type, with an optional “Find a pet” search bar. |
| 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. |
| 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. |
| FAQ | Questions and answers as an accordion. |
| 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 (PetCore) → Title bar → Show (the demo About, Services and Contact pages do).
PetCore Options
Open PetCore 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, and the mobile action bar (Call, WhatsApp and main button on phones). |
| Hero Slider | Slides and slider behaviour (see section 10). |
| 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, decoration style (playful waves and paws, soft rounded panels, or clean straight lines), section spacing. |
| Blog | Blog layout, sidebar, excerpt, post meta, author box, share buttons, related posts. |
| Content types | Turn pets, services, team and testimonials on or off; change their URL slugs. |
| Social | Profile links and where icons appear (see section 12). |
| Performance | Scroll animations, Google Fonts preconnect. |
| Custom code | Custom CSS and code for the head or footer (analytics). |
| Cookie Notice | Added by PetCore Toolkit (see section 13). |
After changing URL slugs, visit Settings → Permalinks and click Save once.
Header, footer & layout
Go to Appearance → Customize → PetCore: 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: six styles (four widget columns + bottom bar; newsletter band + columns; light centered brand + three columns; big call to action + columns; contact strip + columns; pet card with a wave, opening hours and a call button).
- 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 (PetCore) 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 PetCore 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, 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
PetCore 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”. Prefer one fixed intro? Add a Hero (static) section at the top of the page instead of the Hero slider section.
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
PetCore 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
PetCore 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
PetCore 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('petcore:cookie-consent', function (e) {
if (e.detail === 'accepted') { /* load your analytics here */ }
});
</script>
Pets, services, team, reviews
| 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 |
| Pets | Adoption fee or price, listing (adopt, for sale, foster), age and age group, gender, size, weight, colour, health & personality notes, where to meet (address and map), gallery, video, caretaker, featured | Species, breed, adoption status, traits |
Every pet page shows its facts, story, health notes, gallery and an adoption enquiry form that names the pet. The Pets page (and the archive at /pet/) has a “Find a pet” search with species, breed, age, gender, size, listing type and maximum fee. A fee of 0 on an adoptable pet shows “Free to adopt”.
Page sections and blocks pick a category, department or group, so each demo shows only its own items. Drag order: set the Order field in the item’s Page attributes.
Forms & email
Forms (contact, booking with pet name and type, adoption enquiry) are part of PetCore Toolkit. Use them in the Contact page section, the Contact Form block, or the shortcode:
[petcore_form type="booking" title="Request a visit"]
Settings → PetCore Toolkit: 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.
Blocks & patterns
In the block editor, the CodeMart PetCore category holds 12 blocks: Hero, Hero Slider, Features / Icon Boxes, Services Grid, Team Grid, Testimonials, Pricing Table, Stats Counter, Call to Action, Contact Form, Pet Grid and Pet Search. Block patterns for the demos are in the inserter’s Patterns tab, under the PetCore categories. Use them on pages that use a regular template.
Replacing demo images
Demo images are neutral pet-themed placeholders (a paw on a soft background with “Your photo here”). Each image is named after its demo and slot, for example pet-shop-img1 or adoption-pet3 (search the Media Library for the demo name). Replace the file in that Media Library item, or pick a new image in the place listed below:
| Name | Size (px) | Used for | Replace it in |
|---|---|---|---|
| <demo>-img1 – img3 | 1920×1080 | Slider images | PetCore Options → Hero Slider |
| <demo>-img4, img5 | 900×1100, 600×600 | About image + small image | Home/About page → Page sections → Image + text |
| <demo>-img6 – img11 | 1200×800 | Six service photos | Services → each service → Featured image |
| <demo>-img12 | 1920×900 | Call-to-action background | Page sections → Call to action |
| <demo>-img13 – img16 | 800×1000 | Team portraits (shown in an arch) | Team → each member → Featured image |
| <demo>-img17 – img19 | 300×300 | Reviewer photos | Testimonials → each → Featured image |
| <demo>-img20 – img22 | 1200×800 | Blog images | Posts → each post → Featured image |
| <demo>-pet1 – pet6 | 1000×1000 | Pet photos (Pet Shop, Rescue, Cat Café, Aquarium) | Pets → each pet → Featured image (add more photos in Gallery) |
| <demo>-logo1 – logo6 | 360×140 PNG | Stockist logos (Pet Food demo) | Home page → Page sections → Logo row |
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 petcore-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 petcore/ into petcore-child/ at the same path and edit the copy. PetCore Toolkit templates (cards, single service …) go in petcore-child/petcore-toolkit/.
Small CSS changes do not need a child theme: use PetCore Options → Custom code → Custom CSS.
Translation & RTL
All text is translation-ready. Templates: petcore/languages/petcore.pot and petcore-toolkit/languages/petcore-toolkit.pot. Translate with the free Loco Translate plugin or Poedit, and save as petcore-xx_XX.mo (theme) and petcore-toolkit-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:
petcore/docs/HOOKS.mdlists every action and filter of the theme and PetCore Toolkit, with examples. - Where each setting is stored:
petcore/docs/SETTINGS-MAP.md. - Read settings with
petcore_get_option( 'key' ),petcore_get_mod( 'key' )andpetcore_page_setting( 'key', $fallback ). - Block sources are in
petcore-toolkit/blocks/src; runnpm installandnpm run buildinpetcore-toolkitto rebuild. - Preview any demo on one site with
?pcr_demo=slug(administrators; open it to visitors with thepetcore_tk_public_demo_switchfilter).
Troubleshooting
“The package could not be installed … missing the style.css stylesheet”
You uploaded a zip that is not the theme: usually the whole Codester download (CodeMart-PetCore-v1.0.0.zip) instead of petcore.zip inside it, a folder you zipped again yourself, or the child theme before the parent. Unzip the download and upload petcore.zip, or unzip petcore.zip and upload the petcore folder by FTP. If the upload is too large for your host, raise the max upload size to 32 MB.
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.
“PetCore 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).
Something else is wrong
Open Appearance → PetCore, copy the system status report and include it in your support request.
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 → PetCore Toolkit so nothing is lost.
Credits & support
- TGM Plugin Activation 2.6.1 — GPLv2 or later.
- Leaflet 1.9.4 (maps, in PetCore Toolkit) — 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 CodeMart PetCore, covered by your Codester license (see
licensing/README.txt). Photos on the live preview are not included in the download.
Support. Leave a message in the support section on the CodeMart PetCore item page on Codester (codester.com/samsagar). Support is included for 12 months after purchase, under Codester’s support policy. Please include your WordPress and PHP versions, a link to the page and the system status report from Appearance → PetCore. Support covers questions about the theme’s features and bug fixes; custom work is not included.
License. Your purchase includes a Codester Regular or Extended license; see licensing/README.txt and Codester’s license terms. The code is GPLv2 or later.
Updates. Download the new version from your purchases in your Codester account, unzip it, and upload petcore.zip again in Appearance → Themes → Add New → Upload Theme (WordPress offers to replace the current version). Your options, content and child theme are kept.
Still stuck?
Send us your question with your order number and we will help.