Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhancement - Enable support for hiding post type selection from block settings UI #235

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

ellm
Copy link
Member

@ellm ellm commented Sep 17, 2024

Provides a method for hiding specific post types from the Query Parameters section of the block settings UI.

Since the configuration comes from block attributes on the Query block, it allows for more control at the individual block level when globally supported post types should not be included.

@ellm ellm marked this pull request as ready for review September 17, 2024 20:34
Allows for more flexibility to support only specific post types, even if new post types are created later. If none are added, it will inherit the global setting
Copy link
Collaborator

@mogmarsh mogmarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

wp-curate.php Outdated
@@ -3,7 +3,7 @@
* Plugin Name: WP Curate
* Plugin URI: https://github.com/alleyinteractive/wp-curate
* Description: Plugin to curate homepages and other landing pages
* Version: 2.4.0
* Version: 2.5.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this could be 2.4.1. Installing it won't break anything.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 0140c29

CHANGELOG.md Outdated
@@ -2,10 +2,14 @@

All notable changes to `WP Curate` will be documented in this file.

## 2.5.0 - 2024-09-17
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this could be 2.4.1. Installing it won't break anything.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 0140c29

@ellm ellm merged commit 21f9db5 into develop Sep 19, 2024
5 checks passed
@ellm ellm deleted the feature/hide-post-types-in-ui branch September 19, 2024 14:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants