How To Create A Twitter Widget for your WordPress Themes . Twitter needs no introduction.Wordpress Themes It has become the way to reach audiences for some people and companies and a place to hang out for others. Placing a Twitter feed on one’s website has almost become compulsory. Embedding a feed isn’t all that difficult if you are comfortable with Twitter’s default widget, but making your own will enable you to blend it into your website seamlessly.Wordpress Themes
The result of our effort will be a WordPress widget that can be placed in a widgetized sidebar. It will display the user’s details on top and the latest few items from the user’s feed. You can see it in action in our Musico theme, although the screenshot below says it all.Wordpress Themes
About The Twitter Terms Of Service
Because this is a custom widget, you control what and how elements are displayed. Make sure to read Twitter’s “Developer Display Requirements” to find out what you need to display. I will be breaking some of the rules for simplicity’s sake, but bolting on stuff will be a trivial matter once you’ve finished this article.Wordpress Themes
Note that conforming to the requirements is a must. If you do not, you run the risk of your ID being banned which means that your widget will not display any tweets.
First Step: Create A Twitter App
Before writing any code, we’ll have to get our hands on a Twitter app or, more appropriately, Twitter API credentials. The process is explained in a video that I made:
In case you prefer reading to watching a video, here are the basic steps:
- Log into Twitter’s developers section.
- Go to “My Applications,” and click “Create a new application.”
- Fill out the required fields, accept the rules of the road, and then click on the “Create your Twitter application” button. You will not need a callback URL for this app, so feel free to leave it blank.
- Once the app has been created, click the “Create my access token” button.
- You’re done! You will need the following data later on:
- consumer key,
- consumer secret,
- access token,
- access token secret.
Add Our App’s Details
To add some options to our theme quickly, we’ll be using the theme customizer, introduced in WordPress 3.4. Smashing Magazine has an exhaustive article on it, if you’re interested to learn more. For now, we’ll just add the bare necessities.
Adding the code above to your theme’s
functions.php file will generate a link to the customizer in the “Appearance” section of the admin area. To add some options, we’ll need to create a class. Add a file named
from : http://www.smashingmagazine.com/2013/06/27/create-twitter-widget/
[quote font=”verdana” font_size=”14″ font_style=”italic” color=”#474747″ bgcolor=”#F5F5F5″ bcolor=”#dd9933″ arrow=”yes” align=”centre”]This Demo Content Brought to you by Momizat Team [/quote]
this is tags and keywords : wordpress themes momizat Tutorial wordpress templates
World Cup: Rohr shuts door on Enyeama
Super Eagles manager, Gernot Rohr, has finally ruled out goalkeeper Vincent Enyeama’s return to the national team.
The coach said the inability of the former captain of the team to secure playing time had played a huge role in his decision.
Speaking with journalists at the inaugural Aiteo/Nigeria Football Federation Awards on Monday, Rohr said his main target was to take active players to the World Cup and Enyeama does not fit into that quota.
“He is not playing anywhere, so we cannot take players who are not playing,” Rohr said.
“We are working hard to have the best of our legs taken to Russia and we don’t have the luxury of naming a player that has not been playing in recent time.
“Each time we have a problem, there is always a good answer and I hope it will be the same for the World Cup.
“We currently have so many players in camp and we want to continue monitoring them. The most important thing is for them to be in best shape for the Mundial.”
There have been calls for the return of the Lille of France goalkeeper who retired from national team duties after falling out with former coach, Sunday Oliseh.
After the retirement of Enyeama, Wolverhampton Wanderers goalie, Carl Ikeme, stepped in before he was later diagonised with acute leukemia, a situation that ruled him out of action.
Enyeama had in the past snubbed all emissaries to return to the team, there was however subtle attempt by the goalkeeper to return to the team when he started having problems with the manager of his club, Marcelo Bielsa.
Goalkeepers in the running for the World Cup are current first choice and home-based Eagles captain, Ikechukwu Ezenwa, Chippa FC of South Africa star, Daniel Akpeyi, Deportivo La Coruna youngster, Francis Uzoho and Plateau United goalie, Dele Ajiboye.
Eagles must start well in Russia –Iroha
Ex-international, Ben Iroha, has urged the Super Eagles to hit the ground running when the World Cup starts in Russia by claiming positive result in their first match, which is against Croatia.
The former left back said the outcome of the first game could determine how far the team would go in the competition, so the players must throw everything into the tie with the European country.
He said the team could progress from the group, which includes Argentina and Iceland with solid preparation, focus and determination.
“To me, the group is an open one. However, if we have early preparations and keep the boys together and pray we don’t lose our best legs to injury, then I am confident we have a decent chance of doing well at the World Cup.
“The Eagles must also take their first match seriously because a good start offers confidence and will boost their morale,” the former told AOIFootball.com.
Iroha featured 50 times for Nigeria between 1990-1998, played in two edition of the World Cup (1994 and 1998) and also won the Nations Cup in Tunisia ’94.
He was also the assistant coach to the late Yemi Tella when the Golden Eaglets conquered the world in 2007.
Oil/Gas Games: NNPC, Shell win T/ Tennis team event
Team NNPC on Tuesday emerged winners of the table tennis team event at the ongoing Nigeria Oil & Gas Industry Games.
The trio of Keye Surajudeen Adekunle, Hassan Aliyu and Maiyefa Monday proved too difficult for their counterparts from Chevron represented by Oyinbo Olaleye, Okeifa Francis and Segun Francis by 3-0 to be crowned winners of the event.
The more experienced Team NNPC used a combination of good serves and strokes to subdue their opponents to rhe admiration of the crowd in the entertaining encounter decided at the table tennis hall of Ikoyi Club 1038.
In the women category, three time defending champions Mojisola Adeniran and Chizoba Onuoha of Shell defeated the duo of Adefiseso Adetola and Adjeke Felicia of NNPC to emerge winners.
An excited Mojisola told our correspondent that she was overjoyed retaining the title with her team mate because younger players boastedto stop them prio to the competition.
“I’m really overjoyed with the victory because it is not easy winning it for the third time. Many young player are getting stronger every year and some of them even boasted we’re not going to survive the preliminaries”, she stated.
The singles preliminaries will begin today at the same venue.
Meanwhile, the heavy in Lagos yesterday disrupted proceedings at the tennis section as all the eight courts were flooded by water which prompted some of the matches to be abandoned with the officials announcing that the event will continue today.
National news20 hours ago
Buhari, APC ‘trashed’ my husband after 2015 polls – Tinubu’s wife
News20 hours ago
Sanusi, Miyetti Allah laud Fayose over anti-grazing law
News Around Nigeria20 hours ago
VIDEO: El-Rufai personally drove a bulldozer to demolish my house – Senator Hunkuyi
News20 hours ago
Herdsmen plotting to kill me – Ortom
News20 hours ago
Buhari charges Africans to use Petroleum Summit grow economy
News20 hours ago
2019: South-East elders council back Buhari
News20 hours ago
Nigeria’s improved business ranking driven by mining reforms – Fayemi
News20 hours ago
Maternal death: FG to engage 100,000 CHIPS agents