diff --git a/front-page.php b/front-page.php index 48ffb53..a660214 100644 --- a/front-page.php +++ b/front-page.php @@ -57,13 +57,12 @@
- - - + +
- +
diff --git a/functions.php b/functions.php index a1d3d82..70ba231 100644 --- a/functions.php +++ b/functions.php @@ -128,4 +128,32 @@ 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-DBVNC6meqlD4KgZrQcAuynwYaMxJsLqLiyrtkArR"; + $accesstokensecret = "UhlTPgNowuNOsC0Oaw89PM29PcVRD4N14sAdkAUk"; + $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 0061cf5..3d69a3d 100644 --- a/style.css +++ b/style.css @@ -884,6 +884,8 @@ h3, list-style: none; } .twitter-feed-group .tweet-date { + margin-top: 0.5em; + color: #959595; font-style: italic; text-decoration: none; } diff --git a/tweets-FluidProject.php b/tweets-FluidProject.php deleted file mode 100644 index 24f7a3b..0000000 --- a/tweets-FluidProject.php +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/tweets-SNOWocad.php b/tweets-SNOWocad.php deleted file mode 100644 index cb6f2c7..0000000 --- a/tweets-SNOWocad.php +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/tweets-aegisprog.php b/tweets-aegisprog.php deleted file mode 100644 index a44cfe7..0000000 --- a/tweets-aegisprog.php +++ /dev/null @@ -1,6 +0,0 @@ -