开发者 | Corey Dutson |
---|---|
更新时间 | 2009年5月13日 03:51 |
捐献地址: | 去捐款 |
PHP版本: | 2.0.2 及以上 |
WordPress版本: | 2.7.1 |
the_excerpt()
and the_content()
respectively. You can also use a function to access all content, regardless of MORE tag.
PostDivider
to the /wp-content/plugins/
directorythe_pre_more_text();
- this will display the text automatically.$content = get_the_pre_more_text();
- this stores the text within a variable.
Getting the text after the tag
the_post_more_text();
- this will display the text automatically.
$content = get_the_post_more_text();
- this stores the text within a variable.
Getting all of the text regardless of tag
all_post_text();
- this will display the text automatically.
$content = get_all_post_text();
- this stores the text within a variable.If your post does not have a MORE tag used in it, the functions default to the normal Wordpress functions; namely the_excerpt() and the_content()