Linux 软件免费装

PostDivider

开发者 Corey Dutson
更新时间 2009年5月13日 03:51
捐献地址: 去捐款
PHP版本: 2.0.2 及以上
WordPress版本: 2.7.1

标签

content excerpt more tag

下载

详情介绍:

Provides hooks that can be used within 'The Loop' to grab content from before and after the tag. If no MORE tag is provided, it will return the_excerpt() and the_content() respectively. You can also use a function to access all content, regardless of MORE tag.

安装:

  1. Upload PostDivider to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
Once that's done, you can use the following hooks to display the content: (Please note that these functions operate within 'The Loop') Getting the text before the tag

常见问题:

The pre more text is just displaying the excerpt, and the post more has all of the content including the excerpt! What's going on?

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()