我想在<!--more-->
标记内部循环。
我在wordpress codex上看到这个
此脚本在<!--more-->
标签:
<?php
global $more; // Declare global $more (before the loop).
$more = 0; // Set (inside the loop) to display content above the more tag.
the_content("More...");
?>
此脚本提供了包括以下文本在内的所有内容<!--more-->
标签:<?php
global $more; // Declare global $more (before the loop).
$more = 1; // Set (inside the loop) to display all content, including text below more.
the_content();
?>
我想要的是:发布内容直到<!--more-->
标记+在(大约2行)后面一点<!--more-->
标签