这只猫头鹰旋转木马完美地工作直到......我在页脚中加了<?php wp_footer(); ?>
。我错误地删除了,发现它丢失了,现在我的猫头鹰旋转木马坏了!我做了什么?我不确定为什么会弄乱它。我必须拥有<?php wp_footer(); ?>
,否则会导致其他事情破裂。
我要发布一个指向该网站的链接。 Please view div site here
我会发布页脚的代码,但是如果您需要任何其他代码,那么您无法通过访问该网站告诉我。
<!-- BEGIN FULL FOOTER SECTION-->
<footer>
<!--BEGIN TOP FOOTER SECTION-->
<div id="footer_top" class="clearfix">
<div id="footer_top_content" class="clearfix">
<div id="social_container" class="clearfix">
<a id="twitter" href="https://facebook.com/cloudpointtech" target="_blank">
<span class="footer_fontawesome_social"></span><br />
</a>
<a id="twitter1" href="https://twitter.com/cloudpointtech" target="_blank">
<span class="footer_fontawesome_social"></span>
</a>
<a id="linkedin" href="https://www.linkedin.com/company/cloud-point-technology" target="_blank">
<span id="footer_textspan22"></span>
</a>
<a id="email" href="mailto:support@cloudpointtech.com">
</a>
</div>
<div id="footer_links_Container" class="clearfix">
<div id="left_links" class="clearfix">
<p id="footer_text10">
<span class="footer_fontawesome"> </span><a class="footer_menu_link" href="http://www.cloudpointtech.com/managed-services/">Managed Services</a><br />
</p>
<p id="footer_text11">
<span class="footer_fontawesome"> </span><a class="footer_menu_link" href="http://www.cloudpointtech.com/managed-medical-it/">Medical Managed Services</a><br />
</p>
</div>
<div id="right_links" class="clearfix">
<p id="footer_text12">
<span class="footer_fontawesome"> </span><a class="footer_menu_link" href="http://www.cloudpointtech.com/support/">Support</a><br />
</p>
<p id="footer_text13">
<span class="footer_fontawesome"> </span><a class="footer_menu_link" href="http://www.cloudpointtech.com/contact/">Contact</a><br />
</p>
</div>
</div>
<div id="social_container1" class="clearfix">
<p class="icon_holder">
<a class="icon_holder_item" href="https://facebook.com/cloudpointtech" target="_blank">
<span class="footer_fontawesome_social"></span></a>
</p>
<p class="icon_holder">
<a class="icon_holder_item" href="https://twitter.com/cloudpointtech" target="_blank">
<span class="footer_fontawesome_social"></span></a>
</p>
<p class="icon_holder">
<a class="icon_holder_item" href="https://www.linkedin.com/company/cloud-point-technology" target="_blank">
<span class="footer_fontawesome_social"></span></a>
</p>
<p class="icon_holder">
<a class="icon_holder_item" href="mailto:support@cloudpointtech.com">
<span class="footer_fontawesome_social"></span></a>
</p>
</div>
</div>
</div>
<!-- END OF TOP FOOTER CONTAINER-->
<!-- BEGIN BOTTOM FOOTER CONTAINER-->
<div id="footer_bottom" class="clearfix">
<div id="footer_bottom_content" class="clearfix">
<div class="footer_wrapper">
<span class="footer_text_link">Copywrite © 2013 CloudPoint Technology</span><br />
</div>
<div class="footer_wrapper">
<span class="footer_text_link">Created and Developed By
<a href="http://www.cyndeeadkinsdesign.com" target="_blank">Cyndee Adkins Design</a></span><br />
</div>
<div class="footer_wrapper">
<a class="footer_text_link" href="http://www.cloudpointtech.com/site-map/">Site Map</a>
<span class="footer_text_link"> · </span>
<a class="footer_text_link" href="http://www.cloudpointtech.com/privacy">Privacy Policy</a>
<span class="footer_text_link"> · </span>
<a class="footer_text_link" href="http://www.cloudpointtech.com/wp-login.php">Login</a><br />
</div>
</div>
</div>
<script src="<?php bloginfo('template_directory'); ?>/js/wow.min.js"></script>
<script>new WOW().init();</script>
<script>var __adobewebfontsappname__ = "reflow"</script>
<script src="http://use.edgefonts.net/open-sans:n7,i7,n8,i8,i4,n3,i3,n4,n6,i6:all.js"></script>
<!-- END OF BOTTOM FOOTER CONTAINER-->
</footer>
<!-- END FULL FOOTER SECTION -->
</div>
<?php wp_footer(); ?>
</body>
</html>
&#13;
答案 0 :(得分:0)
我修复了我的函数文件,现在它可以工作了。
我错误地将其链接起来并添加了此内容。
wp_register_script('jquery', "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false, null);
// ******************* Include jQuery Properly ****************** //
function my_init() {
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11);
function my_jquery_enqueue() {
wp_deregister_script('jquery');
wp_register_script('jquery', "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false, null);
wp_enqueue_script('jquery');
//load a JS file from by theme: js/theme.js
wp_enqueue_script( 'midwayjs', get_template_directory_uri() . '/js/modernizr.custom.js', array('jquery'), '', true );
wp_enqueue_script( 'midwayjs', get_template_directory_uri() . '/js/script.js', array('jquery'), '', true );
wp_enqueue_script( 'midwayjs', get_template_directory_uri() . '/js/imagesloaded.js', array('jquery'), '', true );
wp_enqueue_script( 'midwayjs', get_template_directory_uri() . '/js/skrollr.js', array('jquery'), '', true );
}
}
add_action('init','my_init');
?>