Horje
Add a function to get the most recent Tweet from a feed Wordpress Tutorial

Noted That:

  • To install correctly this just-a-tweet.zip .
  • Fisrt Download the just-a-tweet.zip to your computer
  • Extract/Open just-a-tweet.zip to Your Computer.
  • Then, Find readme.txt file inside just-a-tweet.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " just-a-tweet.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " just-a-tweet.zip "  Downloaded plugin from your computer, Where you downloaded just-a-tweet.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Just A Tweet " folder is added on left sidemenu. Now, Click on " Just A Tweet " folder.

   Noted that: If you do not see " Just A Tweet " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Just A Tweet Configurtions and Settings or How to work " Just A Tweet " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Just A Tweet " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Just A Tweet
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Upload just-a-tweet to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place in your templates

The function just_a_tweet takes up to 4 parameters

$twitterUser – Required – The name of the Twitter user you want to request

$cacheAge – Optional – Number of minutes after which the cache is considered stale. Defaults to 5

$forceRefresh – Optional – If true then the cache is not used, although it is
still filled. Defaults to false

$echo – Optional – Whether the function should also echo out the HTML built. Either
way the HTML is returned. Defaults to true

Using the shortcode

There is also a shortcode just_a_tweet that you can use inside your posts and pages.

[ just_a_tweet twitteruser=yourtwitter ] will pull the most recent tweet from
whatever Twitter account you pass as yourtwitter .


function , recent , tweet , feed , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference