diff --git a/README b/README
deleted file mode 100644
index 77b9048..0000000
--- a/README
+++ /dev/null
@@ -1 +0,0 @@
-This is the Wordpress theme for inclusivedesign.ca, the website of the Inclusive Design Institute.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b3c4faa
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+The `idi-theme` is the Wordpress theme for inclusivedesign.ca, the website of the Inclusive Design Institute.
+
+## Requirements
+* [wordpress-fss-theme](https://github.com/inclusive-design/wordpress-fss-theme) - the parent theme for the `idi-theme`.
+* [oAuth Twitter Feed for Developers](https://wordpress.org/plugins/oauth-twitter-feed-for-developers/) - used for Twitter feeds on the front page.
+
+## Installation
+* Put a copy of the [wordpress-fss-theme](https://github.com/inclusive-design/wordpress-fss-theme) in the `./wp-content/themes` directory.
+* Put a copy of `idi-theme` in the `./wp-content/themes` directory.
+* Activate `idi-theme` in your Appearance dashboard.
+* Install and activate the [oAuth Twitter Feed for Developers](https://wordpress.org/plugins/oauth-twitter-feed-for-developers/) plugin.
+* Specify the Consumer Key, Consumer Secret, Access Token, and Access Token Secret in the "oAuth Twitter Feed for Developers" settings page.
diff --git a/front-page.php b/front-page.php
index c371cb4..9c0ca43 100644
--- a/front-page.php
+++ b/front-page.php
@@ -7,75 +7,75 @@
diff --git a/functions.php b/functions.php
index e2aa3cd..494df18 100644
--- a/functions.php
+++ b/functions.php
@@ -4,10 +4,8 @@
// Override the default UIO strings
$uio_strings_custom = 'showText: "Preferences", hideText: "Preferences"';
-// This site uses The Twitter Feed Wordpress Plugin found at
-// http://pleer.co.uk/wordpress/plugins/wp-twitter-feed/
-
-$twitter_feed_opts = ' followlink="no" num="1" linktotweet="no" tweetintent="no" img="no" tprefix="" tsuffix="ago" other=”yes” ulclass="twitter-list" liclass="twitter-tweet"';
+// The number of tweets to display on a twitter feed.
+define ('TWEET_COUNT', 3);
/**
* Add IDI-specific JS files to the header
@@ -128,32 +126,27 @@ function panel_login_fail( $username ) {
}
}
-function idi_display_twitter_feed($twitter_un) {
- require_once("wp-content/plugins/twitteroauth/twitteroauth/twitteroauth.php");
- $num_tweets = 1;
- $consumerkey = "luK78NyRjDEmMVhi6sgIw";
- $consumersecret = "E6bY0ShFmtibIqWU0oHokCVZKYtPEvZcNyACBPzYqo";
- $accesstoken = "123905660-3gtwAKtHHrPjGwa1PmAqXD8FKKKQY2C1ORB8dpyE";
- $accesstokensecret = "kWuqrTk8IOHVSQdEK9dFfy337VjQv9P44lYKVfq8Fv7Ln";
- $connection = new TwitterOAuth($consumerkey, $consumersecret, $accesstoken, $accesstokensecret);
- $tweets = array_filter($connection->get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitter_un."&count=".$num_tweets));
-
- echo '';
}
?>
diff --git a/style.css b/style.css
index d44e0b9..5a52d9b 100644
--- a/style.css
+++ b/style.css
@@ -862,6 +862,10 @@ h3,
}
/* Twitter widget */
+.tweet {
+ margin-bottom: 1.5rem;
+}
+
.twitter-feed-group .tweet-container {
padding: 1em;
}