I'm trying to add a custom widget bar to my comment_template.php file, placed next to the textarea html tag. The relevant section of the file is here:
The line of code used to call my widget bar in a standard index.php file is this:
<div id="widgets2"><?php dynamic_sidebar( 'widgets2' ); ?></div>
However, since the part of the comments_template.php file that creates the comment textarea section of the html is part of a PHP array, I can't use php tags to call the function the way I usually would. Given my limited PHP experience, I need to know the correct syntax to integrate the sidebar into the template file, ideally immediately preceding the "textarea" html tag near the top of the code block above. Any help would be appreciated.