因此,我阅读了 Wordpress 关于在特定页面中调用 javascript 的文章。
我只想要一页,因为我只使用那一页上的脚本。
我用于工具提示的教程在这里:
http://osvaldas.info/elegant-css-and-jquery-tooltip-responsive-mobile-friendly
我想我错误地调用了脚本:
这是我在页面上使用的代码:
<script type="text/javascript" src="http://www.frgraphicsolutions.com/working/wp-content/themes/responsive-child/tooltip.js"></script>
<abbr title="We provide companies with advice and best practices on how to promote and advance your graphic marketing projects. Our consultative approach analyzes your current practices and offers ideas on how to lower your costs and increase the effectiveness of your (limited) marketing budget." rel="tooltip"><img style="vertical-align: middle;" alt="" src="http://frgraphicsolutions.com/wp-content/uploads/2013/06/001.png" /></abbr>
<abbr style:"float: right" title="We offer turn-key programs for small and medium-sized business to build your brand and establish an online presence, including the development of web pages, social media and lead-generation email campaigns. Services include graphic design and copywriting." rel="tooltip"><img style="vertical-align: middle;" alt="" src="http://frgraphicsolutions.com/wp-content/uploads/2013/06/002.png" /></abbr>
它不起作用,我仍然对如何在 wordpress 上调用 javascript 感到非常困惑。
有人可以澄清一下吗?
非常感谢你。:)