Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/03/2012, 06:07
winterlest
 
Fecha de Ingreso: marzo-2012
Mensajes: 3
Antigüedad: 12 años, 1 mes
Puntos: 0
Respuesta: Sintaxi para PHP

Este sería el codigo de la función:

function Twitterfeedreader($atts) {
extract(shortcode_atts(array(
"username" => 'nombredeusuario',
"mode" => 'feed',
"tweetintent" => 'yes',
"userintent" => 'yes',
"twitterJS" => 'no',
"other" => '',
"num" => '5',
"img" => 'yes',
"imgclass" => '',
"auth" => 'no',
"encoding" => '',
"term" => 'twitter',
"hashtag" => 'WordPress',
"followlink" => 'yes',
"followbutton" => 'yes',
"scheme" => 'light',
"followercount" => 'yes',
"lang" => 'en',
"searchlink" => 'yes',
"anchor" => '',
"userlinks" => 'yes',
"hashlinks" => 'yes',
"timeline" => 'yes',
"smalltime" => 'yes',
"smalltimeclass" => '',
"conditional" => 'yes',
"tprefix" => '(about',
"tsecs" => 'seconds',
"tmin" => 'minutes',
"tmins" => 'minutes',
"thour" => 'hour',
"thours" => 'hours',
"tday" => 'day',
"tdays" => 'days',
"tsuffix" => 'ago)',
"phptime" => 'j F Y \a\t h:ia',
"linktotweet" => 'yes',
"divid" => '',
"ulclass" => '',
"liclass" => '',
"linklove" => 'no',
), $atts));