Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 4.71 KB

readme.md

File metadata and controls

74 lines (51 loc) · 4.71 KB

The BRIDGEs in Belize Theme

The BRIDGEs in Belize WordPress theme is a child theme of Definition by WooThemes. To build the site correctly, you must install the definition theme, and the bridgesinbelize theme, both included in this repository.

Current Site Setup

Below you will find the current setup of the bridgesinbelize.org site. Each of the below items is required for the site to be set up in its current form.

To restore this site, first start by installing WordPress, then the Definition theme, then install the Bridges in Belize theme and active it. After it's active, install and activate eache of the below plugins. Lastly restore any data from backups.

Primary Packets

Secondary Packets (plugins)

  • Jetpack - Provides meny small but needed functions within the site, including sharing, contact form, spell checking, and distribution.
  • Features by WooThemes - Provides the Features section, just below the content section, on the main page.
  • Members - Provides access control managment within the site.
  • WP Help - Provides help documents for logged in users to the site.
  • MDR Table of Contents - Automatically creates Table of Contents on pages & posts with the uses of a shortcode.
  • Simple Footnotes - Automatically creates footnotes on pages or posts.

Installing

This repository stores both the bridgesinbelize theme and the Definition theme. It also stores the current plugins and a backup of the site itself. To install, follow the below instructions.

cd /var/www/bridgesinbelize.org/wp-content/themes/
git clone -b definition [email protected]:mattrude/wp-theme-bridgesinbelize.git definition
git clone -b master [email protected]:mattrude/wp-theme-bridgesinbelize.git bridgesinbelize

cd /var/www/bridgesinbelize.org/wp-content/
rm -rf plugins
git clone -b plugins [email protected]:mattrude/wp-theme-bridgesinbelize.git plugins
cd plugins
git submodule init
git submodule update

After installing the needed bits, restore the data from the data branch in this repostiory.

Other build information

This theme uses less to compile it's style sheets (style.css). Each time the style.less file is modified, it must be compiled into style.css for the changes to be seen on the site. To compile the style.css file, run:

lessc style.less > style.css && \
sed "s/images/..\/..\/plugins\/jetpack\/modules\/sharedaddy\/images/g" \
../../plugins/jetpack/modules/sharedaddy/sharing.css >> style.css && \
cat ../../plugins/jetpack/modules/widgets/widgets.css >> style.css
  • For more information on the diffrent functions within this theme, please see the themes phpDoc page.

License

The BRIDGEs in Belize WordPress theme is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation (http://www.fsf.org/).

              GNU GENERAL PUBLIC LICENSE
                 Version 2, June 1991

Copyright (C) 2012-2013 Matt Rude <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.