Skip to content
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

Unable to select custom post types from settings panel #184

Open
juliobranha opened this issue May 23, 2024 · 0 comments
Open

Unable to select custom post types from settings panel #184

juliobranha opened this issue May 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juliobranha
Copy link
Contributor

Description of the bug

When setting the query block to select custom(s) post types, the selector works fine within the editor, but not on the sidebar, where instead of posts of the custom post types, posts of type post display in the search results

Steps To Reproduce

  1. Add a query block as the one below and set postTypes to custom(s) post types <!-- wp:wp-curate/query {"postTypes":["my-cpt"]} --><div class="wp-block-wp-curate-query"><!-- wp:post-template --><!-- wp:wp-curate/post --><div class="wp-block-wp-curate-post">My markup</div><!-- /wp:wp-curate/post --><!-- /wp:post-template --></div><!-- /wp:wp-curate/query -->
  2. On the query block sidebar go to Select posts and try selecting one
  3. Instead of seeing the posts of my-cpt, posts of post type are displayed

Additional Information

No response

@juliobranha juliobranha added the bug Something isn't working label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant