This repository holds all the necessary files for the Theme & Plugins used at wptranslationday.org for our 4th event!
Please use the master
branch if you want to make any PRs. A website lead has to be contacted for the master to be synced to the site.
Our theme is a child-theme of TwentySeventeen. We're also making use of TGM Plugin Activation to require necessary plugns needed for the website to run smoothly. These are:
Front Page
The Front Page is divided into 5 Panels. It's template file is located at /template-parts/page/content-front-page.php
. When editing the Front Page you will see the custom fields that change each aspect of every panel those include:
- Enabled (on/off)
- Panel Anchor ID (to be used for menu # reference)
- Panel Image (the icon on the left side)
- Panel Background (the background image)
- Panel Heading (the title)
- Panel Text (the main text at the right side)
Note 1: The 4th panel also has a Countdown Date and a Countdown Finished Message so you can easily change the timer of the Front Page.
Note 2: You will also find the Event Date
custom field, this is used to calculate the automation on the Schedule page to show the current live Talk. Set it to the Events Date!
Note 3: You will also find the Maintenance Mode
custom field, this is used to easily put the website under maintenance for non logged in users.
The theme provides 4 Custom Post Types for Organizers, Speakers and Local Events. You will find a acf-export.json
file with all the fields needed for these CPTs inside the /assets/
folder that you can import into ACF.
It will also check if the necessary pages exist and if not they will be automatically created as The Team
for the Organizers, The Speakers
for the Speakers, Schedule
for the talks and Local Events
for the Local Events CPTs.
Organizers
This CPT is bound to the the-team
slug and it will be automatically loaded in the page-the-team.php
that is included with the theme. The information that we use is this:
- Organizer Name ( Post Title )
- Image ( upload a custom avatar )
- Username wp.org
- Username slack
- Facebook Profile URL
- Twitter Profile URL
- LinkedIn Profile URL
- Website URL
- Role
- Bio
- Order (this is used if custom ordering is needed on the front-end and the template file has to be adjusted as well)
Speakers
This CPT is bound to the the-speakers
slug and it will be automatically loaded in the page-the-speakers.php
that is included with the theme. The information that we use is this:
- Speaker Name ( Post Title )
- Image ( upload a custom avatar )
- Username wp.org
- Username slack
- Facebook Profile URL
- Twitter Profile URL
- LinkedIn Profile URL
- Website URL
- Talk Subject
- Bio
Local Events
This CPT is bound to the the-local-events
slug and it will be automatically loaded in the page-the-local-events.php
that is included with the theme. The information that we use is this:
- City
- Country / State
- Continent
- Locale
- Organizer Name
- Organizer Username wp.org
- Organizer Username slack
- Co-organizers
- UTC Start Time
- UTC End Time
- Announcement URL
- Interviewer
- Continent - Country/State - City (this field is used for sorting purposes do not edit it, it will be automatically populated)
Talks
This CPT is bound to the the-schedule
slug and it will be automatically loaded in the page-the-schedule.php
that is included with the theme. The information that we use is this:
- Title ( Post Title )
- Description
- Speaker ( in relation to Speakers )
- UTC Start Time
- Live or Pre-recorded
- Duration
- Target Audience
- Target Language
- Video URL
Forminator has an export / import feature for every form. You will find the necessary file for importing each form in /assets/
folder named after forminator-FORM.txt
. If you make any updates on the form please re-export so we can keep these files updated as well with the latest settings.
The form submissions will be kept within the database for easier handling as well.