Overview
Services are implemented as a custom post type (servicios) that supports:
- Title and featured image
- Rich text editor for descriptions
- Multiple images, videos, and video URLs
- Country/region associations
Post Type Registration
The services post type is registered ininc/cpts/services.php:10-36:
Meta Fields
Services support the following custom meta fields:| Meta Key | Type | Description |
|---|---|---|
_imagenes_reseña | array | URLs of uploaded images |
_videos_reseña | array | URLs of uploaded video files |
_video_urls_reseña | array | External video URLs (YouTube/Vimeo) |
_servicio_paises | array | Associated country IDs |
Creating a Service
Basic Information
- Navigate to Servicios > Añadir Nuevo in the WordPress admin
- Enter the service title
- Add a detailed description using the editor
- Set a featured image (thumbnail)
Adding Multimedia
The Multimedia meta box provides three sections:Images
- Click + Agregar Imagen to add a new image field
- Click Subir to open the WordPress media library
- Select an image and click Usar esta imagen
- Repeat for multiple images
Video Files
- Click + Agregar Video to add a video file field
- Upload video files directly from your computer
- Supports standard video formats (MP4, WebM, etc.)
Video URLs
- Click + Agregar Link to add an external video URL field
- Paste YouTube or Vimeo URLs
- These are rendered as embedded players on the frontend
Associating Countries
The Países meta box (sidebar) allows you to associate services with specific countries:- Hold Ctrl (Windows) or Cmd (Mac) to select multiple countries
- Services can be filtered by country on the frontend
Saving Data
Data is automatically saved using WordPress hooks:Retrieving Service Data
Get Service Multimedia
Get Associated Countries
URL Structure
Services use a custom rewrite rule for country-filtered views:/servicios-vertisub/colombia/- Services available in Colombia/servicios-vertisub/mexico/- Services available in Mexico
Best Practices
- Image Optimization: Compress images before uploading to improve page load times
- Video Strategy: Use external URLs (YouTube/Vimeo) for long videos to save server bandwidth
- Country Association: Always associate services with relevant countries for proper filtering
- Descriptive Titles: Use clear, descriptive titles that explain the service offering
- Featured Images: Always set a featured image for consistent display in listings
Workflow Example
- Create a new service: “Underwater Welding Training”
- Add description explaining the training program
- Upload 3-5 images showing training facilities and equipment
- Add a YouTube URL with promotional video
- Associate with countries where training is available
- Set a featured image showing welding in action
- Publish and verify the service appears on the services page

