An accessible, responsive Wordpress theme created by the Floe Project. The theme features a static front page which displays a prominent description, and three content panels. The main navigation can display content landing pages, giving visitors a spot to orient themselves before diving deeper into the content.
http://bigidea.one is an example of a site using this theme.
This theme is still under development. We intend to make improvements over time to make the configuration and use of this theme easier. For example:
- Easier bundling of the UI Options plugin.
- Enable the theme admin page to set landing pages for categories.
- Easier customization.
Note: This theme requires Wordpress version 2.8 or later.
- Copy this theme into a sub-directory in your Wordpress
themes
directory. - Download and install the UI Options Wordpress plugin into your Wordpress
plugins
directory. Note: This plugin is required. - Activate the
a11y
theme.
Before configuring the website, have a general idea of how the information will be structured. For this documentation, we will use a fictitious "A1 Renovations" construction company as a model. Their website will have the following structure:
- Showcase
- Basements
- Kitchens
- Bathrooms
- Entertainment
- Services
- Design
- Home Inspections
- Renovations
- Design and Build
- Contact
- About
Based on the information structure above, we can create two categories: "Showcase", and "Services". Under these categories we can create individual posts like "Basements" and "Kitchens".
The a11y
theme has a feature which allows you to display a custom landing page for any category. This way, rather than the default Wordpress listing of posts, we can display some other meaningful content instead.
In the Wordpress Admin dashboard, go to Posts
> Categories
, and add the categories you need.
In our example, we will add the categories Showcase
and Services
.
To demonstrate how the category landing pages work, we will create some sample posts and an associate landing page.
Create some sample posts
- Create two new posts:
Kitchens
andBasements
. - Assign each of these new posts to the
Showcase
category.
Create the landing page
- Create another new post - this one will be the landing page for the
Showcase
category. - Give it a title that can be easily identified. This title will not be displayed, but used as a way to find it in the WP dashboard. In our example, we created:
Showcase landing page
. - Assign the landing page to the category it belongs to. i.e.
Showcase
. - Add a Custom Field called
is_landing_page
and give it a value oftrue
. Note, to enable Custom Fields, please visit Custom Fields on the Wordpress Codex. - Save your changes by selecting
Publish
. - Repeat steps 1 to 5 for every landing page you need.
Now if you view your site, it won't look much different. That's because the navigation hasn't been set up yet.
- In the Dashboard, go to
Appearance
>Menus
- Create a new menu. Give it a name and select
Create Menu
. - Under the
Categories
option in the chooser, select the categories you want to appear in the main navigation. In our example, chooseShowcase
. - Under
Display location
, selectPrimary Menu
. - Select
Save Menu
.
Now if you refresh the site, you should now see the navigation along the top. If you select your category, the landing page should appear along with the sub-pages listed in the sidebar navigation.
The site tagline and footer content can be customized with any text or HTML.
To customize the front page tagline or footer content, go to Settings
> a11y Theme Options
, then change the text fields Front Page Tagline
or Footer Text
.
Note: at this time, the configuration of the a11y
theme front page requires Administration privileges.
Another feature of the a11y theme is the three content panels on the front page. The content of these panels are populated from any 3 posts or pages in your site. The titles and image thumbnails (if of the post / page has a Featured Image) can also link to any content within your site.
Note: at this time, the configuration of the a11y
theme front page requires Administration privileges.
To set this up:
- In the Dashboard go to
Settings
>a11y Theme Options
- Under
Front Panel Content
enter in the IDs of the 3 posts or pages to appear within the panels. - Under
Front Panel Links
enter the address the title and thumbnail should link to. The address should belong to the website.
It's likely you will want to change the default styles for this theme.
The CSS for this theme is built using Stylus. The source Stylus files is located in the wp-a11y-theme/stylus/
directory. It is recommended that you work from the Stylus files and compile to CSS.
For example, to compile the Stylus files to CSS using the Stylus command line tool, the following command would be used:
stylus < ./stylus/style.styl > style.css
By default this theme uses the Zurb Foundation CSS framework, but can be changed to use any CSS framwork you prefer.
The Floe Project has used Foundation in many web projects and has found Foundation to be reasonably accessible and works well with the UI Options plugin.
The a11y
theme is created and maintained by the FLOE Project.
Portions of this theme is licensed under ECL 2.0, 3-Clause BSD, and GNU General Public License v2.0 licenses.