-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Shortcodes/Emojis are NOT rendered in WP:Pattern #37312
Comments
@BicanMarianValeriu Would you be able to provide a code snippet for a pattern that has this issue? Thanks. |
Try to place any shortcode (I dont know any core shortocodes - maybe [audio] ) inside a pattern and try to render them - it will show as shortcode tag instead as rendered markup. |
Hi |
|
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
@BicanMarianValeriu I am seeing that @carolinan mentioned this in #37545 I did a quick test to register a patter with the following content:
The shortcode audio content seems to be rendered as expected: Screen.Capture.on.2022-09-12.at.17-30-33.mp4I am going to close this as solved but please feel free to reopen if the original issue was different and/or if there are any lingering problems. Thank you! |
I am having this issue in a template files. I am using a shortcode in a pattern that is included in a template file. Example: archive.html
Pattern
The result is the shortcode tag in plain text instead of the rendered version. |
Yes, Contact Form added is:
Pattern do not render shortcode. Temporary fix insert into theme or as standalone plugin: https://core.trac.wordpress.org/ticket/58333#comment:72 |
Description
WP Pattern should work the same way as template part, rendering shortcodes and smilies.
Bellow there are 3 screenshots showing before/after changing the behaviour.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: