Version Description
- FIX: Font for title generation
Download this release
Release Info
Developer | webtemyk |
Plugin | Auto Post Thumbnail |
Version | 3.9.9 |
Comparing to | |
See all releases |
Code changes from version 3.9.8 to 3.9.9
- auto-post-thumbnail.php +1 -1
- includes/class-apt.php +1 -1
- readme.txt +4 -1
auto-post-thumbnail.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Auto Featured Image (Auto Post Thumbnail)
|
4 |
Plugin URI: https://cm-wp.com/apt
|
5 |
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.
|
6 |
-
Version: 3.9.
|
7 |
Author: Creative Motion <support@cm-wp.com>
|
8 |
Author URI: https://cm-wp.com
|
9 |
Text Domain: apt
|
3 |
Plugin Name: Auto Featured Image (Auto Post Thumbnail)
|
4 |
Plugin URI: https://cm-wp.com/apt
|
5 |
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.
|
6 |
+
Version: 3.9.9
|
7 |
Author: Creative Motion <support@cm-wp.com>
|
8 |
Author URI: https://cm-wp.com
|
9 |
Text Domain: apt
|
includes/class-apt.php
CHANGED
@@ -1236,7 +1236,7 @@ class AutoPostThumbnails {
|
|
1236 |
* @return Image
|
1237 |
*/
|
1238 |
public static function generate_image_with_text( $text, $pathToSave = '', $format = 'jpg', $width = 0, $height = 0 ) {
|
1239 |
-
$font = WAPT_PLUGIN_DIR . '/fonts/
|
1240 |
$font_size = \WAPT_Plugin::app()->getPopulateOption( 'font-size', 25 );
|
1241 |
$font_color = \WAPT_Plugin::app()->getPopulateOption( 'font-color', '#ffffff' );
|
1242 |
if ( $width === 0 ) {
|
1236 |
* @return Image
|
1237 |
*/
|
1238 |
public static function generate_image_with_text( $text, $pathToSave = '', $format = 'jpg', $width = 0, $height = 0 ) {
|
1239 |
+
$font = WAPT_PLUGIN_DIR . '/fonts/arial.ttf';
|
1240 |
$font_size = \WAPT_Plugin::app()->getPopulateOption( 'font-size', 25 );
|
1241 |
$font_color = \WAPT_Plugin::app()->getPopulateOption( 'font-color', '#ffffff' );
|
1242 |
if ( $width === 0 ) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: post thumbnails, featured image, elementor, thumbnails, featured image fro
|
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 7.0
|
7 |
-
Stable tag: 3.9.
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -113,6 +113,9 @@ This section describes how to install the plugin and get it working.
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
116 |
= 3.9.8 =
|
117 |
* Some fixes
|
118 |
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 7.0
|
7 |
+
Stable tag: 3.9.9
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 3.9.9 =
|
117 |
+
* FIX: Font for title generation
|
118 |
+
|
119 |
= 3.9.8 =
|
120 |
* Some fixes
|
121 |
|