Overview
The VertiSub theme includes 10 custom page templates designed for specific content types. Each template is registered using WordPress’s Template Name header and can be assigned to pages through the WordPress admin.Available Templates
Home Template
File:templates/home-template.phpTemplate Name: Home
The main landing page template featuring banners, solutions section, projects showcase, and news feed.
Key Features
- Multi-slide banner carousel with navigation
- Solutions section with parallax scrolling
- Projects/works modal display
- News cards grid
- GSAP-powered scroll animations
Template Structure
ACF Field Groups Used
banners- Banner carousel slidessoluciones- Solutions/services sectionproyectos- Projects showcasenovedades- News section
JavaScript Functions
- Banner carousel with auto-rotation (6 second intervals)
- Project modal with navigation arrows
- GSAP scroll-triggered animations
- Smooth parallax effects
About Us Page
File:templates/about-us-page.phpTemplate Name: Nosotros
Comprehensive about page featuring company history, mission, vision, team, and contact information.
Sections
- Hero Section - Title, breadcrumb, description with image
- Solutions Section - Company overview with video
- Mission & Vision - Side-by-side display
- International Presence - Statistics with counter animations
- Clients Section - Client showcase with testimonials
- Philosophy Section - Company values and quotes
- Contact Section - Contact info and policy information
ACF Fields
Custom Post Types
clientes- Client logos and testimonials
Services Page
File:templates/services-page.phpTemplate Name: Servicios
Dynamic services page filtered by country with expandable service cards.
Features
- URL-based country filtering using slug
- Expandable service cards with media galleries
- WhatsApp contact integration
- Country-specific contact information display
Country Detection
Service Card Structure
- Featured image
- Service title and short description
- Expandable full description
- Media gallery (images, videos, embeds)
- WhatsApp contact button
Custom Post Types
servicios- Service entrieswhatsapp_button- WhatsApp configuration
Certifications Page
File:templates/certifications-page.phpTemplate Name: Certificaciones
Showcase certifications with clickable logos opening detailed modal views.
Features
- Horizontal scrolling certification carousel
- Modal with certification details
- Keyboard navigation (arrow keys, ESC)
- Navigation arrows for browsing
Modal Navigation
Custom Post Types
certificaciones- Certification entries with image and description
Courses Page
File:templates/courses-page.phpTemplate Name: Formaciones
Training and course catalog with expandable cards showing detailed curriculum.
Course Card Features
- Course thumbnail and title
- Expandable sections:
- Course modalities (online, in-person, hybrid)
- Training levels
- Course images carousel
- Testimonial videos carousel
- Call-to-action buttons (enroll, more info)
- Platform and official page links
ACF Meta Fields
Interactive Elements
Location Page
File:templates/location-page.phpTemplate Name: Ubicacion
Interactive map showing company locations worldwide.
Features
- Interactive world map (using amCharts or similar)
- Modal displaying country-specific contact details
- Loading indicator
- Click-to-view location information
Modal Content
- Country flag
- Office addresses
- Phone numbers
- Email addresses
- Contact person information
News Page
File:templates/news-page.phpTemplate Name: Noticias
News and blog post listing with card-based layout.
Features
- Grid layout for news cards
- Featured image for each post
- Excerpt with word limit (20 words)
- “Read More” link to full post
- AOS (Animate On Scroll) effects
Query Configuration
Works/Jobs Page
File:templates/works-page.phpTemplate Name: trabaja con nosotros
Job listings with advanced filtering and application functionality.
Features
- Search by title/description
- Filter by location
- Filter by experience level
- Expandable job details modal
- Email application with pre-filled template
Filter System
Job Card Data
Policies Page (Vertisub)
File:templates/policies-vertisub.phpTemplate Name: Politicas Vertisub
Company policies organized by country with expandable document sections.
Features
- Country flags with FlagCDN integration
- Expandable policy sections
- Document download links
- Hover animations and effects
Country Flag Generation
Document Structure
Privacy Policy Page
File:templates/privacity-page.phpTemplate Name: Politicas Privacidad
Comprehensive privacy policy with navigation and downloadable sections.
Sections
- Introduction
- Purpose (Objeto)
- Scope (Alcance)
- Definitions (Definiciones)
- Principles (Principios)
- Authorization (Autorización)
- Data Usage Purpose (Finalidad)
- User Rights (Derechos)
- Security (Seguridad)
- Contact Information
Navigation Menu
Common Template Features
ACF Helper Function
All templates use a custom ACF helper function:$field_name- ACF field name$options- Options page field (true/false)
Standard Template Components
Hero Section Pattern
Template Hierarchy
WordPress loads templates in this order:- Custom page template (if assigned)
page-{slug}.phppage-{id}.phppage.phpsingular.phpindex.php
Best Practices
Template Hooks
Common action hooks used in templates:wp_head()- Enqueues scripts/styles in<head>body_class()- Adds dynamic body classeslanguage_attributes()- Adds language attributes to<html>wp_footer()- Enqueues footer scripts
Related Documentation
Components
Reusable template components
Header & Footer
Theme header and footer files

