=== Auto Featured Image (Auto Post Thumbnail) ===
Contributors: themeisle
Tags: post thumbnails, featured image, elementor, thumbnails, featured image from title
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 4.2.2
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically generate the Featured Image from the first image in post or any custom post type only if Featured Image is not set manually. Featured Image Generation From Title. Native image search for Elementor, Gutenberg, Classic Editor.

== Description ==

Automatically generate the Featured Image from the first image in post or any custom post type only if Featured Image is not set manually. Featured Image Generation From Title. Native image search for Elementor, Gutenberg, Classic Editor.

CREATE A FEATURED IMAGE IN 5 SECONDS
1. Generate or remove featured images in one click.
2. Customize the process – generate or remove featured images
from the list of posts or pages.
3. Native image search for Elementor, Gutenberg, Classic Editor.
4. Use filters – generate or remove featured images based on the
post type, status, category, or the creation date.
5. Automatically generates an image for each post from the post title and sets it as the featured image. NEW!
6. Search &amp; upload featured images from popular stock
platforms instantly.

AFI (APT) users save up to 20 minutes per hour on generating content for a website.
Let’s go through the process of creating a post and see how timesaving APT can be.

1. Enter a post title.
2. Add a text.
3. Search for images with the Creative Commons license.
Download images from a search page or a stock service.
4. Upload images.  Add them to a post accordingly.
5. Upload a featured image.
6. Publish a post.

It takes six steps to create a post.
Now imagine that APT turns three steps into one! Learn how to save up to 30% time for more engaging activities!

This plugin is a must-have for every WordPress blog. Don’t
hesitate to install this content maker tool on your website.
Recommend it to your friends and colleagues; maximize their
time and make their websites better!

New features of AFI automatically generates an image for each post from the post title and sets it as the featured image. The image will then be included in your theme wherever the featured image for the post is called for.
It’s good to have an image in every post and page that you create. It helps for things like search engine optimization, social sharing, and just the attractiveness of your website or blog. But sometimes it can take longer to find a good image for a particular blog post than to write the post itself. And often, quality images are expensive.
This features of APT simplifies the process of publishing content and saves you money. It will automatically create a customized image for each post or page that you write. You can select a background image to match the look and feel of your blog, and the plugin will automatically write the title (or other text of your choosing) of a new or updated post or page on top of this background image to create a unique featured image for each post.


#### AFI [PRO](https://cm-wp.com/apt/) ####
1. Filters to generate or remove featured images based on the post type, status, category, or the creation date
2. Generate or remove featured images from the list of posts or pages
3. Featured Image Generation From Title.
4. Upload your own background images.
5. Upload your own fonts.
6. Position the text on the image.
7. Unlimited search & upload featured images from Google, Unsplash, Pixabay.
8. Images are recommended by the NEURAL NETWORK.
9. Import all images from the post text to the media library.

