Suspected bug: unwanted paragraph tags in the excerpt
- WordPress 5.2
- Fully updated Graphene theme
- WP Facebook Auto Publish to publish post excerpts together with the featured images on a Facebook Page
Every single post published on Facebook (through the plugin) looks like this: <p>Excerpt text here</p> and this happens even when I type the excerpt manually in WordPress. I do not use any html tags. I do not know from where these paragraph tages come from. I contacted the plugin developer and apparently they are not generated by the plugin. I then tested the plugin with the Switzerland theme, and the Facebook posts were correct and clean. I then switched back to Graphene, and <p> and </p> are back. Hence, I assume that there is a bug in Graphene. Somehow it adds paragraph tags to the excerpts that other plugins digest.
These paragraph tags can be seen on the image that Facebook fetches when it displays a shared link. Dont know how themes affect the preview image… but it isn’t pretty.
The excerpt text is ok. The shared link preview image has the problem I described. So what is given to Facebook when it asks for a preview image for a link is bad.
I can circumvent this problem in the plugin by “sharing a post” instead of a link so no majir problem.
If this is a feature, not a bug, then just ignore this report.Admin
I performed one more test.
1) No manually typed excerpt -> no problem
2) Manually typed excerpt -> Problem!
In the text that Facebook includes with shared links there is a clean and nice post header but then: <p>Excerpt text here</p><p><a class=”more-link btn”…
I can give you limited admin access for testing If you need, as we are only launching the site, and it’s not a bank 😀
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.