【发布时间】:2016-12-18 22:54:27
【问题描述】:
我在我的网站http://thedripple.com 上使用 wordpress。 我只想在我的主站点的帖子上显示http://thedripple.com/products(安装了另一个wordpress)的帖子中的表格! 我该怎么做?
【问题讨论】:
标签: javascript php jquery wordpress
我在我的网站http://thedripple.com 上使用 wordpress。 我只想在我的主站点的帖子上显示http://thedripple.com/products(安装了另一个wordpress)的帖子中的表格! 我该怎么做?
【问题讨论】:
标签: javascript php jquery wordpress
因为它们可能在同一个域中:
<div id="posts"></div>
$('#posts').load('/products/hp-envy-spectre-xt #wp-table-reloaded-id-2-no-1');
您需要以某种方式拉入 css 以使其正确显示。 example:
【讨论】: