-
Notifications
You must be signed in to change notification settings - Fork 314
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
BUG: Behaviour of Related Posts widget and block are not consistent #2796
Comments
As discussed we probably don't want these to be consistent, since the block has uses outside of @felipeelia I think that's where we ended up, right? |
I went to make this change but ran into an issue. Alternatively I though I might be able to check the block for the Frankly I think there's an issue with Core here that might need to be resolved before we can reliably change the behaviour here. |
There's an open issue regarding |
Closing this one as there is nothing we can do. |
Describe the bug
The Related Posts widget doesn't show anything when the page is not is_single. However, the block does show the related posts. This is happening because we have a sanity check for the widget that checks if the page is not single then returns. https://github.com/10up/ElasticPress/blob/develop/includes/classes/Feature/RelatedPosts/Widget.php#L42
Steps to Reproduce
The text was updated successfully, but these errors were encountered: