diff --git a/front-page.php b/front-page.php index 48ffb53..4a0e82e 100644 --- a/front-page.php +++ b/front-page.php @@ -57,14 +57,12 @@
- +
- -
diff --git a/style.css b/style.css index cadd665..3ca5891 100644 --- a/style.css +++ b/style.css @@ -883,6 +883,8 @@ h3, list-style: none; } .twitter-feed-group .tweet-date { + margin-top: 0.5em; + color: #959595; font-style: italic; text-decoration: none; } @@ -1815,4 +1817,4 @@ a.idi-project-link { :-webkit-full-screen .fl-videoPlayer-video-play, :-webkit-full-screen .fl-videoPlayer-overlay { max-width: none; -} \ No newline at end of file +} diff --git a/tweets-FluidProject.php b/tweets-FluidProject.php index eb9f423..d4be3e7 100644 --- a/tweets-FluidProject.php +++ b/tweets-FluidProject.php @@ -21,12 +21,12 @@ */ require_once("wp-content/plugins/twitteroauth/twitteroauth/twitteroauth.php"); - $twitter_un = "SNOWocad"; - $num_tweets = 3; - $consumerkey = "fHDGIckUSPpd4koYiBVOw"; - $consumersecret = "I3KKfzDT34eR9TXekZsXod750SdC2JydGVKj0ZFlU"; - $accesstoken = "199785294-UB4hnT6tsbbRD2bKSUGNgryPnS4hDJjtQpPtFGx7"; - $accesstokensecret = "kcXrb0WzyUYijk97u1RdFrG7hSS5vpyUbWxpfls"; + $twitter_un = "FluidProject"; + $num_tweets = 1; + $consumerkey = "luK78NyRjDEmMVhi6sgIw"; + $consumersecret = "E6bY0ShFmtibIqWU0oHokCVZKYtPEvZcNyACBPzYqo"; + $accesstoken = "123905660-DBVNC6meqlD4KgZrQcAuynwYaMxJsLqLiyrtkArR"; + $accesstokensecret = "UhlTPgNowuNOsC0Oaw89PM29PcVRD4N14sAdkAUk"; $connection = new TwitterOAuth($consumerkey, $consumersecret, $accesstoken, $accesstokensecret); $tweets = $connection->get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitter_un."&count=".$num_tweets); //print_r($tweets); @@ -39,7 +39,8 @@ $tweets = array_filter($tweets); if(!empty($tweets)){ foreach($tweets as $tweet) { - echo '
  • '.$tweet->text.'
    retweet
  • '; + echo '
  • '.$tweet->text.'
    + '.substr($tweet->created_at, 0, 16).'
  • '; } } else{ diff --git a/tweets-SNOWocad.php b/tweets-SNOWocad.php index 7c1eb70..f049286 100644 --- a/tweets-SNOWocad.php +++ b/tweets-SNOWocad.php @@ -20,7 +20,7 @@ */ require_once("wp-content/plugins/twitteroauth/twitteroauth/twitteroauth.php"); $twitter_un = "SNOWocad"; - $num_tweets = 3; + $num_tweets = 1; $consumerkey = "fHDGIckUSPpd4koYiBVOw"; $consumersecret = "I3KKfzDT34eR9TXekZsXod750SdC2JydGVKj0ZFlU"; $accesstoken = "199785294-UB4hnT6tsbbRD2bKSUGNgryPnS4hDJjtQpPtFGx7"; @@ -35,8 +35,8 @@ $tweets = array_filter($tweets); if(!empty($tweets)){ foreach($tweets as $tweet) { - echo '
  • '.$tweet->text.'
    retweet
  • '; - + echo '
  • '.$tweet->text.'
    + '.substr($tweet->created_at, 0, 16).'
  • '; } } else{ echo "

    no tweets found

    "; diff --git a/tweets-aegisprog.php b/tweets-aegisprog.php deleted file mode 100644 index 529993a..0000000 --- a/tweets-aegisprog.php +++ /dev/null @@ -1,49 +0,0 @@ -get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitter_un."&count=".$num_tweets); - //print_r($tweets); -?> - -