[learn more](https://cm-wp.com/apt/).

== What’s Next ==

If you like this plugin, then consider checking out our other projects:
[Clearfy](https://clearfy.pro/) - WordPress optimization plugin and disable ultimate tweaker
[Robin image optimizer](https://robinoptimizer.com/) - Make your WordPress site blazingly fast and rank higher in search engines.
[Woody ad snippets](https://woodysnippet.com/) - Save up to 70 hours of routine work on your WordPress website monthly!
[Social Slider Widget](https://cm-wp.com/instagram-slider-widget/) - Display Instagram feeds in widgets, posts, pages, or anywhere else using shortcodes
[AntiSpam](https://anti-spam.space/) - Stop spam form submissions on your WordPress

THANKS TO THE PLUGIN DEVELOPERS
We’ve used some of the powerful features from the
plugins: Dynamic Featured Image, Featured Image from URL, Regenerate Thumbnails, Force Regenerate Thumbnails, Recent Posts Widget Extended

TRANSLATIONS:
<ul>
<li>English (default), always included</li>
<li>Italian — big thanks to @marcnyc</li>
<li>Spanish (Spain) — big thanks to @nobnob</li>
<li>Dutch — big thanks to @psmits1567</li>
<li>Spanish (Venezuela) — big thanks to @nobnob, @yordansoares</li>
<li>French (France) — @btpub</li>
<li>Swedish — @elbogen</li>
</ul>
<p>We are very need for your help with <a href="https://translate.wordpress.org/projects/wp-plugins/auto-post-thumbnail//" rel="nofollow ugc">translating the
Auto Featured Image plugin</a> into your native language. We want to make it international and understandable for everyone. Please contact us via email inside the plugin, or create a topic on our <a href="https://wordpress.org/support/plugin/auto-post-thumbnail/">support forum</a> if you can help with the translations. In exchange for your help, we will give you better support and our premium plugins absolutely free!</p>
https://cm-wp.com/apt/

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Settings->APT - disable unused features screen to configure the plugin

== Screenshots ==

1. New image generation tools
2. Bulk Featured Images generation
3. Featured Images selective generation
4. Manual Featured Images Selection
5. Image search in Google, Unsplash, Pixabay
6. Compatibility with Elementor and Gutenberg
7. Feature image generation from title
8. Font settings
9. Text settings
10. Text settings
11. Text settings

== Changelog ==

#####   Version 4.2.2 (2025-12-10)

- Enhanced security




#####   Version 4.2.1 (2025-11-27)

- Fixes issue with post type checkboxes not appearing on the settings page
- Fixes error when used with PRO version




####   Version 4.2.0 (2025-10-20)

Auto Featured Image plugin has been acquired by Themeisle 🎉
We’re happy to announce that Themeisle is now the new owner of Auto Featured Image. This acquisition will help ensure the plugin’s continued development, better support, and exciting new updates in the future.

Your existing setup will continue to work as usual — no action is required on your part.



= 4.1.7 (07.05.2025) =
* Added: Wordpress 6.8 compatibility

= 4.1.6 (09.12.2024) =
* Added: Сompatibility with premium plugin

= 4.1.5 (09.12.2024) =
* Added: Wordpress 6.7 compatibility
* Added: Php 8.3 compatibility
* Fixed security issues

= 4.1.4 (29.07.2024) =
* Fixed security issues

= 4.1.2 =
* Updated plugin interface
* Bug fixes
* Fixed security issues

= 3.9.3 =
* Wordpress 6.5 compatibility
* php 8.2 compatibility

= 3.9.18 =
* Wordpress 6.2 compatibility
* ADD: The current generation method selected in the settings is displayed on the generation form

= 3.9.17 =
* FIX: Some compatibility error

= 3.9.16 =
* ADD: The ability to select an image from the media library in a pop-up window in the list of posts
* FIX: Vulnerability with file extension

= 3.9.15 =
* FIX: Some fixes

= 3.9.14 =
* FIX: Image search in the post text

= 3.9.13 =
* Some fixes for compatibility with premium plugin

= 3.9.12 =
* ADD: CRON scheduled image generation (New option in settings) - PREMIUM
* FIX: Compatibility with ShortPixel plugin
* FIX: Generating images after importing via XML-RPC
* FIX: Optimization of image generation

= 3.9.11 =
* FIX: Google search API issue

= 3.9.10 =
* ADD: Default image for generation
* FIX: Memory allocate error on Generation page

= 3.9.9 =
* FIX: Font for title generation

= 3.9.8 =
* Some fixes

= 3.9.7 =
* Fixed: Errors

= 3.9.6 =
* Fixed: Some fixes

= 3.9.4 =
* Fixed: Some fixes

= 3.9.3 =
* Fixed: Security issue
* Add: Sidebar on this plugin pages

= 3.9.2 =
* Fixed: Link to the pricing page
* Fixed: WP 5.8 compatibility.

= 3.9.1 =
* Fixed: post type generation.
* Fixed: multisite support.
* Other minor fixes

= 3.9.0 =
* New appearance of the plugin pages.
* Add: Logging the generation process.
* Fixed: generation fixes.
* Other minor fixes

= 3.8.1 =
* Fixed: Adding images to the post text.
* Add: Import all images from the post text to the media library. [(PRO)](https://cm-wp.com/apt/)
* Other minor fixes

= 3.8.0 =
* Fixed: Encoding issues (On the generated image, the title displayed html entities instead of characters.).
* Added: New option in the image settings: dimensions of the generated image
* Other minor fixes
* Added: NEW OPTION: Search for an image by title of the post in Google [(PRO)](https://cm-wp.com/apt/)

= 3.7.7 =
* Fixed: Encoding issues. [Solution](https://wordpress.org/support/topic/not-working-with-cyrillic-titles) by @bibliata
* Fixed: Uppercase issue (agréable > AGRéABLE) strtoupper() -> mb_strtoupper()
* Raised the minimum version of PHP -> 7.0
* Other minor fixes

= 3.7.6 =
* Fixed: Selecting a date on the mass generation page

= 3.7.5 =
* Fixed: jQuery.fn.load() and other bugs after update to Wordpress 5.5

= 3.7.4 =
* Fixed: Google image search

= 3.7.3 =
* Added: Images in posts are recommended by the NEURAL NETWORK. (PRO)

= 3.7.2 =
* Fixed: generation of featured images

= 3.7.1 =
* Added: "Commercial and derived use" checkbox for Google search
* Fixed: Divi theme compatible

= 3.7.0 =
* Added: Automatically generation an image for each post from the post title and sets it as the featured image
* Added: Settings for featured image generation
* Added: Support for Wordpress mobile apps (automatic add featured image when creating/updating a post)
* Redesigned Settings page
* Fixed: "Metadata error" when trying to download an image from photobank
* Fixed: In some cases the plugin did not find images in the post text
* Fixed: (PRO) In the automatic generation filter, you can select a custom post type if it is displayed on the frontend
* Many other minor changes and bugfixes

= 3.6.0 =
* New: Bulk delete thumbnails
* New: Before searching images in the text of the post, the shortcodes are executed
* Updated About page
* Translation into Russian language
* Other minor changes and bugfixes

= 3.5.0 (2019-09-11) =
* Fixed: Php warning "is_readable(): open_basedir restriction in effect". [more](https://wordpress.org/support/topic/today-after-the-update/)

= 3.5.0 =
* Fixed: Errors in the plugin on user requests
* New: Bulk Featured Images generation
* New: Featured Images selective generation
* New: Manual Featured Images Selection
* New: Image search in Google, Unsplash, Pixabay
* New: Compatibility with Elementor and Gutenberg.

= 3.4.1 =
* Fix for unchecked extension of uploaded files

= 3.4.0 =
* Tested with the latest wordpress release.

= 3.3.3 =
* Fix for SQL error begin caused due to no ID

= 3.3.2 =
* Tested with WordPress-3.6.x
* Small tweaks

= 3.3.1 =
* Tested with WordPress-3.5.1

= 3.3.0 =
* Added fix for featured images behaving differently in Wordpress version 3.4. NOTE: This version will fix only images in future posts. For fixing images of past posts see http://www.clickthrough-marketing.com/how-to-fix-auto-post-thumbnail-on-wordpress-3.4-seo-friendly-800610805/

= 3.2.3 =
* Added fix for jquery progress bar error causing due to Wordpress version 3.1

= 3.2.2 =
* Added back publish_post action so that regular posts work without any issues.
* Added code to check whether the image exists in database before trying to fetch it.

= 3.2.1 =
* Added code to correctly link the featured/post thumbnail with the post so that the Media Library shows the association correctly.
* Assigning **title** to the generated featured/post thumbnail by extracting it from the title of processed image.

= 3.2 =
Added support for creating featured thumbnails for custom post types as well. Batch processing will also generate thumbnails for any type of post.

= 3.1 =
Renamed **Gen. Post Thumbnails** to **Auto Featured Image** and moved it under Settings menu.

= 3.0 =
* Added Batch Processing capability to generate post thumbnails for already published posts.
* A new menu item **Gen. Post Thumbnails** is added under Tools menu.

= 2.0 =
Added functionality to generate Post Thumbnail for scheduled posts. Thumbnail will be generated when scheduled post gets published.

= 1.1 =
Added a wrapper function using cURL for file_get_contents in case 'allow_url_fopen' ini setting is off.

= 1.0 =
First release
