-
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
Output hooked to the_content is output after template parts in Block Based Themes #20342
Comments
I opened a PR for this here: |
johnstonphilip
added a commit
to johnstonphilip/gutenberg
that referenced
this issue
Feb 21, 2020
…te parts Remove prepend_attachment from filters run on content for post template parts WordPress#20342
johnstonphilip
added a commit
to johnstonphilip/gutenberg
that referenced
this issue
Feb 25, 2020
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you hook extra output to
the_content
, like many plugins do, template_parts in block-based themes show that output after the template part is shown.To reproduce
Steps to reproduce the behavior:
Expected behavior
Things hooked to show after
the_content
only show after the_content of apost
.Desktop (please complete the following information):
The use of this filter code should probably be removed:
gutenberg/packages/block-library/src/template-part/index.php
Line 35 in 21304f9
The text was updated successfully, but these errors were encountered: