I am trying to insert my
<?php previous_post_smart('%link', 'next'); ?> and
<?php next_post_smart('%link', 'previous'); ?> links in-between two areas in the content section of all my single.php posts. In my template I can choose between putting these tags after all the content of before it, but not in the middle.
$('#singleheadingdescription').append("<div id="nextPrevContainer"><span class="prev"><?php previous_post_smart('%link', 'next'); ?></span><span class="next"><?php next_post_smart('%link', 'previous'); ?></span></div> ");