来自外部jquery的标头图像未在Wordpress中显示

时间:2016-06-26 21:27:49

标签: jquery wordpress header

Wrapper

在WordPress中是否显示来自<head> <title>Title of the Website</title> <meta information typical for WP /> <!-- Le styles --> <link href="<?php bloginfo('stylesheet_url');?>" rel="stylesheet"> <script type="text/javascript"> var templateUrl = '<?= get_bloginfo("template_url"); ?>'; </script> <?php wp_head(); ?> <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ $.get('https://www.url.tld/?id=1234',function(data){ $('.container.home').html(data.head); }, 'json'); }); //]]> </script> </head> <body> <div id="wrapper"> <div id="content"> <header> <div class="container home" style="margin: 0;"></div> </header> etc.... 中链接并在<script type="text/javascript">中调用的外部服务器的标头图像(我用虚拟替换实际值)没有显示的原因? jquery.js已正确排队,css正确包含在styles.css中。对代码的分析不会产生错误消息......

0 个答案:

没有答案