Title: Featured Posts and Custom Posts
Author: Jeremy Selph
Published: <strong>20 jūnijs, 2012</strong>
Last modified: 26 februāris, 2015

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# Featured Posts and Custom Posts

 Autors [Jeremy Selph](https://profiles.wordpress.org/jeremyselph/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/featured-posts-and-custom-posts.5.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/featured-posts-and-custom-posts/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/featured-posts-and-custom-posts/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/featured-posts-and-custom-posts/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/featured-posts-and-custom-posts/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/)

## Apraksts

When working on WordPress themes, we tend to use a lot of custom post types. This
gives the end- user custom little sections to manage content in. Often enough we
see the need to be able to feature posts or custom posts of custom post types (cpts).

This can be accomplished by using a bunch of different Featured Posts Plugins. And
we probably have used all of them over the years. To date we have yet to find one
that didn’t conflict or break somehting in our WordPress themes. So we created our
own, to be specifc we created our own to be easily used with Posts, Custom Posts,
and with the Simple Page ordering plugin that we install on every WordPress Theme
that we develop.

To use:

 1. Download the feature-posts-and-custom-posts.zip file to your computer.
 2. Unzip the file.
 3. Upload the feature-posts-and-custom-posts folder to your /wp-content/plugins/ directory.
 4. Activate the plugin through the Plugins menu in WordPress.
 5. In your theme and in the template you need the featured functionality uses a custom
    query like this query_posts("post_type=professionals&posts_per_page=-1&meta_key
    =_jsFeaturedPost&meta_value=yes"); to grad all of the featured posts.

For Plugin and Theme development requets email us at info@reactivedevelopment.net
or go here http://www.reactivedevelopment.net/. If you have questions or requests
for this plugin go here https://wordpress.org/support/plugin/featured-posts-custom-
posts, for quick and paid support message us here at http://www.reactivedevelopment.
net/contact/send-message/.

New in Version 2.0
 1. New js_featured_is_post_featured( postID[int] ) function 
2. short cut is_post_featured( userID[int] ) function 3. js_featured_return_all_featured()
function that returns an array of featured posts 4. New widget added 5. Post class“
jsFeatured” on archive templates added if the post is featured 6. New shortcode [
jsFeaturedPosts posts_per_page=”1″ wrap_before=”

 * ” wrap_after=”

” link_before=”

  ” link_after=”
  ” link_atts=”rel=’bookmark’” link_title=”Link to”]
  
  ## Uzstādīšana
  
   1. Download the feature-posts-and-custom-posts.zip file to your computer.
   2. Unzip the file.
   3. Upload the feature-posts-and-custom-posts folder to your /wp-content/plugins/
      directory.
   4. Activate the plugin through the Plugins menu in WordPress.
   5. In your theme and in the template you need the featured functionality uses a 
      custom query like this query_posts("post_type=professionals&posts_per_page=-1&
      meta_key=_jsFeaturedPost&meta_value=yes"); to grad all of the featured posts.
  
  ## BUJ
  
    Coming Soon
  Let me know what questions you have!
  
  ## Atsauksmes
  
  Par šo spraudni nav atsauksmju.
  
  ## Autori un izstrādātāji
  
  “Featured Posts and Custom Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni
  ir veidojuši šādi cilvēki.
  Līdzdalībnieki
   *   [ Jeremy Selph ](https://profiles.wordpress.org/jeremyselph/)
  [Tulkot “Featured Posts and Custom Posts&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/featured-posts-and-custom-posts)
  
  ### Vai jūs interesē attīstība?
  
  [Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/featured-posts-and-custom-posts/),
  apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/featured-posts-and-custom-posts/)
  vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/featured-posts-and-custom-posts/),
  ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/featured-posts-and-custom-posts/?limit=100&mode=stop_on_copy&format=rss).
  
  ## Meta
  
   *  Versija **2.0**
   *  Pēdējo reizi atjaunots: **pirms 11 gadiem**
   *  Aktīvās instalācijas: **100+**
   *  WordPress versija ** 3.1.1 vai jaunāka **
   *  Pārbaudīts līdz: **4.1.42**
   *  Valoda
   * [English (US)](https://wordpress.org/plugins/featured-posts-and-custom-posts/)
   * Birkas:
   * [custom post types](https://lv.wordpress.org/plugins/tags/custom-post-types/)
     [custom posts](https://lv.wordpress.org/plugins/tags/custom-posts/)[featured](https://lv.wordpress.org/plugins/tags/featured/)
     [posts](https://lv.wordpress.org/plugins/tags/posts/)
   *  [Papildu skats](https://lv.wordpress.org/plugins/featured-posts-and-custom-posts/advanced/)
  
  ## Vērtējumi
  
   4 no 5 zvaigznēm.
   *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=5)
   *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=4)
   *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=3)
   *  [  1 2-star review     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=2)
   *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/?filter=1)
  [Your review](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/#new-post)
  [Skatīt visas atsauksmes](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/reviews/)
  
  ## Līdzdalībnieki
  
   *   [ Jeremy Selph ](https://profiles.wordpress.org/jeremyselph/)
  
  ## Atbalsts
  
  Jums ir kaut kas ko teikt? Vajadzīga palīdzība?
   [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/featured-posts-and-custom-posts/)
  
  ## Ziedojiet
  
  Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?
   [ Ziedojiet šim spraudnim ](http://www.reactivedevelopment.net/snippets/featured-posts-custom-posts)