• Resolved pdaniel

    (@pdaniel)


    I created the twitter app for my account and was able to get the consumer key and token information. I plugged that into the twidget settings. I selected the twitter-api-php library option. I tried the oAuth one as well with same results. I then plugged in the following code into the footer.php file where I want to the twitter to show up:

    <img class=”alignleft” src=”{$profile_image}”>
    @{$user_twitter_name}

    {$user_description}
    <ul class=”pages”>
    {$tweets_start}

    • {$tweet_text}
      {$tweet_time}
    • {$tweets_end}

      But I’m not getting anything back. Am I missing domething here? Do I need some more code? New to php so I apologize if I’m missing osmething easy.

      Thanks!

      https://www.ads-software.com/plugins/twitget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pdaniel

    (@pdaniel)

    I did plug in the following and it did work, but it brought back the account description that I don’t want to show. I only want to show the name and last tweet.

    <?php show_recent_tweets(); ?>

    Thread Starter pdaniel

    (@pdaniel)

    Figured it out. I customized the code in the Twidget Settings box. I was doing that in the footer.php file. Thanks.

    Anonymous User 9905372

    (@anonymized-9905372)

    If outside a post, page, you must use the php function to show the data – show_recent_tweets() which you’ve already pointed out.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Code Not Working – Footer?’ is closed to new replies.