WordPress Audio Player播放器不显示解决办法

[audio:http://myweb.polyu.edu.hk/%7E05945334d/temp/nidebeibao.mp3|loop=yes]

    Audio Player是Wordpress中应用比较广泛的一个MP3插件,我也于数月前应用到了我的博客上,确实小巧,且简单易用。自我感觉效果不错,写东西的时候,也会打开博客来听听音乐。后来忘了具体时间了,WP提示有新版本,就选择了自动升级,其他功能一切正常,但Audio Player却出了问题:Audio Player的位置是空白,播放条却怎么也不显示了。

    找不到原因,就麻烦了一个google和baidu两位大神,但没有找到满意的答案。我自己也动手动脑了多次,比如降低WP版本,降低Audio Player版本,但都没有奏效,就暂时搁置了起来。直到今天,我写新博文的时候又想起了加音乐这事,就搜索了一下,找到了一个简单的帖子http://bbs.1mrs.info/thread-145-1-1.html

U1{JMJ{$STE$~(QP%D@}$VV

内容非常简单:

最近有很多朋友遇到更换风格之后无法显示的问题
解决方法:

检查模板header.php的</head>前是否有<?php wp_head(); ?>
检查模板footer.php的</body>前是否有<?php wp_footer(); ?>

    按照帖子的提示检查了一下模板,发现了问题,我的footer.php的</body>前没有<?php wp_footer(); ?>,找到合适的位置添加上了,预览之后发现正常了。这位老兄真是高人啊。虽然在论坛里刚刚注册,但头衔是CTO,首席技术官,真有资本牛啊!

9 Comments so far

Trackbacks/Pingbacks

Leave a comment

Name(required)
Mail (required),(will not be published)
Website(recommended)

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs must be fully qualified (eg: http://uniroot.net),and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.