mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
update readme, tags
This commit is contained in:
@@ -182,6 +182,12 @@ function rgc_move_image( $hook ) {
|
||||
|
||||
_Note:_ because the entry header applies to all posts on a page, such as a blog or archive page, this filter modifies the output only on singular posts.
|
||||
|
||||
Similar hooks:
|
||||
|
||||
* `display_featured_image_genesis_move_large_image_priority`: change the priority of the large featured image output
|
||||
* `display_featured_image_move_backstretch_image`: change the hook of the backstretch featured image output
|
||||
* `display_featured_image_move_backstretch_image_priority`: change the priority of the backstretch featured image output
|
||||
|
||||
### If a post does not have a featured image of its own, can the term, post type, or default featured image show in the archives?
|
||||
|
||||
Yes! A helper function exists for this, but only runs if you add it. You can easily do this by adding the following to your theme's functions.php file:
|
||||
@@ -214,6 +220,12 @@ to a convenient location, such as your functions.php file. Otherwise, the page t
|
||||
|
||||
## Changelog
|
||||
|
||||
### 2.3.4 - 2015-11-13
|
||||
* added: filters to modify image priority as well as hook (due to Workstation Pro theme)
|
||||
* improved: checks for ability to output and what to output
|
||||
* bugfix: fix variables passed to javascript (centering, fade)
|
||||
* bugfix: update image ID database query (backwards compat)
|
||||
|
||||
### 2.3.3 - 2015-09-08
|
||||
* bugfix: corrected logic on title/excerpt output for front/posts page
|
||||
* fix duplicate posts page title due to new function introduced in Genesis 2.2.1, for sites which support genesis-accessibility
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* Plugin Name: Display Featured Image for Genesis
|
||||
* Plugin URI: http://github.com/robincornett/display-featured-image-genesis/
|
||||
* Description: This plugin works within the Genesis Framework, to display featured images in beautiful and dynamic ways.
|
||||
* Version: 2.3.3
|
||||
* Version: 2.3.4
|
||||
* Author: Robin Cornett
|
||||
* Author URI: http://robincornett.com
|
||||
* License: GPL-2.0+
|
||||
|
||||
@@ -13,7 +13,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
* @var string
|
||||
* @since 1.4.3
|
||||
*/
|
||||
public $version = '2.3.3';
|
||||
public $version = '2.3.4';
|
||||
|
||||
/**
|
||||
* set and retreive variables for the featured image.
|
||||
|
||||
@@ -87,7 +87,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
|
||||
/**
|
||||
* All actions required to output the backstretch image
|
||||
* @since x.y.z
|
||||
* @since 2.3.4
|
||||
*/
|
||||
protected function do_backstretch_image_things() {
|
||||
wp_register_script( 'displayfeaturedimage-backstretch', plugins_url( '/includes/js/backstretch.js', dirname( __FILE__ ) ), array( 'jquery' ), $this->common->version, true );
|
||||
@@ -177,7 +177,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
|
||||
/**
|
||||
* All actions required to output the large image
|
||||
* @since x.y.z
|
||||
* @since 2.3.4
|
||||
*/
|
||||
protected function do_large_image_things() {
|
||||
remove_action( 'genesis_before_loop', 'genesis_do_cpt_archive_title_description' );
|
||||
@@ -275,7 +275,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
* Check whether plugin can output backstretch or large image
|
||||
* @return boolean checks featured image size. returns true if can proceed; false if cannot
|
||||
*
|
||||
* @since x.y.z
|
||||
* @since 2.3.4
|
||||
*/
|
||||
protected function can_do_things() {
|
||||
$medium = (int) get_option( 'medium_size_w' );
|
||||
|
||||
+16
-7
@@ -4,8 +4,8 @@ Contributors: littler.chicken
|
||||
Donate link: https://robincornett.com/donate/
|
||||
Tags: backstretch, featured image, featured images, genesis, studiopress, post thumbnails, featured image rss, rss
|
||||
Requires at least: 4.1
|
||||
Tested up to: 4.3
|
||||
Stable tag: 2.3.3
|
||||
Tested up to: 4.4
|
||||
Stable tag: 2.3.4
|
||||
License: GPL-2.0+
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
||||
|
||||
@@ -142,6 +142,12 @@ There is a filter for this, too. By default, the large (as opposed to backstretc
|
||||
|
||||
_Note:_ because the entry header applies to all posts on a page, such as a blog or archive page, this filter modifies the output only on singular posts.
|
||||
|
||||
Similar hooks:
|
||||
|
||||
* `display_featured_image_genesis_move_large_image_priority`: change the priority of the large featured image output
|
||||
* `display_featured_image_move_backstretch_image`: change the hook of the backstretch featured image output
|
||||
* `display_featured_image_move_backstretch_image_priority`: change the priority of the backstretch featured image output
|
||||
|
||||
= If a post does not have a featured image of its own, can the term, post type, or default featured image show in the archives? =
|
||||
|
||||
Yes! A helper function exists for this, but only runs if you add it. You can easily do this by adding the following to your theme's functions.php file:
|
||||
@@ -162,14 +168,17 @@ This will follow the settings you choose in the Genesis Theme Settings.
|
||||
3. Quickly see the featured image assigned to each post or term.
|
||||
|
||||
== Upgrade Notice ==
|
||||
= 2.3.3 =
|
||||
bugfixes for excerpts and accessible headings in Genesis 2.2.1
|
||||
|
||||
= 2.3.0 =
|
||||
New features: featured images for authors, smaller images loaded for smaller screens!
|
||||
= 2.3.4 =
|
||||
mostly bugfixes, but also new filters for image output
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.3.4 =
|
||||
* added: filters to modify image priority as well as hook (due to Workstation Pro theme)
|
||||
* improved: checks for ability to output and what to output
|
||||
* bugfix: fix variables passed to javascript (centering, fade)
|
||||
* bugfix: update image ID database query (backwards compat)
|
||||
|
||||
= 2.3.3 =
|
||||
* bugfix: corrected logic on title/excerpt output for front/posts page
|
||||
* fix duplicate posts page title due to new function introduced in Genesis 2.2.1, for sites which support genesis-accessibility
|
||||
|
||||
Reference in New Issue
Block a user