Title: Automatic Featured Image Posts
Author: Jeremy Felt
Published: <strong>10 decembris, 2011</strong>
Last modified: 2 novembris, 2013

---

Meklēt spraudņus

![](https://ps.w.org/automatic-featured-image-posts/assets/banner-772x250.png?rev
=481718)

Šī 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/automatic-featured-image-posts_a5c0de.
svg)

# Automatic Featured Image Posts

 Autors [Jeremy Felt](https://profiles.wordpress.org/jeremyfelt/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/automatic-featured-image-posts.1.0.zip)

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

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

## Apraksts

Automatic Featured Image Posts creates a new post with a Featured Image every time
an image is uploaded. Through the plugin settings page, you can set the image to
publish and assign itself to one of your other existing custom post types and/or
post formats.

The imagined use case is to make managing a large number of photos through WordPress
a little more interesting and a little more fun.

After uploading 10, 100, or 1000 pictures from an event or vacation, you and other
users can go through and spend the majority of your time adding content, tags, and
titles to your photographs rather than going through a monotonous process creating
new posts over and over again.

Settings are available for:

 * Default Post Status (draft, pending, published, private)
 * Default Post Type
    - Default is the WordPress post.
    - Can choose any custom post type registered in your WordPress installation.
 * Default Post Format
    - Default is ‘standard’, which equates to none.
    - Other options are provided if registered by your theme

Filters are available for:

 * `afip_new_post_title` = Allow other functions or themes to change the post title
   before creation.
 * `afip_new_post_category` = Allow other functions or themes to change the post
   categories before creation.
 * `afip_new_post_content` = Allow other functions or themes to change the post 
   content before creation.
 * `afip_new_post_date` = Allow other functions or themes to change the post date
   before creation.
 * `afip_post_parent_continue` = Allow creation of a new post when an image is inserted
   in an existing post.
 * `afip_continue_new_post` = Allow other functions or themes to skip creation of
   a post.

Actions are available for:

 * `afip_pre_create_post` = Runs immediately before each post is created for an 
   image.
 * `afip_created_post` = Runs after each image load is processed.

Feel free to [fork, submit issues, and/or contribute on GitHub](https://github.com/jeremyfelt/Automatic-Featured-Image-Posts)

## Uzstādīšana

 1. Upload ‘automatic-featured-image-posts’ to your plugin directory, usually ‘wp-content/
    plugins/’, or install automatically via your WordPress admin page.
 2. Activate Automatic Featured Image Posts in your plugin menu.
 3. If you’d like to change the default post status or post type, configure the plugin
    using the Auto Image Posts menu under Settings in your admin page. (_See Screenshot_)

That’s it!

## BUJ

  Why don’t I see any of my images? The posts were created.

 * More than likely the installed theme does not support featured images (post thumbnails).
   If this is the case, images are assigned to posts in the background, but there
   is no interface to display or edit them.
 * A warning will appear on your Automatic Featured Image Posts settings screen 
   if it is detected that featured images are not enabled.

  Can you put the images in post content instead of setting them as a featured image?

 * I can’t, but you can with the included filters. Check out the [writeup on the new filters](http://jeremyfelt.com/wordpress/2012/04/14/filters-in-automatic-featured-image-posts)

## Atsauksmes

![](https://secure.gravatar.com/avatar/e242986ca4d4ba5ab84052f3f082e3e3bffce3f92d82b8979b53ac56e6a4b495?
s=60&d=retro&r=g)

### 󠀁[If you need it, you need it!](https://wordpress.org/support/topic/if-you-need-it-you-need-it/)󠁿

 [jondor](https://profiles.wordpress.org/jondor/) 11 decembris, 2017

One of those plugins which make my life a lot easier. Yes, it’s rather specific,
but for those who want to use wordpress as a photoblog it’s great. On request though,
could you update the “tested up to” tag in the readme? Wordpress.org complains it’s
too long ago since something changed and it doesn’t show up anymore in the search
results for new plugins. As it works quite nice under 4.9.1, a minor update would
solve this issue. Thanks!

![](https://secure.gravatar.com/avatar/4e42160fadf085868d38e022bc1220a23d602d43f65b101524d757be51979916?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-826/)󠁿

 [aureliendebord](https://profiles.wordpress.org/aureliendebord/) 3 septembris, 
2016

Saved a lot of time !

![](https://secure.gravatar.com/avatar/5e4d94f98330d8f1a0d60b83b855798f0ed52bfb2187da32ef361426c1e4d1f5?
s=60&d=retro&r=g)

### 󠀁[Works Flawlessly](https://wordpress.org/support/topic/works-flawlessly-60/)󠁿

 [dbp](https://profiles.wordpress.org/optimus203/) 3 septembris, 2016

Exactly what I needed. Works very well even though it hasn’t been updated in a few
years.

 [ Lasīt 12 atsauksmi ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/)

## Autori un izstrādātāji

“Automatic Featured Image Posts” ir atvērtā pirmkoda programmatūra. Šo spraudni 
ir veidojuši šādi cilvēki.

Līdzdalībnieki

 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)

[Tulkot “Automatic Featured Image Posts&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/automatic-featured-image-posts)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/automatic-featured-image-posts/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/automatic-featured-image-posts/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/automatic-featured-image-posts/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/automatic-featured-image-posts/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0

 * Confirm compatibility with WordPress 3.7
 * Introduce new action, `afip_pre_create_post`, to allow actions to occur immediately
   before inserting a new post for an image.
 * Introduce new filter, `afip_continue_new_post`. Return false to skip creation
   of a post for a specific image.
 * General code cleanup.

#### 0.9

 * Implement decision to skip images that are uploaded to existing posts
 * Add filter for afip_post_parent_continue to allow overriding this decision
 * Add action afip_created_post to run after each operation

#### 0.8

 * Compatibility check with upcoming WordPress 3.5, all is a go!
 * Fix post time bug to account for WordPress timezone setting. props Matthew Harris
 * Add filter to new post date so that it can be modified.
 * General code style cleaning

#### 0.7

 * Fix a couple bugs with saving options when post formats aren’t yet enabled.

#### 0.6

 * Add filters to allow themes and plugins to change the post title, categories,
   and content before creation

#### 0.5

 * Add support for Post Formats. If your theme supports it, you can now select to
   publish as an image, aside, etc…
 * Make sure the attachment is also adhering to core parent/inherit standards after
   media is uploaded.
 * Add a warning for themes that do not support featured images.
 * Code cleanup, specifically moving everything into its own class to be a good 
   global namespace citizen.

#### 0.4

 * Switched to use add_attachment action hook, possible avoidance of issues that
   I couldn’t confirm, but could exist, in using wp_update_attachment_metadata
 * Code cleanup, formatting, standards

#### 0.3

 * An option to assign the posts created through Automatic Featured Image Posts 
   to any of your existing custom post types has been added.
 * General code cleanup & refactoring.
 * Language file update to match new settings.

#### 0.2

 * Images uploaded through the ‘edit post’ screen are now assigned the categories
   of that post. Requested by jackthalad. Will be a configurable option in next 
   release.

#### 0.1

 * In which a plugin begins its life.

## Meta

 *  Versija **1.0**
 *  Pēdējo reizi atjaunots: **pirms 12 gadiem**
 *  Aktīvās instalācijas: **300+**
 *  WordPress versija ** 3.2.1 vai jaunāka **
 *  Pārbaudīts līdz: **3.7.41**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/automatic-featured-image-posts/)
 * Birkas:
 * [featured image](https://lv.wordpress.org/plugins/tags/featured-image/)[media](https://lv.wordpress.org/plugins/tags/media/)
   [photo](https://lv.wordpress.org/plugins/tags/photo/)[pictures](https://lv.wordpress.org/plugins/tags/pictures/)
   [posts](https://lv.wordpress.org/plugins/tags/posts/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/automatic-featured-image-posts/advanced/)

## Vērtējumi

 4.8 no 5 zvaigznēm.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/?filter=1)

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

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/automatic-featured-image-posts/reviews/)

## Līdzdalībnieki

 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/automatic-featured-image-posts/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](http://jeremyfelt.com/wordpress/plugins/automatic-featured-image-posts/)