-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added toolbar dropdown action to set any image as feature image #65896
Merged
Merged
Changes from 4 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2b55ec3
feature: created toggle control to set content image as feature image…
up1512001 f4e6f37
Fix: docs build
up1512001 7501994
revert: php changes for feature image
up1512001 23d153c
feature: created toolbar control to set image as feature image is pos…
up1512001 e95aacf
feature: created block settings & added proper notices for success me…
up1512001 b9e39c7
Merge branch 'trunk' into gh/65889
up1512001 2fb9113
Merge branch 'trunk' into gh/65889
up1512001 68ab121
update: added required block context for feature image control
up1512001 d57d240
update: set feature image control as per suggestion
up1512001 a28d110
remove: unnessary isFeature image attribute
up1512001 479194d
rename: feature image control
up1512001 e44927a
Fix: query loop issue
up1512001 d5071c1
Fix: typo in set featured image
up1512001 4a2d3bd
Merge branch 'trunk' into gh/65889
up1512001 053cede
update as per suggestions
up1512001 246b3f2
Fix: minor feedback
up1512001 8a24ce7
Fix: minor issue
up1512001 8ebbc47
Merge branch 'trunk' into gh/65889
up1512001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paaljoachim @jameskoster @scruffian
I want to confirm again here: does the "Make Feature Image" button mean to label the block to be used as a featured image? Or is it meant to update the featured image with the current image?
For example, let's assume that the former (labeling) is what is expected here. Furthermore, suppose that useFirstImageFromPost is enabled for the featured image and a second Image block in the content is labeled to be used as a featured image.
In this case, which one will actually be displayed as the featured image?
To prevent such inconsistencies, I prefer the latter approach (updating the featured image with the current image).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter was my expectation. But I don't have a strong feeling about this feature and would welcome more feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expect to use the image as a selected featured image.
That is when I press the link/button "Set featured image" associated with the Image block a featured image should also be added here:
It becomes an additional option to directly set the Featured image through the ellipse (3 button drop down) in an Image block. As it is added here it could easily also be added to a Cover block, Media & Text block etc.
If there was already a featured image added to the post then clicking the option in the ellipse would then updated the featured image with the one that was just selected through the Image block.
Conclusion is that having an additional method to add a featured image would be helpful.
--
Now on another similar issue.
It would also be helpful to set first image in post as featured image through Global settings. This means if one forgets to set a featured image then the first image in the post will automatically be set as featured. I have experienced over and over that customers forget to add a featured image. Having this happen automatically would very much help.