Skip to content
Type something to search...
Taxo Theme Documentation

Contact, Subscription & Social

Taxo keeps contact, form, and social settings in three main places:

  • settings.contactInfo in config.toml
  • section frontmatter in src/content/sections/
  • social links in src/config/social.json

Main Contact Settings

[settings.contactInfo]
address = "75 Garuda., Maju, INA 789"
phone = "+000(123)556989"
mapLink = "https://www.google.com/maps?q=Brooklyn,New York&output=embed"

These values feed:

  • header phone blocks
  • offcanvas contact block
  • footer contact details
  • contact sections that use settingFieldName

Contact Section Mapping

contact-section-two.md uses settingFieldName to pull values from settings.contactInfo:

list:
- title: "Have any question?"
icon: "/images/icons/svg/phone-call.svg"
settingFieldName: "phone"
- title: "Write email"
icon: "/images/icons/svg/email.svg"
settingFieldName: "email"

That means you can change the visible contact details globally just by editing config.toml.

Contact Form Providers

[settings]
contactFormAction = "https://formsubmit.co/[email protected]"
contactFormProvider = "formsubmit.co"

Supported providers:

  • formsubmit.co
  • formspree
  • netlify

Contact Form Fields

The field structure lives in:

  • src/content/sections/english/contact-section.md
  • src/content/sections/english/contact-section-two.md

Example field:

- placeholder: "Email Address *"
name: "Email Address"
required: true
type: "email"
halfWidth: true

Taxo also supports:

  • textarea fields
  • standard selects
  • searchable selects
  • radio inputs
  • checkboxes
  • success/error notes

Mailchimp Subscription

[settings.subscription]
enable = true
title = ""
note = ""
formAction = "https://..."
mailchimpTagValue = ""

This controls the subscription form used in Footer 2.

{
"main": [
{
"enable": true,
"label": "Facebook",
"url": "https://www.facebook.com/yourbrand"
}
]
}

Taxo uses social links in multiple places:

  • Header 1 topbar uses the first 4 enabled links
  • Header offcanvas uses the first 4 enabled links
  • other social widgets can use the full list

Before You Go Live

Before going live:

  1. replace all placeholder phone, email, and map values
  2. replace the default form action URL
  3. test one real submission
  4. remove unused social networks by setting enable: false