mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-11 18:46:03 +09:00
Update for PHP8, version bump to 3.2.4
This commit is contained in:
@@ -12,7 +12,10 @@
|
|||||||
* Plugin Name: Display Featured Image for Genesis
|
* Plugin Name: Display Featured Image for Genesis
|
||||||
* Plugin URI: https://github.com/robincornett/display-featured-image-genesis/
|
* Plugin URI: https://github.com/robincornett/display-featured-image-genesis/
|
||||||
* Description: This plugin works within the Genesis Framework, to display featured images in beautiful and dynamic ways.
|
* Description: This plugin works within the Genesis Framework, to display featured images in beautiful and dynamic ways.
|
||||||
* Version: 3.2.2
|
* Version: 3.2.3
|
||||||
|
* Requires at least: 5.2
|
||||||
|
* Requires PHP: 7.4
|
||||||
|
* Tested up to: 6.4
|
||||||
* Author: Robin Cornett
|
* Author: Robin Cornett
|
||||||
* Author URI: https://robincornett.com
|
* Author URI: https://robincornett.com
|
||||||
* Text Domain: display-featured-image-genesis
|
* Text Domain: display-featured-image-genesis
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ class Display_Featured_Image_Genesis_Admin {
|
|||||||
$new_columns['featured_image'] = __( 'Image', 'display-featured-image-genesis' );
|
$new_columns['featured_image'] = __( 'Image', 'display-featured-image-genesis' );
|
||||||
|
|
||||||
return array_merge( $new_columns, $columns );
|
return array_merge( $new_columns, $columns );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -119,7 +118,7 @@ class Display_Featured_Image_Genesis_Admin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$taxonomy = filter_input( INPUT_POST, 'taxonomy', FILTER_SANITIZE_STRING );
|
$taxonomy = filter_input( INPUT_POST, 'taxonomy', FILTER_SANITIZE_SPECIAL_CHARS );
|
||||||
$taxonomy = ! is_null( $taxonomy ) ? $taxonomy : get_current_screen()->taxonomy;
|
$taxonomy = ! is_null( $taxonomy ) ? $taxonomy : get_current_screen()->taxonomy;
|
||||||
$args = array(
|
$args = array(
|
||||||
'image_id' => $image_id,
|
'image_id' => $image_id,
|
||||||
@@ -128,7 +127,6 @@ class Display_Featured_Image_Genesis_Admin {
|
|||||||
);
|
);
|
||||||
|
|
||||||
echo wp_kses_post( $this->admin_featured_image( $args ) );
|
echo wp_kses_post( $this->admin_featured_image( $args ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -156,7 +154,6 @@ class Display_Featured_Image_Genesis_Admin {
|
|||||||
);
|
);
|
||||||
|
|
||||||
echo wp_kses_post( $this->admin_featured_image( $args ) );
|
echo wp_kses_post( $this->admin_featured_image( $args ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -199,7 +196,6 @@ class Display_Featured_Image_Genesis_Admin {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return $this->admin_featured_image( $args );
|
return $this->admin_featured_image( $args );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class Display_Featured_Image_Genesis_Common {
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.4.3
|
* @since 1.4.3
|
||||||
*/
|
*/
|
||||||
public $version = '3.2.2';
|
public $version = '3.2.3';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var $instance
|
* @var $instance
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ class Display_Featured_Image_Genesis {
|
|||||||
* @return boolean
|
* @return boolean
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
*/
|
*/
|
||||||
private function update_settings( $new = array(), $old_setting ) {
|
private function update_settings( $new_setting = array(), $old_setting = array() ) {
|
||||||
return update_option( 'displayfeaturedimagegenesis', wp_parse_args( $new, $old_setting ) );
|
return update_option( 'displayfeaturedimagegenesis', wp_parse_args( $new_setting, $old_setting ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
div[class^="wp-block-displayfeaturedimagegenesis"]{overflow:auto}div[class^="wp-block-displayfeaturedimagegenesis"]:before{position:absolute;top:0;right:0;bottom:0;left:0;content:' ';background-color:rgba(255,255,255,0)}.displayfeaturedimagegenesis-placeholder{text-align:center;background:#eee;color:#111;padding:18px}
|
div[class^=wp-block-displayfeaturedimagegenesis]{overflow:auto}div[class^=wp-block-displayfeaturedimagegenesis]:before{position:absolute;top:0;right:0;bottom:0;left:0;content:" ";background-color:rgba(255,255,255,0)}.displayfeaturedimagegenesis-placeholder{text-align:center;background:#eee;color:#111;padding:18px}
|
||||||
@@ -1 +1 @@
|
|||||||
.has-leader .site-inner{margin-top:0}.big-leader{overflow:hidden;height:100vh;position:relative}.big-leader .wrap{position:absolute;right:0;bottom:0;left:0;width:100%;z-index:1}.big-leader__image{display:block;height:100vh;max-width:none;-o-object-fit:cover;object-fit:cover;width:100vw}.big-leader .featured-image-overlay{color:#fff;text-align:center}.big-leader .excerpt,.big-leader .archive-description{margin-bottom:24px;padding:24px;background:rgba(255,255,255,.85)}.big-leader p{margin-top:18px;margin-bottom:0}.home .big-leader p{margin-top:0}.home .big-leader p:last-child{margin-bottom:0}.big-leader .excerpt .entry-title,.big-leader .archive-description .archive-title{margin-bottom:0}@keyframes dfig-fadein{from{opacity:0}to{opacity:1}}.backstretch.no-js{max-height:600px}img.featured{max-width:100%}
|
.has-leader .site-inner{margin-top:0}.big-leader{overflow:hidden;max-height:100vh;position:relative}.big-leader .wrap{position:absolute;right:0;bottom:0;left:0;width:100%;z-index:1}.big-leader__image{display:block;height:100vh;max-width:none;object-fit:cover;width:100vw}.big-leader .featured-image-overlay{color:#fff;text-align:center}.big-leader .excerpt,.big-leader .archive-description{margin-bottom:24px;padding:24px;background:rgba(255,255,255,.85)}.big-leader p{margin-top:18px;margin-bottom:0}.home .big-leader p{margin-top:0}.home .big-leader p:last-child{margin-bottom:0}.big-leader .excerpt .entry-title,.big-leader .archive-description .archive-title{margin-bottom:0}@keyframes dfig-fadein{from{opacity:0}to{opacity:1}}.backstretch.no-js{max-height:600px}img.featured{max-width:100%}
|
||||||
@@ -99,7 +99,7 @@ class Display_Featured_Image_Genesis_Helper extends DisplayFeaturedImageGenesisG
|
|||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*/
|
*/
|
||||||
protected function get_active_tab() {
|
protected function get_active_tab() {
|
||||||
$tab = filter_input( INPUT_GET, 'tab', FILTER_SANITIZE_STRING );
|
$tab = filter_input( INPUT_GET, 'tab', FILTER_SANITIZE_SPECIAL_CHARS );
|
||||||
|
|
||||||
return $tab ? $tab : 'main';
|
return $tab ? $tab : 'main';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,13 +83,14 @@ class DisplayFeaturedImageGenesisWidgetsForm {
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function get_term_lists( $instance, $ajax = false ) {
|
public function get_term_lists( $instance, $ajax = false ) {
|
||||||
|
$taxonomy = $ajax ? filter_input( INPUT_POST, 'taxonomy', FILTER_SANITIZE_SPECIAL_CHARS ) : $instance['taxonomy'];
|
||||||
$args = array(
|
$args = array(
|
||||||
|
'taxonomy' => $taxonomy,
|
||||||
'orderby' => 'name',
|
'orderby' => 'name',
|
||||||
'order' => 'ASC',
|
'order' => 'ASC',
|
||||||
'hide_empty' => false,
|
'hide_empty' => false,
|
||||||
);
|
);
|
||||||
$taxonomy = $ajax ? filter_input( INPUT_POST, 'taxonomy', FILTER_SANITIZE_STRING ) : $instance['taxonomy'];
|
$terms = get_terms( $args );
|
||||||
$terms = get_terms( $taxonomy, $args );
|
|
||||||
$options[''] = '--';
|
$options[''] = '--';
|
||||||
foreach ( $terms as $term ) {
|
foreach ( $terms as $term ) {
|
||||||
if ( is_object( $term ) ) {
|
if ( is_object( $term ) ) {
|
||||||
|
|||||||
@@ -1,12 +1,41 @@
|
|||||||
# Copyright (C) 2020 Display Featured Image for Genesis
|
# Copyright (C) 2023 Robin Cornett
|
||||||
# This file is distributed under the same license as the Display Featured Image for Genesis package.
|
# This file is distributed under the GPL-2.0+.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Display Featured Image for Genesis\n"
|
"Project-Id-Version: Display Featured Image for Genesis 3.2.3\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/display-featured-image-genesis\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"POT-Creation-Date: 2023-11-11T17:12:49+00:00\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"X-Generator: WP-CLI 2.8.1\n"
|
||||||
|
"X-Domain: display-featured-image-genesis\n"
|
||||||
|
|
||||||
|
#. Plugin Name of the plugin
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:61
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:22
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:23
|
||||||
|
msgid "Display Featured Image for Genesis"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Plugin URI of the plugin
|
||||||
|
msgid "https://github.com/robincornett/display-featured-image-genesis/"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Description of the plugin
|
||||||
|
msgid "This plugin works within the Genesis Framework, to display featured images in beautiful and dynamic ways."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Author of the plugin
|
||||||
|
msgid "Robin Cornett"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Author URI of the plugin
|
||||||
|
msgid "https://robincornett.com"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class-displayfeaturedimagegenesis-admin.php:97
|
#: includes/class-displayfeaturedimagegenesis-admin.php:97
|
||||||
msgid "Image"
|
msgid "Image"
|
||||||
@@ -21,7 +50,8 @@ msgstr ""
|
|||||||
msgid " But since we're talking anyway, did you know that your server is running PHP version %1$s, which is outdated? You should ask your host to update that for you."
|
msgid " But since we're talking anyway, did you know that your server is running PHP version %1$s, which is outdated? You should ask your host to update that for you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/class-displayfeaturedimagegenesis.php:256, includes/settings/class-displayfeaturedimagegenesis-settings-images.php:164
|
#: includes/class-displayfeaturedimagegenesis.php:256
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings-images.php:164
|
||||||
msgid "Select Image"
|
msgid "Select Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -29,7 +59,12 @@ msgstr ""
|
|||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/meta/class-displayfeaturedimagegenesis-author.php:46, includes/meta/class-displayfeaturedimagegenesis-taxonomies.php:101, includes/meta/class-displayfeaturedimagegenesis-taxonomies.php:185, includes/widgets/fields/blocks.php:9, includes/widgets/fields/blocks.php:19, includes/widgets/fields/blocks.php:29
|
#: includes/meta/class-displayfeaturedimagegenesis-author.php:46
|
||||||
|
#: includes/meta/class-displayfeaturedimagegenesis-taxonomies.php:101
|
||||||
|
#: includes/meta/class-displayfeaturedimagegenesis-taxonomies.php:185
|
||||||
|
#: includes/widgets/fields/blocks.php:9
|
||||||
|
#: includes/widgets/fields/blocks.php:19
|
||||||
|
#: includes/widgets/fields/blocks.php:29
|
||||||
msgid "Featured Image"
|
msgid "Featured Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -37,7 +72,8 @@ msgstr ""
|
|||||||
msgid "Upload an image to use as your author page featured image."
|
msgid "Upload an image to use as your author page featured image."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/meta/class-displayfeaturedimagegenesis-author.php:74, includes/settings/class-displayfeaturedimagegenesis-settings.php:272
|
#: includes/meta/class-displayfeaturedimagegenesis-author.php:74
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:272
|
||||||
msgid "Something unexpected happened. Please try again."
|
msgid "Something unexpected happened. Please try again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -82,15 +118,12 @@ msgstr ""
|
|||||||
msgid "You may set a featured image for your terms. This image will be used on the term archive page, and as a fallback image on a single post page if it does not have a featured image of its own."
|
msgid "You may set a featured image for your terms. This image will be used on the term archive page, and as a fallback image on a single post page if it does not have a featured image of its own."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:61, includes/settings/class-displayfeaturedimagegenesis-settings.php:22, includes/settings/class-displayfeaturedimagegenesis-settings.php:23
|
|
||||||
msgid "Display Featured Image for Genesis"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:62
|
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:62
|
||||||
msgid "Only general settings are available in the Customizer; more can be found on the Display Featured Image for Genesis settings page."
|
msgid "Only general settings are available in the Customizer; more can be found on the Display Featured Image for Genesis settings page."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:69, includes/settings/tabs.php:6
|
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:69
|
||||||
|
#: includes/settings/tabs.php:6
|
||||||
msgid "Main"
|
msgid "Main"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -98,7 +131,8 @@ msgstr ""
|
|||||||
msgid "Backstretch Output"
|
msgid "Backstretch Output"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:79, includes/settings/tabs.php:14
|
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:79
|
||||||
|
#: includes/settings/tabs.php:14
|
||||||
msgid "Content Types"
|
msgid "Content Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -106,7 +140,8 @@ msgstr ""
|
|||||||
msgid "Optional: set a custom image for search results and 404 (no results found) pages, as well as content types."
|
msgid "Optional: set a custom image for search results and 404 (no results found) pages, as well as content types."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:85, includes/settings/tabs.php:18
|
#: includes/settings/class-displayfeaturedimagegenesis-customizer.php:85
|
||||||
|
#: includes/settings/tabs.php:18
|
||||||
msgid "Advanced"
|
msgid "Advanced"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -114,7 +149,8 @@ msgstr ""
|
|||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:47, includes/settings/fields-style.php:13
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:47
|
||||||
|
#: includes/settings/fields-style.php:13
|
||||||
msgid "Height"
|
msgid "Height"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -122,7 +158,8 @@ msgstr ""
|
|||||||
msgid "Centering"
|
msgid "Centering"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:57, includes/settings/fields-style.php:49
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:57
|
||||||
|
#: includes/settings/fields-style.php:49
|
||||||
msgid "Fade"
|
msgid "Fade"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -130,7 +167,8 @@ msgstr ""
|
|||||||
msgid "Special Pages"
|
msgid "Special Pages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:72, includes/settings/fields-cpt.php:6
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:72
|
||||||
|
#: includes/settings/fields-cpt.php:6
|
||||||
msgid "Skip Content Types"
|
msgid "Skip Content Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -142,15 +180,18 @@ msgstr ""
|
|||||||
msgid "Custom Content Types"
|
msgid "Custom Content Types"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:94, includes/settings/sections.php:6
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:94
|
||||||
|
#: includes/settings/sections.php:6
|
||||||
msgid "Optional Sitewide Settings"
|
msgid "Optional Sitewide Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:99, includes/settings/sections.php:11
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:99
|
||||||
|
#: includes/settings/sections.php:11
|
||||||
msgid "Optional Archive Settings"
|
msgid "Optional Archive Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:104, includes/settings/sections.php:16
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:104
|
||||||
|
#: includes/settings/sections.php:16
|
||||||
msgid "Optional Default Image"
|
msgid "Optional Default Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -178,7 +219,8 @@ msgstr ""
|
|||||||
msgid "If you choose \"Always Use Default\", your default image will be used site wide, no matter what content types/posts/etc. have featured images set."
|
msgid "If you choose \"Always Use Default\", your default image will be used site wide, no matter what content types/posts/etc. have featured images set."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:150, includes/settings/fields-main.php:39
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:150
|
||||||
|
#: includes/settings/fields-main.php:39
|
||||||
msgid "Skip Front Page"
|
msgid "Skip Front Page"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -186,7 +228,8 @@ msgstr ""
|
|||||||
msgid "If you set a Default Featured Image, it will show on every post/page of your site. This may not be desirable on child themes with a front page constructed with widgets, so you can select this option to prevent the Featured Image from showing on the front page. Checking this will prevent the Featured Image from showing on the Front Page, even if you have set an image for that page individually."
|
msgid "If you set a Default Featured Image, it will show on every post/page of your site. This may not be desirable on child themes with a front page constructed with widgets, so you can select this option to prevent the Featured Image from showing on the front page. Checking this will prevent the Featured Image from showing on the Front Page, even if you have set an image for that page individually."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:162, includes/settings/fields-main.php:46
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:162
|
||||||
|
#: includes/settings/fields-main.php:46
|
||||||
msgid "Do Not Move Titles"
|
msgid "Do Not Move Titles"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -222,7 +265,8 @@ msgstr ""
|
|||||||
msgid "If your RSS feed is set to Full Text, the Featured Image will be added to the entry content. If it is set to Summary, the Featured Image will be added to the excerpt instead."
|
msgid "If your RSS feed is set to Full Text, the Featured Image will be added to the entry content. If it is set to Summary, the Featured Image will be added to the excerpt instead."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:211, includes/settings/fields-main.php:74
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:211
|
||||||
|
#: includes/settings/fields-main.php:74
|
||||||
msgid "Archive Thumbnails"
|
msgid "Archive Thumbnails"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -274,7 +318,8 @@ msgstr ""
|
|||||||
msgid "By default, the banner image takes 750 milliseconds to fade in once the image has loaded into the browser. You can make the image fade in more quickly or slowly, as you prefer."
|
msgid "By default, the banner image takes 750 milliseconds to fade in once the image has loaded into the browser. You can make the image fade in more quickly or slowly, as you prefer."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:289, includes/settings/fields-main.php:26
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:289
|
||||||
|
#: includes/settings/fields-main.php:26
|
||||||
msgid "Preferred Image Size"
|
msgid "Preferred Image Size"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -282,7 +327,8 @@ msgstr ""
|
|||||||
msgid "Set the default image size you would like to use sitewide. This can be overridden per content type, or on an individual post."
|
msgid "Set the default image size you would like to use sitewide. This can be overridden per content type, or on an individual post."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:301, includes/settings/fields-style.php:6
|
#: includes/settings/class-displayfeaturedimagegenesis-helptabs.php:301
|
||||||
|
#: includes/settings/fields-style.php:6
|
||||||
msgid "Disable JavaScript"
|
msgid "Disable JavaScript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -348,7 +394,8 @@ msgstr ""
|
|||||||
|
|
||||||
#. translators: the placeholder is the name of the featured image; eg. default, search, or the name of a content type.
|
#. translators: the placeholder is the name of the featured image; eg. default, search, or the name of a content type.
|
||||||
#. translators: the user display name
|
#. translators: the user display name
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-settings-validate-image.php:72, includes/settings/class-displayfeaturedimagegenesis-settings-validate-image.php:89
|
#: includes/settings/class-displayfeaturedimagegenesis-settings-validate-image.php:72
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings-validate-image.php:89
|
||||||
msgid " The %s Featured Image has been reset to the last valid setting."
|
msgid " The %s Featured Image has been reset to the last valid setting."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -376,7 +423,8 @@ msgstr ""
|
|||||||
msgid "Optionally, change the hook location and priority of the featured image output. Use with caution. Note: this will change the hook/priority of the featured image sitewide. If you need to make changes based on content type, check the readme for code examples."
|
msgid "Optionally, change the hook location and priority of the featured image output. Use with caution. Note: this will change the hook/priority of the featured image sitewide. If you need to make changes based on content type, check the readme for code examples."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:210, includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:75
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:210
|
||||||
|
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:75
|
||||||
msgid "Center"
|
msgid "Center"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -384,11 +432,14 @@ msgstr ""
|
|||||||
msgid "Do Not Center"
|
msgid "Do Not Center"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:244, includes/settings/fields-advanced.php:11
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:244
|
||||||
|
#: includes/settings/fields-advanced.php:11
|
||||||
msgid "(default)"
|
msgid "(default)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:249, includes/settings/class-displayfeaturedimagegenesis-settings.php:250, includes/settings/class-displayfeaturedimagegenesis-settings.php:251
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:249
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:250
|
||||||
|
#: includes/settings/class-displayfeaturedimagegenesis-settings.php:251
|
||||||
msgid "(HTML5 themes)"
|
msgid "(HTML5 themes)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -465,7 +516,8 @@ msgstr ""
|
|||||||
msgid "Banner (default)"
|
msgid "Banner (default)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/settings/fields-main.php:32, includes/widgets/fields/author-gravatar.php:13
|
#: includes/settings/fields-main.php:32
|
||||||
|
#: includes/widgets/fields/author-gravatar.php:13
|
||||||
msgid "Large"
|
msgid "Large"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -585,15 +637,21 @@ msgstr ""
|
|||||||
msgid "Posts"
|
msgid "Posts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:72, includes/widgets/fields/author-archive.php:9, includes/widgets/fields/author-description.php:14, includes/widgets/fields/author-gravatar.php:49, includes/widgets/fields/text.php:25
|
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:72
|
||||||
|
#: includes/widgets/fields/author-archive.php:9
|
||||||
|
#: includes/widgets/fields/author-description.php:14
|
||||||
|
#: includes/widgets/fields/author-gravatar.php:49
|
||||||
|
#: includes/widgets/fields/text.php:25
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:73, includes/widgets/fields/author-gravatar.php:50
|
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:73
|
||||||
|
#: includes/widgets/fields/author-gravatar.php:50
|
||||||
msgid "Left"
|
msgid "Left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:74, includes/widgets/fields/author-gravatar.php:51
|
#: includes/widgets/class-displayfeaturedimagegenesis-widgets-form.php:74
|
||||||
|
#: includes/widgets/fields/author-gravatar.php:51
|
||||||
msgid "Right"
|
msgid "Right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -625,11 +683,14 @@ msgstr ""
|
|||||||
msgid "Displays user profile block with Gravatar"
|
msgid "Displays user profile block with Gravatar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/displayfeaturedimagegenesis-author-widget.php:31, includes/widgets/fields/blocks.php:15
|
#: includes/widgets/displayfeaturedimagegenesis-author-widget.php:31
|
||||||
|
#: includes/widgets/fields/blocks.php:15
|
||||||
msgid "Display Featured Author Profile"
|
msgid "Display Featured Author Profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/displayfeaturedimagegenesis-author-widget.php:121, includes/widgets/displayfeaturedimagegenesis-cpt-archive-widget.php:136, includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:138
|
#: includes/widgets/displayfeaturedimagegenesis-author-widget.php:121
|
||||||
|
#: includes/widgets/displayfeaturedimagegenesis-cpt-archive-widget.php:136
|
||||||
|
#: includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:138
|
||||||
msgid "Title:"
|
msgid "Title:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -637,7 +698,8 @@ msgstr ""
|
|||||||
msgid "Displays a post type archive with its featured image"
|
msgid "Displays a post type archive with its featured image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/displayfeaturedimagegenesis-cpt-archive-widget.php:40, includes/widgets/fields/blocks.php:25
|
#: includes/widgets/displayfeaturedimagegenesis-cpt-archive-widget.php:40
|
||||||
|
#: includes/widgets/fields/blocks.php:25
|
||||||
msgid "Display Featured Post Type Archive Image"
|
msgid "Display Featured Post Type Archive Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -649,11 +711,13 @@ msgstr ""
|
|||||||
msgid "Displays a term with its featured image"
|
msgid "Displays a term with its featured image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:40, includes/widgets/fields/blocks.php:5
|
#: includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:40
|
||||||
|
#: includes/widgets/fields/blocks.php:5
|
||||||
msgid "Display Featured Term Image"
|
msgid "Display Featured Term Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:150, includes/widgets/fields/blocks.php:8
|
#: includes/widgets/displayfeaturedimagegenesis-taxonomy-widget.php:150
|
||||||
|
#: includes/widgets/fields/blocks.php:8
|
||||||
msgid "Term"
|
msgid "Term"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -697,7 +761,8 @@ msgstr ""
|
|||||||
msgid "Author Bio (from profile)"
|
msgid "Author Bio (from profile)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/fields/author-description.php:16, includes/widgets/fields/text.php:27
|
#: includes/widgets/fields/author-description.php:16
|
||||||
|
#: includes/widgets/fields/text.php:27
|
||||||
msgid "Custom Text (below)"
|
msgid "Custom Text (below)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -733,7 +798,8 @@ msgstr ""
|
|||||||
msgid "Show the user's featured image."
|
msgid "Show the user's featured image."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/widgets/fields/author-image.php:18, includes/widgets/fields/image.php:18
|
#: includes/widgets/fields/author-image.php:18
|
||||||
|
#: includes/widgets/fields/image.php:18
|
||||||
msgid "Image Size:"
|
msgid "Image Size:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Generated
+15452
File diff suppressed because it is too large
Load Diff
+12
-9
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "display-featured-image-genesis",
|
"name": "display-featured-image-genesis",
|
||||||
"description": "Display Featured Image for Genesis",
|
"description": "Display Featured Image for Genesis",
|
||||||
"version": "3.2.2",
|
"version": "3.2.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "GPL-2.0+",
|
"license": "GPL-2.0+",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "10.4.13",
|
"autoprefixer": "10.4.16",
|
||||||
"browser-sync": "2.27.11",
|
"browser-sync": "2.27.11",
|
||||||
"css-mqpacker": "7.0.0",
|
"css-mqpacker": "7.0.0",
|
||||||
"del": "7.0.0",
|
"del": "7.1.0",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-chmod": "3.0.0",
|
"gulp-chmod": "4.0.0",
|
||||||
"gulp-notify": "4.0.0",
|
"gulp-notify": "4.0.0",
|
||||||
"gulp-postcss": "9.0.1",
|
"gulp-postcss": "9.0.1",
|
||||||
"gulp-rename": "2.0.0",
|
"gulp-rename": "2.0.0",
|
||||||
@@ -20,22 +20,25 @@
|
|||||||
"gulp-wp-pot": "^2.3.2",
|
"gulp-wp-pot": "^2.3.2",
|
||||||
"gulp-zip": "5.1.0",
|
"gulp-zip": "5.1.0",
|
||||||
"perfectionist": "^2.4.0",
|
"perfectionist": "^2.4.0",
|
||||||
"postcss": "^8.4.4",
|
"postcss": "^8.4.31",
|
||||||
"postcss-import": "15.1.0",
|
"postcss-import": "15.1.0",
|
||||||
"sass": "^1.41.1"
|
"sass": "^1.69.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@wordpress/browserslist-config": "5.7.0",
|
"@wordpress/browserslist-config": "5.28.0",
|
||||||
"glob-parent": ">=5.1.2",
|
"glob-parent": ">=5.1.2",
|
||||||
"gulp-sass-unicode": "^1.0.5",
|
"gulp-sass-unicode": "^1.0.5",
|
||||||
"gulp-svg-sprites": "^4.1.2",
|
"gulp-svg-sprites": "^4.1.2",
|
||||||
"normalize.css": "8.0.1",
|
"normalize.css": "8.0.1",
|
||||||
"trim-newlines": ">=3.0.1",
|
"trim-newlines": ">=3.0.1",
|
||||||
"set-value": ">=4.0.1",
|
"set-value": ">=4.0.1",
|
||||||
"axios": ">=0.24.0",
|
"axios": "1.6.1",
|
||||||
"nth-check": ">=2.0.1"
|
"nth-check": ">=2.0.1"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"extends @wordpress/browserslist-config"
|
"extends @wordpress/browserslist-config"
|
||||||
]
|
],
|
||||||
|
"scripts": {
|
||||||
|
"translate": "wp i18n make-pot . languages/display-featured-image-genesis.pot --exclude=node_modules --domain=display-featured-image-genesis"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-5
@@ -3,10 +3,10 @@
|
|||||||
Contributors: littler.chicken
|
Contributors: littler.chicken
|
||||||
Donate link: https://robincornett.com/donate/
|
Donate link: https://robincornett.com/donate/
|
||||||
Tags: banner, featured image, featured images, genesis, studiopress, post thumbnails, featured image rss, rss
|
Tags: banner, featured image, featured images, genesis, studiopress, post thumbnails, featured image rss, rss
|
||||||
Requires at least: 5.0
|
Requires at least: 5.2
|
||||||
Tested up to: 5.8
|
Tested up to: 6.4
|
||||||
Stable tag: 3.2.2
|
Stable tag: 3.2.3
|
||||||
Requires PHP: 5.6
|
Requires PHP: 7.4
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
||||||
|
|
||||||
@@ -218,10 +218,13 @@ Similar hooks:
|
|||||||
|
|
||||||
== Upgrade Notice ==
|
== Upgrade Notice ==
|
||||||
|
|
||||||
3.2.0: featured image widgets are now available as blocks; banner image size has been changed due to WordPress 5.3 changes
|
3.2.3: updated for PHP 8 compatibility
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 3.2.3 =
|
||||||
|
* updated: PHP 8 compatibility
|
||||||
|
|
||||||
= 3.2.2 =
|
= 3.2.2 =
|
||||||
* added: support for webp images
|
* added: support for webp images
|
||||||
* fixed: user's custom column filter
|
* fixed: user's custom column filter
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
.big-leader {
|
.big-leader {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 100vh;
|
max-height: 100vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
|
|||||||
Reference in New Issue
Block a user