When the plugin creates the post for certain social media (facebook, twitter), there seems to be an issue for a particular scenario.
If a WordPress post starts with an embedded item (e.g. YouTube video) followed by text, the excerpt includes the URL of that embedded content before the text (body of post). This is probably to do with the blocks, and something I noticed in a Theme I use too. The answer was for this code to be inserted at the right place
Is this something that can be done in this plugin?
If a WordPress post starts with an embedded item (e.g. YouTube video) followed by text, the excerpt includes the URL of that embedded content before the text (body of post). This is probably to do with the blocks, and something I noticed in a Theme I use too. The answer was for this code to be inserted at the right place
Code:
$text = excerpt_remove_blocks( $text );
Comment