0
有没有一种方法来编码我已经在我的WordPress网站attatched每个MP3文件? 这是当你去到源代码的样子:编码上传的MP3文件在WordPress
<ol class='songs'><li><a href='http://localhost/wordpress/wp-content/uploads/2011/10/f1678576.mp3' title='Song Title'>Artist - Song</a></li></ol>
PHP代码:
if ($attachments) {
echo "<ol class='songs'>";
foreach ($attachments as $attachment) {
echo "<li>";
echo wp_get_attachment_link($attachment->ID);
echo "</li>";
}
echo "</ol>";
}
我看到WPaudio但不知道如何实现它。这是WPaudio代码的外观:
<pre><code><script type='text/javascript'>_wpaudio.enc['wpaudio-5019e1ff1c9da'] = '\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0075\u0072\u006c\u002e\u0074\u006f\u002f\u0079\u006f\u0075\u0072\u002e\u006d\u0070\u0033';</script><a id='wpaudio-5019e1ff1c9da' class='wpaudio wpaudio-enc' href='#'>Artist - Song</a></code></pre>
如果您有任何建议,请随时表达。谢谢。
服务为什么需要编码?你想编码文件名? – 2012-08-02 02:42:13
是的。因为当你深入到源代码。只需点击一下,你就可以得到文件。 :) – user1441816 2012-08-02 02:57:58
但即使你编码他们仍然可以得到该文件,你看到的是你记得吗? – 2012-08-02 03:04:43