Advertisement
Guest User

Echo do_shortcode wordpress

a guest
Jun 24th, 2013
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.38 KB | None | 0 0
  1. <object id="flashplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="260">
  2. <param name="movie" value="<?php if ( of_get_option('jwplayerswf') ) { echo of_get_option("jwplayerswf"); } ?>" />
  3. <param name="allowFullScreen" value="true" />
  4. <param name="allowScriptAccess" value="always" />
  5. <param name="FlashVars" value="plugins=<?php if ( of_get_option('jwgkproxy') ) { echo of_get_option("jwgkproxy"); } ?>,<?php if ( of_get_option('jwcaptionplug') ) { echo of_get_option("jwcaptionplug"); } ?>,timeslidertooltipplugin-3,backstroke-1,lightsout-1&provider=http&skin=<?php if ( of_get_option('jwskinbase') ) { echo of_get_option("jwskinbase"); } ?>/lib720.zip&captions.files=<?php if(get_post_meta($post->ID, 'ecpt_subvideo4_fr', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_fr', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_en', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_en', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_es', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_es', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_ro', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_ro', true); ?><?php } ?>&captions.labels=<?php if(get_post_meta($post->ID, 'ecpt_subvideo4_fr', true)!='') { ?>fr,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_en', true)!='') { ?>en,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_es', true)!='') { ?>es,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_ro', true)!='') { ?>ro<?php } ?>&logo.file=<?php if ( of_get_option('jwlogoimg') ) { echo of_get_option("jwlogoimg"); } ?>&logo.hide=false&logo.position=top-left&logo.margin=20&logo.link=<?php if ( of_get_option('jwlogolink') ) { echo of_get_option("jwlogolink"); } ?>&captions.fontsize=20&captions.back=false&captions.state=true&captions.fontWeight=bold&aboutlink=<?php if ( of_get_option('jwablink') ) { echo of_get_option("jwablink"); } ?>&abouttext=<?php if ( of_get_option('jwabtext') ) { echo of_get_option("jwabtext"); } ?>&proxy.link=<?php echo $LINKvideo4;?>" />
  6.  
  7. <embed name="flashplayer" src="<?php if ( of_get_option('jwplayerswf') ) { echo of_get_option("jwplayerswf"); } ?>" FlashVars="plugins=<?php if ( of_get_option('jwgkproxy') ) { echo of_get_option("jwgkproxy"); } ?>,<?php if ( of_get_option('jwcaptionplug') ) { echo of_get_option("jwcaptionplug"); } ?>,timeslidertooltipplugin-3,backstroke-1,lightsout-1&provider=http&skin=<?php if ( of_get_option('jwskinbase') ) { echo of_get_option("jwskinbase"); } ?>/lib720.zip&captions.files=<?php if(get_post_meta($post->ID, 'ecpt_subvideo4_fr', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_fr', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_en', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_en', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_es', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_es', true); ?>,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_ro', true)!='') { ?><?php echo get_post_meta($post->ID, 'ecpt_subvideo4_ro', true); ?><?php } ?>&captions.labels=<?php if(get_post_meta($post->ID, 'ecpt_subvideo4_fr', true)!='') { ?>fr,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_en', true)!='') { ?>en,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_es', true)!='') { ?>es,<?php } if(get_post_meta($post->ID, 'ecpt_subvideo4_ro', true)!='') { ?>ro<?php } ?>&logo.file=<?php if ( of_get_option('jwlogoimg') ) { echo of_get_option("jwlogoimg"); } ?>&logo.hide=false&logo.position=top-left&logo.margin=20&logo.link=<?php if ( of_get_option('jwlogolink') ) { echo of_get_option("jwlogolink"); } ?>&captions.fontsize=20&captions.back=false&captions.state=true&captions.fontWeight=bold&aboutlink=<?php if ( of_get_option('jwablink') ) { echo of_get_option("jwablink"); } ?>&abouttext=<?php if ( of_get_option('jwabtext') ) { echo of_get_option("jwabtext"); } ?>&proxy.link=<?php echo $LINKvideo4;?>" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="100%" height="260"/>
  8. </object>
  9.  
  10.  
  11. -------- v1
  12. <?php
  13. $vary .= '[sociallocker]';
  14. $vary .= 'allcodeabove';    
  15. $vary .= '[/sociallocker]';
  16. echo do_shortcode($vary);
  17. ?>
  18.  
  19. ------ v2
  20. <?php $contz = function-get-the-code ?>
  21. <?php echo do_shortcode('[sociallocker] '.$contz.' [/viral-lock]'); ?>
  22.  
  23. i thinking .... but i don't know if is good
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement