Title: Select Featured Posts
Author: mediology
Published: <strong>26. juli, 2010</strong>
Last modified: 18. november, 2010

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Select Featured Posts

 Af [mediology](https://profiles.wordpress.org/mediology/)

[Download](https://downloads.wordpress.org/plugin/select-featured-posts.0.2.zip)

 * [Detaljer](https://da.wordpress.org/plugins/select-featured-posts/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/select-featured-posts/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/select-featured-posts/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/select-featured-posts/#developers)

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

## Beskrivelse

This allows you to mark the selected post as featured post and hence enables editors,
publishers, bloggers etc to feature relavent content on the site.

In most content publishing scenarios, where there are a large set of contributors,
certain posts require to be featured in relevant content sections of your WP site,
so that they draw the maximim attention span from the readers. This Plugin allows
the editors or administrators to mark a set of posts as featured posts. Then using
a simple functional call in your theme, you can dynamically display the featured
posts. if you want to place it separatly.

**Select Featured Posts plugin is also available as a widget.**

We would be keen you hear your feedback and requests for any enhancements. Please
send your feedback to wordpress@mediologysoftware.com.

## Skærmbilleder

 * [[
 * Select Featured post checkbox in the Admin panel
 * [[
 * Widget Display.

## Installation

 1. Upload the `select-featured-posts` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the Posts -> Posts screen if you have wordpress 3.0 and for older versions
    go to Posts -> Edit.
 4. Check and uncheck posts to make it featured/unfeatured
 5. To use it in theme add this before query_posts or get_posts
 6. if (function_exists(‘featured_posts’)) {
     featured_posts(‘add’); }
 7. If query_posts or get_posts is not there in your theme then you can add above code
    and query_posts before while loop
     For eg.

    ```
      if (function_exists('featured_posts')) {
        featured_posts('add');
      }
      query_posts('posts_per_page=10');
        while ( have_posts() ) : the_post();
        //Your Code
      endwhile; // end of the loop.
      if (function_exists('featured_posts')) {
        featured_posts('remove');
      }
    ```

 1. To remove the featured post from the query post buffer once the same have been 
    displayed add this code
 2. if (function_exists(‘featured_posts’)) {
     featured_posts(‘remove’); }

For eg.

    ```
      if (function_exists('featured_posts')) {
          featured_posts('add');
        }
        query_posts('category_name=Entertainment');
        // Hence now that the featured posts have been displayed clear them so that they don't get repeated.
        if (function_exists('featured_posts')) {
          featured_posts('remove');
        }
    ```

So it will give featured post of Entertainment Category.

OR

 1. If you want to get Featured post IDs only then use this
 2. if (function_exists(‘get_featured_posts’)) {
     $limit = 5; $featured_posts = get_featured_posts(
    $limit); }
 3. If your theme supports widgets then go to Appearance -> Widgets and just Drag and
    Drop Select Featured Post Widget.
 4. In widget you can specify total no of posts or Featured Post of a Category.

## FAQ

Please send us your questions to wordpress@mediologysoftware.com. We will feature
the frequently asked questions and answers here.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Select Featured Posts” er open source-software. Følgende personer har bidraget 
til dette plugin.

Bidragsydere

 *   [ mediology ](https://profiles.wordpress.org/mediology/)
 *   [ Kapil Chugh ](https://profiles.wordpress.org/kapilchugh/)

[Oversæt “Select Featured Posts” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/select-featured-posts)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/select-featured-posts/),
tjek [SVN repository](https://plugins.svn.wordpress.org/select-featured-posts/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/select-featured-posts/)
via [RSS](https://plugins.trac.wordpress.org/log/select-featured-posts/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.2

 * Removed Notices and updated documentation

#### 0.1

 * Initial release

## Meta

 *  Version **0.2**
 *  Senest opdateret **16 år siden**
 *  Aktive installationer **80+**
 *  WordPress-version ** 2.8 eller højere **
 *  Testet op til **3.0.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/select-featured-posts/)
 * Tags
 * [ajax](https://da.wordpress.org/plugins/tags/ajax/)[featured](https://da.wordpress.org/plugins/tags/featured/)
   [featured post](https://da.wordpress.org/plugins/tags/featured-post/)[post](https://da.wordpress.org/plugins/tags/post/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/select-featured-posts/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/select-featured-posts/reviews/)

## Bidragsydere

 *   [ mediology ](https://profiles.wordpress.org/mediology/)
 *   [ Kapil Chugh ](https://profiles.wordpress.org/kapilchugh/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/select-featured-posts/)