Hello,
I could reproduce the issue on my setup with the ESSB plugin. The get_the_excerpt() function used in the Rank Math schema feature is conflicting with the ESSB plugin.
I’ve forwarded this issue to our Development team, they will further debug the issue and fix it in the upcoming update.
For now, to fix it on your site, I replaced the code on line 484 in seo-by-rank-math/includes/modules/rich-snippet/class-jsonld.php :
replaced:
'excerpt' => wp_strip_all_tags( get_the_excerpt(), true ),
with:
'excerpt' => Helper::replace_vars( '%excerpt%', $this->post ),
The social icons are now showing in the posts.
Hope that helps. Thank you.
Thank you very much for your help. I confirm that now all is good. I have also applied a fix to my other site which also had an issue with ESSB and RankMath.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.