Wikimedia Foundation website/WordPress theme

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Shiro
Wikimedia Foundation website screenshot - 09 July 2019.png
Screenshot of WordPress theme, known as Shiro, developed for Wikimedia Foundation website
Public mirror of code base
Maintained byWikimedia Foundation
Version1.10102019

The WordPress theme developed for the Wikimedia Foundation website, known as Shiro, is available for download and use by movement groups and affiliates. This page can be utilized to track steps necessary for its usage. The Wikimedia Foundation does not provide direct support for usage of this theme. Please feel free to add notes based on your own implementation experiences.

Code repository[edit]

The code utilized by the Wikimedia Foundation website is available in a public mirror on GitHub.

Implementation[edit]

To install the Shiro theme on your site:

  1. Download the code repository for the Wikimedia Foundation website
  2. Copy the shiro folder in the themes folder to the themes folder of your site's WordPress installation
  3. Upload a new header image and logo file
    • Header: wikimediafoundation-org/themes/shiro/assets/src/svg/header.svg
    • Header logo: wikimediafoundation-org/themes/shiro/assets/src/svg/individual/logo-horizontal.svg
  4. Select the theme in the Theme management section of your site's administration dashboard
  5. Customize the theme in your site's theme customization section of your site's administration dashboard
    • Be sure to replace logo in Footer section

Instructions for Linux[edit]

  1. Use git clone https://github.com/wikimedia/wikimediafoundation-org.git to clone wikimediafoundation-org repo.
  2. Move shiro from wikimediafoundation-org/themes to your-wordpresss-installation-folder/wp-content/themes.
  3. Follow the steps above.

Note: After activation a error will be popup. Safely ignore, your theme is active. Also ignore update message, is for another shiro theme not owned by Wikimedia Foundation.

Updating theme[edit]

The site's theme version number includes the date when the theme was most recently updated (X.MMDDYYYY). If there has been an update to the theme since you implemented it, you can update your theme by:

  1. Downloading the code repository for the Wikimedia Foundation website
  2. Replacing the shiro folder in themes folder of your site's WordPress installation with the shiro folder in the themes folder of the code repository for the Wikimedia Foundation website

Known issues[edit]

These are known issues with easy implementation of the theme:

  • Cannot change header graphic in customization section of administrator dashboard
  • Cannot change header logo in customization section of administrator dashboard

Existing usage[edit]

These sites are currently utilizing the Shiro theme: