Wordpress variant - nschonni/wet-boew GitHub Wiki

français

Adapts WET for use with WordPress.

Table of Contents

Overview

Project lead: Jobe Roberts (@Joberrr)

Benefits

  • Easy to install like any other WordPress theme
  • Supports English and French in a single WordPress instance
  • Conforms to WCAG 2.0 AA
  • Uses WAI-ARIA to enhance accessibility

Recommended usage

  • Applying the WET core framework and the GC Web Usability theme to WordPress

Implementation

How to implement the required plugins

  1. qTranslate: Enables support for multiple languages
    1. Log into the WordPress instance as admin.
    2. Select Languages in the *Settings* menu
    3. Enable support for French and disable support for other languages that are not required
  2. qTranslate meta: Extends qTranslate support to metadata
    1. When editing pages or posts, English and French tabs will be available when adding new metadata tags.
    2. Date metadata tags are automatically handled by WordPress. Other metatags will need to be set once across the site. This can be done by editing lines 25 to 30 in header.php.
  3. Breadcrumb NavXT: Enables support for breadcrumbs
    1. Select Breadcrumb NavXT in the Settings menu
    2. Select the General tab
    3. Change blog to the Web site name under Main Site Breadcrumb: Main Site Home

Optional WordPress settings

Settings > General

  1. Set the title in both English and French by adding the following to the Site Title field: [:en]English Title[:fr]Titre en Français.
  2. Set the time zone

Settings > Discussion

  1. Select the An administrator must always approve the comment checkbox for Before a comment appears.

Settings > Permalink

The default setting is to use page numbers for permalinks. To use clean urls (urls with words) choose Day and Name or Month and Name. ISAPI Rewrite must be installed if your site is running on MS IIS.

1 or 2 layouts for pages

The default layout is a two column layout with the left column used for navigation and the right column used for content. A one column layout can be selected in the Page Attributes menu.

Optional plugins

Known Issues

  • Any potential security vulnerabilities associated with using PHP or WordPress.
⚠️ **GitHub.com Fallback** ⚠️