
mój kod PHP
<?php /* Plugin Name: ZippyShare Embed */ ###### HOOKS ###### // Activation register_activation_hook( __FILE__, 'zippyshare_embed_activate' ); // Deactivation register_deactivation_hook( __FILE__, 'zippyshare_embed_deactivate' ); ###### SHORTCODE ###### // Create shortcode add_shortcode('zippyshare', 'zippyshare_shortcode'); // Create shortcode function function zippyshare_shortcode( $atts, $content = null ) { // Extract parameters 'www' => '', ), $atts ) ); // Extract server number and file-id // Set them $www = $match[1]; $file_id = $match[2]; } else { $file_id = $content; } ###### PLUNGINS ###### return ' <table> <img src="http://s1d3k.web44.net/images/zippyshare.png" /> <tr> <td style="text-align: center; text-shadow: 0px 1px 1px gray; text-align: center; font-family: tahoma; font-size: 8pt; color: #000000;" width="528px" height="5px" > Rozmiar pliku: <p2 style="font-family: tahoma; font-size: 8pt; color: #c302b5; font-weight: bold;">h </p2> Dodano: <p2 style="font-family: tahoma; font-size: 8pt; color: #c302b5; font-weight: bold;">24-07-2013 12:52</p2> Ostatnio pobrano: <p2 style="font-family: tahoma; font-size: 8pt; color: #c302b5; font-weight: bold;">24-07-2013 14:14</p2> </td> </tr> <div class="player" style="margin-left: 6px; margin-top: 12px; position:absolute;"> <script type="text/javascript">var zippywww="' . esc_attr($www) . '";var zippyfile="' . $file_id . '";var zippytext="#330533";var zippyback="#ffffff";var zippyplay="#da0eed";var zippywidth=520;var zippyauto=false;var zippyvol=80;var zippywave = "#000000";var zippyborder = "#cccccc";</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed_new.js"></script> <br><br> <div class="download"><a href="http://www' . esc_attr($www) . '.zippyshare.com/v/' . $file_id . '/file.html" target="_blank"><img src="http://s1d3k.web44.net/images/download.png" border="0"></a> <br><br> </div> </table> '; // END PLUGINS } { ?> <?php } ?>
był bym wdziędzny gdyby ktoś dał mi gotowy kod:)
znalazłem ocś takiego ale nwm co dalej z tym robić pomocy!!
https://github.com/RFKDOT/zippyshare.embed/.../master/ZSe.php