PostDivider

Created by: Corey Dutson

Rating:
Downloaded: 1k times

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 : cdutson@wallofscribbles.com)

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

Screenshots

    Categories

    Get New Themes & Resources