Cancelado

add function to a wordpress plugin

i have a plugin that i need to add a function to, that replace a YouTube link on a post string fetched from rss feed with the video embedded on one line.

and all the excerpt fetched from the feed need to be under the youtube and all right aligned with RTL direction.

this is the function:

function youtube($volcado) {

if( ereg('\[youtube=',$volcado) ) {

//YOUTUBE CODE

$posicion=stripos($volcado,"[youtube=");

$volcado1=substr($volcado,0,$posicion);

$posicion=$posicion+9;

$volcadotemp=substr($volcado,$posicion,strlen($volcado)-$posicion);

$posicion2=strpos($volcadotemp,"]");

$enlace_video=substr($volcadotemp,0,$posicion2);

$volcado2=substr($volcadotemp,$posicion2+1,strlen($volcadotemp)-$posicion2-1);

$posvideo=stripos($enlace_video,"watch?v=");

$codigo_video=substr($enlace_video,$posvideo+8,strlen($enlace_video)-1);

$enlace_video="[url removed, login to view]".$codigo_video;

$codigo_video="";

return $volcado1.$[url removed, login to view]($volcado2);

//FIN DE YOUTUBE CODE

} else {

return $volcado;

}

}

Habilidades: PHP, WordPress

Ver mais: rss plugin wordpress, rss feed plugin wordpress, rtl code, rtl wordpress, fin, add link wordpress, function rtl, wordpress replace plugin, youtube plugin, wordpress rss feed code, plugin rtl, php excerpt, wordpress add rss function, link video rss wordpress, rss feed plugin, string function, add function, rtl plugin, wordpress youtube plugin, code rss wordpress, wordpress string replace, video post plugin wordpress, wordpress plugin upload function, youtube post wordpress, wordpress youtube feed

Acerca do Empregador:
( 12 comentários ) Far, Kuwait

ID do Projeto: #5089533

5 freelancers estão ofertando em média $23 para este trabalho

rana100

Hi, I am a php mysql expert. I am ready to work in your project. Pls look at some portfolio I am expert in E-commerce http://prepare2win.com/ https://pernillaspantry.com/account/ http://fuzionvapor.com/ Mais

$15 USD in 0 dias
(13 Comentários)
4.6
kundanntl

Hi all descriptions is clear to me Let me work on it Thanks Keg ............................................................................. . .............................

$25 USD in 3 dias
(10 Comentários)
3.6
mudassarehman786

I am a professional WordPress developer will like to work for you hope to work with you see my portfolio for details

$35 USD in 3 dias
(1 Comentário)
0.8
maven379

I would like to work on your function ASAP. ping me i will give with in 1 hour. Thank you

$12 USD em 1 dia
(0 Comentários)
0.0
anamdesigner

Looking forward to provide you right functionality for your wordpress plugin. Hope to serve you quality services as per your requirements. do give me chance to work on this project, I can be available to you on chat vi Mais

$30 USD in 4 dias
(0 Comentários)
0.0