Plugin info

Total downloads: 1,682
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/12/2009 (6077 days ago)
Added to WordPress: 12/4/2008 (17 years old)
Minimum WordPress version: 2.0.2
Tested up to WordPress version: 2.7.1
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6077 days ago

20/100

Is PostDivider abandoned?

Possibly abandoned (last update 6077 days ago).

Compatibility

Requires WordPress: 2.0.2
Tested up to: 2.7.1
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Do More
Rating 5.0/5 (2 reviews)Active installs 10
Breathable More Tag
Rating 0.0/5 (0 reviews)Active installs 0

Description

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.

Current version

Current version: 1.2

Revision History

0.1 – made within the functions.php file of the theme
0.5 – created the plugin, still required $post->post_content to be passed to functions
1.0 – removed $post->post_content to be passed in.
1.1 – fixed a bug that stopped the_content() from posting
1.2 – added function to get all post content, regardless of MORE tag

GPL

Copyright 2008 Corey Dutson (email : [email protected])

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Installation

  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(); – 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.

Frequently Asked Questions

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

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available