How to Make widget area on place of comment

You should place this code into the file which is responsible for showing page (or kind of pages). Bracket with ‘ ‘ consist name of widget you have registered. It will call function from functions.php

 <?php if ( is_active_sidebar( 'widget' ) ) : ?>
        <?php dynamic_sidebar( 'widget' ); ?>
    <?php endif; ?>

Best Regards

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)