Php Wordpress仅在<;之后加载--更多-->;使用ajax的内容
我的wordpress帖子结构如下Php Wordpress仅在<;之后加载--更多-->;使用ajax的内容,php,ajax,wordpress,wordpress-theming,Php,Ajax,Wordpress,Wordpress Theming,我的wordpress帖子结构如下 From nd mobiles. Get the best theme mockups on the market. <!--more--> Investigationes demonstraverunt<strong> lectores legere</strong> me lius quod ii legunt saepius. Claritas est 来自nd手机的。获得市场上最好的主题样机。 调查演示
From nd mobiles. Get the best theme mockups on the market.
<!--more-->
Investigationes demonstraverunt<strong> lectores legere</strong>
me lius quod ii legunt saepius. Claritas est
来自nd手机的。获得市场上最好的主题样机。
调查演示
我是刘库德,我是萨皮乌斯。东北单簧管
我在主页上的“更多”标签前显示帖子内容,
并尝试通过ajax单独加载“更多”内容,
我写了一些代码,但它仍然是完整的,
但我只需要在“更多”标签的一部分之后返回
前
investigations demonstraveruntlectores legere
我是刘库德,我是萨皮乌斯。东北单簧管
我通过ajax获取内容的代码只有这一部分是
<div id="single-post post-<?php the_ID(); ?>">
<?php while (have_posts()) : the_post(); ?>
<?php the_content();?>
<?php endwhile;?>
</div>
<div id="single-post post-<?php the_ID(); ?>">
<?php while (have_posts()) : the_post(); ?>
<?php the_content();?>
<?php endwhile;?>
</div>