Skip to main content

Custom Templates & Block Patterns

Version FSE Updated

Purpose

This page documents the block templates and patterns that drive the visual representation of rental listings, search results, and vendor management interfaces.

Core Templates (/templates) — 10 Total

These HTML templates define the base structural layout for specific post types and views:

TemplateFileDescription
Homepagefront-page.htmlSite homepage layout.
General Pagepage.htmlcontent-wide layout for standard WordPress pages.
Single Vehiclesingle-vehicle.htmlSingle vehicle listing page layout.
Vehicle Archivearchive-vehicle.htmlSearch results and general vehicle archive.
Account Pagepage-account.htmlUnified shell for the Vendor Dashboard.
404 Page404.htmlCustom error page for not-found content.
General Archivearchive.htmlDefault archive template.
Main Indexindex.htmlWordPress default fallback template.
Searchsearch.htmlWordPress search results page.
Single Postsingle.htmlStandard blog post template.

Vehicle Archive Layout (archive-vehicle.html)

┌──────────────────────────────────────────┐
│ [Header Part] │
├──────────────────────────────────────────┤
│ [Search Hero Pattern] │
├───────────────────┬──────────────────────┤
│ │ │
│ [Filter Block] │ [Results Grid] │
│ (Collapsible on │ (3-column card) │
│ Mobile) │ │
│ │ │
├───────────────────┴──────────────────────┤
│ [Footer Part] │
└──────────────────────────────────────────┘

Block Patterns (/patterns) — 31 Total

Block patterns are pre-configured Gutenberg block assemblies registered under the rentiva category. v0.3.0 reaches 31 patterns:

Homepage Patterns

PatternFileDescription
Herohomepage-hero.phpHomepage hero section.
Search Herorentiva-search-hero.phpProminent search with location/date inputs.
Trust Striphomepage-trust-strip.phpTrusted brand logos.
How It Workshomepage-how-it-works.phpStep-by-step usage guide.
Serviceshomepage-services.phpService introduction section.
Info Gridhomepage-info-grid.phpInformation card grid.
Featured Vehicleshomepage-featured-vehicles.phpVehicle showcase section on the homepage.
Booking CTAhomepage-booking-cta.phpBooking call-to-action.
Testimonialshomepage-testimonials.phpCustomer reviews section.

Page Patterns

PatternFileDescription
About Usrentiva-about-page.phpAbout page content.
Contactrentiva-contact-page.phpContact page form.
FAQrentiva-faq-page.phpFrequently asked questions.
Privacyrentiva-privacy-page.phpPrivacy policy.
Termsrentiva-terms-page.phpTerms of use.
Vendor Applyrentiva-vendor-apply-page.phpVendor application page.

Component Patterns

PatternFileDescription
Account Shellrentiva-account-shell.phpVendor dashboard main container.
Vehicle Detailsrentiva-vehicle-details.phpSingle vehicle information grid.
Vehicles Gridrentiva-vehicles-grid-section.phpVehicle card grid.
Featured Vehiclesrentiva-featured-vehicles-section.phpFeatured vehicles section.
Vehicle Comparisonrentiva-vehicle-comparison-page.phpVehicle comparison page.
Vehicle Reviewsrentiva-vehicle-reviews.phpVehicle rating reviews.
Search Resultsrentiva-search-results.phpSearch results layout.
Transfer Searchrentiva-transfer-search.php / rentiva-transfer-search-page.phpTransfer search form and page.
Transfer Resultsrentiva-transfer-results.php / rentiva-transfer-results-page.phpTransfer results layout.
Brandsrentiva-brands.phpVehicle brands section.
Primary CTArentiva-primary-cta.phpGeneral call-to-action.
Booking CTArentiva-booking-cta.phpBooking call-to-action.
Trusted Teamsrentiva-trusted-teams.phpTrusted business partners.
404 Content404-content.php404 page content.

Responsive Design Implementation

The theme uses a "Fluid Typography and Spacing" approach:

/* theme.json - Fluid Header font size example */
"fontSizes": [
{
"slug": "xx-large",
"size": "clamp(2rem, 4vw, 3rem)",
"name": "XX Large"
}
]

Mobile-First Grid System:

  • All patterns are designed using CSS Grid or Flexbox.
  • The Results Grid pattern uses repeat(auto-fill, minmax(300px, 1fr)) for automatic column adjustment.

How to Customize Templates

Since this is an FSE theme, templates can be overridden in the WordPress Site Editor:

  1. Navigate to Appearance → Editor → Templates.
  2. Select the template (e.g., Single Vehicle).
  3. Add, remove, or reorder blocks as needed.
  4. Publish: Your changes are saved to the database, leaving the theme files intact.

Overriding via Child Theme (Optional)

If you prefer file-based customization, you can create a child theme and place your HTML templates in the same folder structure.


Changelog

DateVersionNote
23.04.2026v0.3.0English translation applied to Turkish sections.
27.03.2026v0.3.0Full template (10) and pattern (31) list updated.
09.03.20261.0.0-docsTemplates and patterns documentation created.