[英]AJAX load a dynamic page into a div
A client needs the url to stay the same on a wordpress website. 客户需要该URL在wordpress网站上保持不变。
So after trying several solutions I think the best way will be through AJAX with the .load
method. 因此,在尝试了几种解决方案之后,我认为最好的方法将是通过带有
.load
方法的AJAX。
So down the side of a page there are navigation items controlled by the WordPress engine taking you through to another page. 因此,页面的下方是由WordPress引擎控制的导航项目,可将您带到另一个页面。
Is it possible to intercept the outgoing link and load it into a div on the page without having to modify the anchor tags? 是否可以拦截出站链接并将其加载到页面上的div中,而无需修改锚标签?
This plugin should do what you are looking for: 该插件应该可以满足您的需求:
http://wordpress.org/plugins/ajaxify-wordpress-site/ http://wordpress.org/plugins/ajaxify-wordpress-site/
http://www.swook.net/p/jquery-ajaxify-plugin.html http://www.swook.net/p/jquery-ajaxify-plugin.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.