JSFiddle - React, Tailwind, and code Playground
by phej
HTML
<div class="container">
<div class="wrapper">
<p>Test</p>
<p>Another Test</p>
<p>A third test</p>
<p>Test</p>
<p>Another Test</p>
<p>A third test</p>
</div>
</div>
JavaScript
$('.wrapper p').eq(1).after('<div class="testing"><p>Testing</p><?php wds_social_media_icons(); ?></div>');