Skip to main content

Shortcode Usage

Usage​

[opshell_contact_form]

The production contact page is WordPress page 9462. The shortcode is placed inside the general-purpose contact page structure; it is not a complete page layout by itself.

Form Fields​

FieldName AttributeTypeRequired
Nameops_nametextYes
Emailops_emailemailYes
Request typeops_subjectselectYes
Website or server URLops_urlURLNo
Messageops_messagetextareaYes

The request-type options include Infrastructure Audit, WordPress Performance, VPS Security, Backup and Recovery, Migration, Managed Operations, and Other. The message should describe the context, request, and desired outcome. A website or server URL is useful when relevant but is optional.

Hidden Fields​

FieldName AttributePurpose
Honeypotops_hpBot detection (hidden via CSS + tabindex=-1)
Nonceopshell_contact_nonceCSRF protection
Turnstilecf-turnstile-responseCloudflare Turnstile token

Styling​

The form uses CSS classes:

  • .opshell-contact-panel — Container
  • .opshell-contact-form — Form element
  • .opshell-field — Field wrapper
  • .opshell-contact-submit — Submit button
  • .opshell-contact-success — Success message
  • .opshell-contact-error — Error message

The surrounding page uses .opshell-landing, .opshell-contact-page, .opshell-hero, .opshell-contact-layout, .opshell-contact-main, .opshell-section, and .opshell-contact-next. Child-theme CSS provides the terminal-style fields, green accent states, notices, and a one-column layout below 768px. Page-specific container reset rules target .page-id-9462. The public page does not expose a direct email address.