Title: Yet Another Featured Posts Plugin (YAFPP)
Author: JonRaasch
Published: <strong>1. Oktober 2009</strong>
Last modified: 23. April 2010

---

Plugins durchsuchen

Dieses Plugin **ist nicht mit den jüngsten 3 Hauptversionen von WordPress** getestet
worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme
haben, wenn es mit neueren Versionen von WordPress verwendet wird.

![](https://s.w.org/plugins/geopattern-icon/yet-another-featured-posts-plugin.svg)

# Yet Another Featured Posts Plugin (YAFPP)

 Von [JonRaasch](https://profiles.wordpress.org/jonraasch/)

[Herunterladen](https://downloads.wordpress.org/plugin/yet-another-featured-posts-plugin.zip)

 * [Details](https://de.wordpress.org/plugins/yet-another-featured-posts-plugin/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/yet-another-featured-posts-plugin/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/yet-another-featured-posts-plugin/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/yet-another-featured-posts-plugin/#developers)

 [Support](https://wordpress.org/support/plugin/yet-another-featured-posts-plugin/)

## Beschreibung

Yet Another Featured Posts Plugin (YAFPP) provides an easy interface to feature 
posts in your WordPress blog. Simply check the ‚featured stars‘ associated with 
each post in WordPress‘ post listing screen to feature or unfeature a post. This
info is posted immediately to your WordPress settings using AJAX.

This interface for featuring/unfeaturing posts is a big step up from other featured
posts plugins, which make you enter a string of IDs.

Additionally, YAFPP provides a number of output options for WP developers – you 
can echo out or return an HTML formatted string of featured posts, return an array
of featured post data or manipulate WordPress‘ The_Loop.

Using these display options you can easily display a thumbnail with each featured
post, or otherwise modify the list of featured posts according to your setup.

Not a developer? Beginners can also display thumbnails with their featured posts
by installing [YAPB](https://wordpress.org/extend/plugins/yet-another-photoblog/).
YAFPP interfaces nicely with YAPB, and allows you to display YAPB thumbnails along
with your normal featured posts output.

Please read the [complete documentation for YAFPP](http://dev.jonraasch.com/yafpp/docs)

### License

Copyright 2009-2010 Jon Raasch – Released under the FreeBSD License – [License details](http://dev.jonraasch.com/yafpp/docs#licensing)

## Screenshots

 * [[
 * Settings page for YAFPP – unfeature already featured posts, edit display and 
   permission settings
 * [[
 * Featuring posts from the post listing page – just click each posts ‚featured 
   star‘

## Installation

#### Basic installation of YAFPP is simple:

 1. Upload the folder `yet-another-featured-posts-plugin` into the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. Select featured posts by clicking the ‚featured stars‘ within the post listing 
    in ‚Posts > Edit‘
 4. Place `<?php if ( function_exists('get_featured_posts') ) get_featured_posts();?
    >` wherever you want a list of featured posts in your templates

#### Output options

For more advanced users there are a number of output options. Simply pass an option
array: `<?php get_featured_posts(array( 'method' => 'return' ); ?>`. In this example`
<?php get_featured_posts(); ?>` would return the formatted string of data instead
of echoing it.

Output options include:

 * `echo` : (Default) Echoes an HTML formatted string of featured posts
 * `return` : Returns an HTML formatted string of featured posts
 * `arr` : Returns a PHP array of data related to the featured posts
 * `the_loop` : Alters the query for WordPress‘ [The_Loop](https://codex.wordpress.org/The_Loop)

See the FAQs for more info on output options.

Read the [complete documentation](http://dev.jonraasch.com/yafpp/docs)

## FAQ

  How do I feature pages?

First, in the YAFPP settings page, check the checkbox ‚Allow pages to be featured‘.
Now any pages you feature will show in the list of featured posts.

  How do I separate featured posts & pages?

When calling `get_featured_posts()` you can pass in the option `post_type` to either`
post` or `page` to specify entries of that type. So to get a list of featured posts
only:

    ```
    <?php get_featured_posts( array('post_type' => 'post') ); ?>
    ```

Or pull a list of only featured pages:

    ```
    <?php get_featured_posts( array('post_type' => 'page') ); ?>
    ```

  What data is returned when using the `arr` output method?

YAFPP returns an array in this format:

    ```
    <?php array(
        'id'      => '', // id of the post
        'title'   => '', // title of the post
        'excerpt' => '', // excerpt of the post
        'url'     => '', // the post permalink
        'image'   => '', // an array of data for a YAPB image, if it exists
        'author' =>  '', // the post's author
    ); ?>
    ```

  How do I use the `the_loop` output method?

When using `the_loop` output method, YAFPP alters the next instance of The_Loop 
to contain only the featured posts. To call these featured posts, call The_Loop:

    ```
    <?php
    get_featured_posts(array('method' => 'the_loop'));

     while (have_posts()) : the_post();
    //whatever you want in here
    endwhile;
    ?>
    ```

It should be noted that the original query is still preserved when using this method.
Thus if you want to call the original query for a given page, just call The_Loop
a second time:

    ```
    <?php
    get_featured_posts(array('method' => 'the_loop'));

     while (have_posts()) : the_post();
    //whatever you want to do with the featured posts
    endwhile;

     while (have_posts()) : the_post();
    //whatever you want to do with the original loop
    endwhile;
    ?>
    ```

For more answers to your YAFPP questions, please read the [complete documentation](http://dev.jonraasch.com/yafpp/docs)

## Rezensionen

Für dieses Plugin gibt es keine Rezensionen.

## Mitwirkende und Entwickler

„Yet Another Featured Posts Plugin (YAFPP)“ ist Open-Source-Software. Folgende Menschen
haben an diesem Plugin mitgewirkt:

Mitwirkende

 *   [ JonRaasch ](https://profiles.wordpress.org/jonraasch/)
 *   [ pdclark ](https://profiles.wordpress.org/pdclark/)

[Übersetze „Yet Another Featured Posts Plugin (YAFPP)“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/yet-another-featured-posts-plugin)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/yet-another-featured-posts-plugin/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/yet-another-featured-posts-plugin/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/yet-another-featured-posts-plugin/)
per [RSS](https://plugins.trac.wordpress.org/log/yet-another-featured-posts-plugin/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.4**
 *  Zuletzt aktualisiert **vor 16 Jahren**
 *  Aktive Installationen **100+**
 *  WordPress-Version ** 2.8.4 oder höher **
 *  Getestet bis **2.9.2**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/yet-another-featured-posts-plugin/)
 * Schlagwörter
 * [featured](https://de.wordpress.org/plugins/tags/featured/)[featured posts](https://de.wordpress.org/plugins/tags/featured-posts/)
   [Highlight](https://de.wordpress.org/plugins/tags/highlight/)[star](https://de.wordpress.org/plugins/tags/star/)
   [starred](https://de.wordpress.org/plugins/tags/starred/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/yet-another-featured-posts-plugin/advanced/)

## Bewertungen

Es wurden noch keine Rezensionen eingereicht.

[Your review](https://wordpress.org/support/plugin/yet-another-featured-posts-plugin/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/yet-another-featured-posts-plugin/reviews/)

## Mitwirkende

 *   [ JonRaasch ](https://profiles.wordpress.org/jonraasch/)
 *   [ pdclark ](https://profiles.wordpress.org/pdclark/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/yet-another-featured-posts-plugin/)

## Spenden

Möchtest du die Weiterentwicklung dieses Plugins unterstützen?

 [ Für dieses Plugin spenden ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4URDTZYUNPV3J&lc=US&item_name=Jon%20Raasch&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)