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

bw_get_posts using incorrect value for exclude= in nested core/post-content block #167

Open
bobbingwide opened this issue Nov 12, 2020 · 0 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

Having implemented a fix for #166 and applied a similar fix to Gutenberg ( to fix further complications to the reported in 26593 ) I used the [bw_list] shortcode to list the posts that would be listed by the core/query.

The results were different for the nested posts.

Explanation

This is because the [bw_list] shortcode is attempting to dynamically determine the exclude= parameter but the core/query has it hard coded.

Workaround

Hardcode the exclude= parameter in each post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant