Skip to content

Documentation · v1.0.0

PetCore documentation

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

Getting started

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

Unzip the file you downloaded from Codester (CodeMart-PetCore-v1.0.0.zip) on your computer. Inside you find:

File / folderUse it for
petcore.zipThe theme. Upload this file in WordPress as it is. Do not unzip it.
petcore-child.zipOptional child theme for your own CSS and PHP.
petcore-toolkit.zipThe 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.txtThe install steps in short.

Install the theme

  1. Unzip CodeMart-PetCore-v1.0.0.zip (the file you downloaded from Codester) on your computer.
  2. In WordPress go to Appearance → Themes → Add New → Upload Theme.
  3. Choose petcore.zip from the unzipped folder, click Install Now, then Activate.
  4. Optional: upload and activate petcore-child.zip the 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.

PluginStatusWhat it adds
PetCore ToolkitRequired (bundled)Pets, services, team, testimonials, page sections, blocks, forms, cookie notice and the demo importer. Your content stays if you ever switch themes.
Redux FrameworkRecommended (free)The PetCore 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.
  3. Check the server pre-check at the top of the page (PHP memory, execution time, upload size). Fix anything marked red first.
  4. Click Preview to look at a demo, then Import on the one you want and confirm.
  5. 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

DemoLookHeader / footerForm
1 · Pet Shop & Supplies (Pawsome Market)Bright, friendly store lookStyle 1 / Style 2Contact
2 · Veterinary Clinic (VetCare Plus)Calm, trustworthy clinicStyle 4 / Style 5Booking
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 6Booking
4 · Dog Training School (GoodBoy Academy)Energetic, bold school lookStyle 6 / Style 4Booking
5 · Pet Boarding & Daycare (Happy Tails Lodge)Warm countryside lodgeStyle 2 / Style 6Booking
6 · Animal Rescue & Adoption (Second Chance Paws)Heart-warming rescue charityStyle 3 / Style 3Adoption enquiry
7 · Dog Walking & Pet Sitting (Leash & Go)Fresh, app-like local serviceStyle 6 / Style 1Booking
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 2Contact
9 · Cat Care & Cat Café (Whisker Haven)Cosy, calm cat-only lookStyle 2 / Style 6Booking
10 · Aquarium & Exotic Pets (Reef & Scale)Deep-water dark mode lookStyle 4 / Style 4Contact

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.

  1. Open a page in Pages. In the sidebar, set Template to Home / Landing (blank canvas).
  2. Scroll to the Page sections box below the editor.
  3. Click Add section, pick a type, fill in the fields. Drag the handle to reorder, use the arrow to collapse, the × to remove.
  4. Click Update.
SectionShows
Hero sliderThe slides from PetCore 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.
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.
PetsPets as cards (fee, age, gender, size), filtered by species and listing type, with an optional “Find a pet” search bar.
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.
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.
FAQQuestions and answers as an accordion.
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 (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.

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, and the mobile action bar (Call, WhatsApp and main button on phones).
Hero SliderSlides and slider behaviour (see section 10).
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, decoration style (playful waves and paws, soft rounded panels, or clean straight lines), section spacing.
BlogBlog layout, sidebar, excerpt, post meta, author box, share buttons, related posts.
Content typesTurn pets, services, team and testimonials on or off; change their URL slugs.
SocialProfile links and where icons appear (see section 12).
PerformanceScroll animations, Google Fonts preconnect.
Custom codeCustom CSS and code for the head or footer (analytics).
Cookie NoticeAdded 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.

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

  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.
  5. 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.

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

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
PetsAdoption 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, featuredSpecies, 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:

NameSize (px)Used forReplace it in
<demo>-img1 – img31920×1080Slider imagesPetCore Options → Hero Slider
<demo>-img4, img5900×1100, 600×600About image + small imageHome/About page → Page sections → Image + text
<demo>-img6 – img111200×800Six service photosServices → each service → Featured image
<demo>-img121920×900Call-to-action backgroundPage sections → Call to action
<demo>-img13 – img16800×1000Team portraits (shown in an arch)Team → each member → Featured image
<demo>-img17 – img19300×300Reviewer photosTestimonials → each → Featured image
<demo>-img20 – img221200×800Blog imagesPosts → each post → Featured image
<demo>-pet1 – pet61000×1000Pet photos (Pet Shop, Rescue, Cat Café, Aquarium)Pets → each pet → Featured image (add more photos in Gallery)
<demo>-logo1 – logo6360×140 PNGStockist 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.md lists 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' ) and petcore_page_setting( 'key', $fallback ).
  • Block sources are in petcore-toolkit/blocks/src; run npm install and npm run build in petcore-toolkit to rebuild.
  • Preview any demo on one site with ?pcr_demo=slug (administrators; open it to visitors with the petcore_tk_public_demo_switch filter).

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.

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.