Title: PostDivider
Author: loveless
Published: <strong>4 décembre 2008</strong>
Last modified: 12 mai 2009

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/postdivider.svg)

# PostDivider

 Par [loveless](https://profiles.wordpress.org/loveless/)

[Télécharger](https://downloads.wordpress.org/plugin/postdivider.zip)

 * [Détails](https://fr.wordpress.org/plugins/postdivider/#description)
 * [Avis](https://fr.wordpress.org/plugins/postdivider/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/postdivider/#installation)
 * [Développement](https://fr.wordpress.org/plugins/postdivider/#developers)

 [Support](https://wordpress.org/support/plugin/postdivider/)

## 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 : 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

## 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.

## FAQ

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

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« PostDivider » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

 *   [ loveless ](https://profiles.wordpress.org/loveless/)

[Traduisez « PostDivider » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/postdivider)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/postdivider/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/postdivider/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/postdivider/) 
par [RSS](https://plugins.trac.wordpress.org/log/postdivider/?limit=100&mode=stop_on_copy&format=rss).

## Méta

 *  Version **1.2**
 *  Dernière mise à jour **il y a 17 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 2.0.2 ou plus **
 *  Testé jusqu’à **2.7.1**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/postdivider/)
 * Étiquettes
 * [content](https://fr.wordpress.org/plugins/tags/content/)[excerpt](https://fr.wordpress.org/plugins/tags/excerpt/)
   [more tag](https://fr.wordpress.org/plugins/tags/more-tag/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/postdivider/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Your review](https://wordpress.org/support/plugin/postdivider/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/postdivider/reviews/)

## Contributeurs

 *   [ loveless ](https://profiles.wordpress.org/loveless/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/postdivider/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://wallofscribbles.com/wordpress-plugins)